mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-30 13:26:58 +00:00
Add support for textured cool plate (#6860)
support textured cool plate
This commit is contained in:
@@ -258,6 +258,7 @@ enum BedType {
|
||||
btEP,
|
||||
btPEI,
|
||||
btPTE,
|
||||
btPCT,
|
||||
btCount
|
||||
};
|
||||
|
||||
@@ -324,6 +325,9 @@ static std::string bed_type_to_gcode_string(const BedType type)
|
||||
case btPC:
|
||||
type_str = "cool_plate";
|
||||
break;
|
||||
case btPCT:
|
||||
type_str = "textured_cool_plate";
|
||||
break;
|
||||
case btEP:
|
||||
type_str = "eng_plate";
|
||||
break;
|
||||
@@ -346,6 +350,9 @@ static std::string get_bed_temp_key(const BedType type)
|
||||
if (type == btPC)
|
||||
return "cool_plate_temp";
|
||||
|
||||
if (type == btPCT)
|
||||
return "textured_cool_plate_temp";
|
||||
|
||||
if (type == btEP)
|
||||
return "eng_plate_temp";
|
||||
|
||||
@@ -363,6 +370,9 @@ static std::string get_bed_temp_1st_layer_key(const BedType type)
|
||||
if (type == btPC)
|
||||
return "cool_plate_temp_initial_layer";
|
||||
|
||||
if (type == btPCT)
|
||||
return "textured_cool_plate_temp_initial_layer";
|
||||
|
||||
if (type == btEP)
|
||||
return "eng_plate_temp_initial_layer";
|
||||
|
||||
@@ -1172,10 +1182,12 @@ PRINT_CONFIG_CLASS_DERIVED_DEFINE(
|
||||
((ConfigOptionString, bed_custom_model))
|
||||
((ConfigOptionEnum<BedType>, curr_bed_type))
|
||||
((ConfigOptionInts, cool_plate_temp))
|
||||
((ConfigOptionInts, textured_cool_plate_temp))
|
||||
((ConfigOptionInts, eng_plate_temp))
|
||||
((ConfigOptionInts, hot_plate_temp)) // hot is short for high temperature
|
||||
((ConfigOptionInts, textured_plate_temp))
|
||||
((ConfigOptionInts, cool_plate_temp_initial_layer))
|
||||
((ConfigOptionInts, textured_cool_plate_temp_initial_layer))
|
||||
((ConfigOptionInts, eng_plate_temp_initial_layer))
|
||||
((ConfigOptionInts, hot_plate_temp_initial_layer)) // hot is short for high temperature
|
||||
((ConfigOptionInts, textured_plate_temp_initial_layer))
|
||||
|
||||
Reference in New Issue
Block a user