diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2022-01-06 15:01:49 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2022-01-17 14:29:46 +0300 |
commit | 658f01b64b02104979069c2ed5d1f3850c982656 (patch) | |
tree | 23394825373803a359ed52b02c2079fd23cac560 /src/libslic3r/PrintConfig.cpp | |
parent | c54b8908dddd2f2d72188a5d9524c4cdf5f1468a (diff) |
WIP: G-code find / replace using a new gcode_substitutions PrintConfig
parameter.
Diffstat (limited to 'src/libslic3r/PrintConfig.cpp')
-rw-r--r-- | src/libslic3r/PrintConfig.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 2048dc66e..b1a25829b 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -1357,6 +1357,12 @@ void PrintConfigDef::init_fff_params() def->mode = comAdvanced; def->set_default_value(new ConfigOptionBool(0)); + def = this->add("gcode_substitutions", coStrings); + def->label = L("G-code substitutions"); + def->tooltip = L("Find / replace patterns in G-code lines and substitute them."); + def->mode = comExpert; + def->set_default_value(new ConfigOptionStrings()); + def = this->add("high_current_on_filament_swap", coBool); def->label = L("High extruder current on filament swap"); def->tooltip = L("It may be beneficial to increase the extruder motor current during the filament exchange" |