SS port - Change extrusion role gcode (#2459)

implement custom gcode for when the extrusion role is changed

Co-authored-by: supermerill <merill@free.fr>
This commit is contained in:
Ocraftyone 2023-11-09 09:30:30 -05:00 committed by GitHub
parent 1b53d1b72d
commit 120a3576a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 66 additions and 1 deletions

View file

@ -3970,6 +3970,15 @@ def = this->add("filament_loading_speed", coFloats);
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionString(""));
def = this->add("change_extrusion_role_gcode", coString);
def->label = L("Change extrusion role G-code");
def->tooltip = L("This gcode is inserted when the extrusion role is changed");
def->multiline = true;
def->full_width = true;
def->height = 5;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionString(""));
def = this->add("top_surface_line_width", coFloatOrPercent);
def->label = L("Top surface");
def->category = L("Quality");