mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-02-03 01:18:44 +03:00
update bed exclude area
This commit is contained in:
@@ -529,7 +529,7 @@ static std::vector<std::string> s_Preset_printer_options {
|
||||
"remaining_times", "silent_mode",
|
||||
"machine_limits_usage", "thumbnails", "thumbnails_format",
|
||||
//Y20
|
||||
"bed_exclude_area",
|
||||
"bed_exclude_area_0", "bed_exclude_area_1",
|
||||
//Y16
|
||||
"chamber_temperature", "auxiliary_fan", "chamber_fan"
|
||||
};
|
||||
@@ -1341,7 +1341,8 @@ static const std::set<std::string> independent_from_extruder_number_options = {
|
||||
"gcode_substitutions",
|
||||
"post_process",
|
||||
//Y20
|
||||
"bed_exclude_area",
|
||||
"bed_exclude_area_0",
|
||||
"bed_exclude_area_1",
|
||||
};
|
||||
|
||||
bool PresetCollection::is_independent_from_extruder_number_option(const std::string& opt_key)
|
||||
|
||||
@@ -61,7 +61,8 @@ bool Print::invalidate_state_by_config_options(const ConfigOptionResolver & /* n
|
||||
"avoid_crossing_perimeters",
|
||||
"avoid_crossing_perimeters_max_detour",
|
||||
//Y20
|
||||
"bed_exclude_area",
|
||||
"bed_exclude_area_0",
|
||||
"bed_exclude_area_1",
|
||||
"bed_shape",
|
||||
"bed_temperature",
|
||||
"before_layer_gcode",
|
||||
|
||||
@@ -272,8 +272,13 @@ void PrintConfigDef::init_common_params()
|
||||
def->set_default_value(new ConfigOptionPoints{ Vec2d(0, 0), Vec2d(200, 0), Vec2d(200, 200), Vec2d(0, 200) });
|
||||
|
||||
//Y20
|
||||
def = this->add("bed_exclude_area", coPoints);
|
||||
def->label = L("Bed exclude area");
|
||||
def = this->add("bed_exclude_area_0", coPoints);
|
||||
def->label = L("Bed exclude area 1");
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionPoints{ Vec2d(0, 0) });
|
||||
|
||||
def = this->add("bed_exclude_area_1", coPoints);
|
||||
def->label = L("Bed exclude area 2");
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionPoints{ Vec2d(0, 0) });
|
||||
|
||||
|
||||
@@ -789,7 +789,8 @@ PRINT_CONFIG_CLASS_DERIVED_DEFINE(
|
||||
((ConfigOptionFloatOrPercent, avoid_crossing_perimeters_max_detour))
|
||||
((ConfigOptionPoints, bed_shape))
|
||||
//Y20
|
||||
((ConfigOptionPoints, bed_exclude_area))
|
||||
((ConfigOptionPoints, bed_exclude_area_0))
|
||||
((ConfigOptionPoints, bed_exclude_area_1))
|
||||
((ConfigOptionInts, bed_temperature))
|
||||
//Y16
|
||||
((ConfigOptionBool, chamber_temperature))
|
||||
|
||||
Reference in New Issue
Block a user