mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
Initial integration of the Prusa MultiMatrial Wipe Tower.
This commit is contained in:
parent
74346efccb
commit
c22b6edeeb
11 changed files with 922 additions and 439 deletions
|
@ -354,6 +354,37 @@ PrintConfigDef::PrintConfigDef()
|
|||
def->default_value = opt;
|
||||
}
|
||||
|
||||
def = this->add("filament_type", coStrings);
|
||||
def->label = "Filament type";
|
||||
def->tooltip = "If you want to process the output G-code through custom scripts, just list their absolute paths here. Separate multiple scripts with a semicolon. Scripts will be passed the absolute path to the G-code file as the first argument, and they can access the Slic3r config settings by reading environment variables.";
|
||||
def->cli = "filament_type=s@";
|
||||
def->gui_type = "f_enum_open";
|
||||
def->gui_flags = "show_value";
|
||||
def->enum_values.push_back("PLA");
|
||||
def->enum_values.push_back("ABS");
|
||||
def->enum_values.push_back("PET");
|
||||
def->enum_values.push_back("HIPS");
|
||||
def->enum_values.push_back("FLEX");
|
||||
def->enum_values.push_back("SCAFF");
|
||||
def->enum_values.push_back("EDGE");
|
||||
def->enum_values.push_back("NGEN");
|
||||
def->enum_values.push_back("PVA");
|
||||
{
|
||||
ConfigOptionStrings* opt = new ConfigOptionStrings();
|
||||
opt->values.push_back("PLA");
|
||||
def->default_value = opt;
|
||||
}
|
||||
|
||||
def = this->add("filament_soluble", coBools);
|
||||
def->label = "Soluble material";
|
||||
def->tooltip = "Soluble material is most likely used for a soluble support.";
|
||||
def->cli = "filament-soluble!";
|
||||
{
|
||||
ConfigOptionBools* opt = new ConfigOptionBools();
|
||||
opt->values.push_back(false);
|
||||
def->default_value = opt;
|
||||
}
|
||||
|
||||
def = this->add("filament_cost", coFloats);
|
||||
def->label = "Cost";
|
||||
def->tooltip = "Enter your filament cost per kg here. This is only for statistical information.";
|
||||
|
@ -1168,6 +1199,12 @@ PrintConfigDef::PrintConfigDef()
|
|||
def->height = 120;
|
||||
def->default_value = new ConfigOptionString("G28 ; home all axes\nG1 Z5 F5000 ; lift nozzle\n");
|
||||
|
||||
def = this->add("single_extruder_multi_material", coBool);
|
||||
def->label = "Single Extruder Multi Material";
|
||||
def->tooltip = "The printer multiplexes filaments into a single hot end.";
|
||||
def->cli = "single-extruder-multi-material!";
|
||||
def->default_value = new ConfigOptionBool(false);
|
||||
|
||||
def = this->add("support_material", coBool);
|
||||
def->label = "Generate support material";
|
||||
def->category = "Support material";
|
||||
|
@ -1454,6 +1491,40 @@ PrintConfigDef::PrintConfigDef()
|
|||
def->default_value = opt;
|
||||
}
|
||||
|
||||
def = this->add("wipe_tower", coBool);
|
||||
def->label = "Enable";
|
||||
def->tooltip = "Multi material printers may need to prime or purge extruders on tool changes. Extrude the excess material into the wipe tower.";
|
||||
def->cli = "wipe-tower!";
|
||||
def->default_value = new ConfigOptionBool(false);
|
||||
|
||||
def = this->add("wipe_tower_x", coFloat);
|
||||
def->label = "Position X";
|
||||
def->tooltip = "X coordinate of the left front corner of a wipe tower";
|
||||
def->sidetext = "mm";
|
||||
def->cli = "wipe-tower-x=f";
|
||||
def->default_value = new ConfigOptionFloat(180.);
|
||||
|
||||
def = this->add("wipe_tower_y", coFloat);
|
||||
def->label = "Position Y";
|
||||
def->tooltip = "Y coordinate of the left front corner of a wipe tower";
|
||||
def->sidetext = "mm";
|
||||
def->cli = "wipe-tower-y=f";
|
||||
def->default_value = new ConfigOptionFloat(140.);
|
||||
|
||||
def = this->add("wipe_tower_width", coFloat);
|
||||
def->label = "Width";
|
||||
def->tooltip = "Width of a wipe tower";
|
||||
def->sidetext = "mm";
|
||||
def->cli = "wipe-tower-width=f";
|
||||
def->default_value = new ConfigOptionFloat(60.);
|
||||
|
||||
def = this->add("wipe_tower_per_color_wipe", coFloat);
|
||||
def->label = "Per color change depth";
|
||||
def->tooltip = "Depth of a wipe color per color change. For N colors, there will be maximum (N-1) tool switches performed, therefore the total depth of the wipe tower will be (N-1) times this value.";
|
||||
def->sidetext = "mm";
|
||||
def->cli = "wipe-tower-per-color-wipe=f";
|
||||
def->default_value = new ConfigOptionFloat(15.);
|
||||
|
||||
def = this->add("xy_size_compensation", coFloat);
|
||||
def->label = "XY Size Compensation";
|
||||
def->category = "Advanced";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue