Add "Manual filament change" option and logic (#2379)

* Add "Manual filament change" option and logic

* make suggested changes

* make suggested changes

* change tag from "CHANGE_TOOL" to "MANUAL_TOOL_CHANGE"

* some tweaks

* More fixes

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
Co-authored-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
This commit is contained in:
Ocraftyone 2023-10-22 07:31:09 -04:00 committed by GitHub
parent 90601c098a
commit f84e94faf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 32 additions and 5 deletions

View file

@ -3367,6 +3367,14 @@ def = this->add("filament_loading_speed", coFloats);
def->readonly = true;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("manual_filament_change", coBool);
def->label = L("Manual Filament Change");
def->tooltip = L("Enable this option to omit the custom Change filament G-code only at the beginning of the print. "
"The tool change command (e.g., T0) will be skipped throughout the entire print. "
"This is useful for manual multi-material printing, where we use M600/PAUSE to trigger the manual filament change action.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("purge_in_prime_tower", coBool);
def->label = L("Purge in prime tower");
def->tooltip = L("Purge remaining filament into prime tower");