mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 16:21:24 -06:00
Removed print_center option (but left --print-center from CLI)
This commit is contained in:
parent
4d8ecccc5e
commit
928335f186
15 changed files with 54 additions and 53 deletions
|
@ -464,7 +464,6 @@ Print::invalidate_state_by_config_options(const std::vector<t_config_option_key>
|
|||
|| *opt_key == "output_filename_format"
|
||||
|| *opt_key == "perimeter_acceleration"
|
||||
|| *opt_key == "post_process"
|
||||
|| *opt_key == "print_center"
|
||||
|| *opt_key == "retract_before_travel"
|
||||
|| *opt_key == "retract_layer_change"
|
||||
|| *opt_key == "retract_length"
|
||||
|
|
|
@ -546,12 +546,6 @@ PrintConfigDef::build_def() {
|
|||
Options["post_process"].full_width = true;
|
||||
Options["post_process"].height = 60;
|
||||
|
||||
Options["print_center"].type = coPoint;
|
||||
Options["print_center"].label = "Print center";
|
||||
Options["print_center"].tooltip = "These G-code coordinates are used to center your plater viewport.";
|
||||
Options["print_center"].sidetext = "mm";
|
||||
Options["print_center"].cli = "print-center=s";
|
||||
|
||||
Options["raft_layers"].type = coInt;
|
||||
Options["raft_layers"].label = "Raft layers";
|
||||
Options["raft_layers"].category = "Support material";
|
||||
|
|
|
@ -349,7 +349,6 @@ class PrintConfig : public virtual StaticPrintConfig
|
|||
ConfigOptionString output_filename_format;
|
||||
ConfigOptionFloat perimeter_acceleration;
|
||||
ConfigOptionStrings post_process;
|
||||
ConfigOptionPoint print_center;
|
||||
ConfigOptionFloat resolution;
|
||||
ConfigOptionFloats retract_before_travel;
|
||||
ConfigOptionBools retract_layer_change;
|
||||
|
@ -429,7 +428,6 @@ class PrintConfig : public virtual StaticPrintConfig
|
|||
this->ooze_prevention.value = false;
|
||||
this->output_filename_format.value = "[input_filename_base].gcode";
|
||||
this->perimeter_acceleration.value = 0;
|
||||
this->print_center.point = Pointf(100,100);
|
||||
this->resolution.value = 0;
|
||||
this->retract_before_travel.values.resize(1);
|
||||
this->retract_before_travel.values[0] = 2;
|
||||
|
@ -511,7 +509,6 @@ class PrintConfig : public virtual StaticPrintConfig
|
|||
if (opt_key == "output_filename_format") return &this->output_filename_format;
|
||||
if (opt_key == "perimeter_acceleration") return &this->perimeter_acceleration;
|
||||
if (opt_key == "post_process") return &this->post_process;
|
||||
if (opt_key == "print_center") return &this->print_center;
|
||||
if (opt_key == "resolution") return &this->resolution;
|
||||
if (opt_key == "retract_before_travel") return &this->retract_before_travel;
|
||||
if (opt_key == "retract_layer_change") return &this->retract_layer_change;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue