mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
ENH: add ConfigOptionPointsGroups
1.Add extruder printable area jira:NONE Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I753344917a67e3d8ac361c15c3d374b5ef951d21 (cherry picked from commit 92fa0ff010f9ee8dee24f4c00b5217f92ecb04f6)
This commit is contained in:
@@ -584,6 +584,12 @@ void PrintConfigDef::init_common_params()
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionPoints{ Vec2d(0, 0), Vec2d(200, 0), Vec2d(200, 200), Vec2d(0, 200) });
|
||||
|
||||
def = this->add("extruder_printable_area", coPointsGroups);
|
||||
def->label = L("Extruder printable area");
|
||||
def->mode = comAdvanced;
|
||||
def->gui_type = ConfigOptionDef::GUIType::one_string;
|
||||
def->set_default_value(new ConfigOptionPointsGroups{ { Vec2d(0, 0), Vec2d(200, 0), Vec2d(200, 200), Vec2d(0, 200) } });
|
||||
|
||||
//BBS: add "bed_exclude_area"
|
||||
def = this->add("bed_exclude_area", coPoints);
|
||||
def->label = L("Bed exclude area");
|
||||
@@ -7233,6 +7239,7 @@ std::set<std::string> printer_extruder_options = {
|
||||
"extruder_type",
|
||||
"nozzle_diameter",
|
||||
"nozzle_volume_type",
|
||||
"extruder_printable_area",
|
||||
"min_layer_height",
|
||||
"max_layer_height"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user