Files
OrcaSlicer/codegen/generated/PrintConfigDef_generated.cpp
2026-05-27 09:53:55 +03:00

5532 lines
288 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// ===== AUTO-GENERATED by tools/config_codegen.py =====
// DO NOT EDIT MANUALLY. Edit .proto files and re-run codegen.
def = this->add("filament_end_gcode", coStrings);
def->label = L("End G-code");
def->category = L("Filament/Advanced");
def->tooltip = L("End G-code when finishing the printing of this filament.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 120;
def->set_default_value(new ConfigOptionStrings{" "});
def = this->add("filament_start_gcode", coStrings);
def->label = L("Start G-code");
def->category = L("Filament/Advanced");
def->tooltip = L("Start G-code when starting the printing of this filament.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 12;
def->set_default_value(new ConfigOptionStrings{" "});
def = this->add("filament_change_extrusion_role_gcode", coStrings);
def->label = L("Change extrusion role G-code (filament)");
def->category = L("Filament/Advanced");
def->tooltip = L("This G-code is inserted when the extrusion role is changed for the active filament.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 5;
def->set_default_value(new ConfigOptionStrings{""});
def = this->add("enable_overhang_bridge_fan", coBools);
def->label = L("Force cooling for overhangs and bridges");
def->category = L("Filament/Cooling");
def->tooltip = L("Enable this option to allow adjustment of the part cooling fan speed for specifically for overhangs, internal and external bridges. Setting the fan speed specifically for these features can improve overall print quality and reduce warping.");
def->set_default_value(new ConfigOptionBools{true});
def = this->add("overhang_fan_speed", coInts);
def->label = L("Overhangs and external bridges fan speed");
def->category = L("Filament/Cooling");
def->tooltip = L("Use this part cooling fan speed when printing bridges or overhang walls with an overhang threshold that exceeds the value set in the 'Overhangs cooling threshold' parameter above. Increasing the cooling specifically for overhangs and bridges can improve the overall print quality of these features.\n\nPlease note, this fan speed is clamped on the lower end by the minimum fan speed threshold set above. It is also adjusted upwards up to the maximum fan speed threshold when the minimum layer time threshold is not met.");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInts{100});
def = this->add("overhang_fan_threshold", coEnums);
def->label = L("Overhang cooling activation threshold");
def->category = L("Filament/Cooling");
def->tooltip = L("When the overhang exceeds this specified threshold, force the cooling fan to run at the 'Overhang Fan Speed' set below. This threshold is expressed as a percentage, indicating the portion of each line's width that is unsupported by the layer beneath it. Setting this value to 0% forces the cooling fan to run for all outer walls, regardless of the overhang degree.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<OverhangFanThreshold>::get_enum_values();
def->enum_values.push_back("0%");
def->enum_values.push_back("10%");
def->enum_values.push_back("25%");
def->enum_values.push_back("50%");
def->enum_values.push_back("75%");
def->enum_values.push_back("95%");
def->enum_labels.push_back(L("0%"));
def->enum_labels.push_back(L("10%"));
def->enum_labels.push_back(L("25%"));
def->enum_labels.push_back(L("50%"));
def->enum_labels.push_back(L("75%"));
def->enum_labels.push_back(L("95%"));
def->set_default_value(new ConfigOptionEnumsGeneric{ (int)Overhang_threshold_bridge });
def = this->add("slow_down_for_layer_cooling", coBools);
def->label = L("Slow printing down for better layer cooling");
def->category = L("Filament/Cooling");
def->tooltip = L("Enable this option to slow printing speed down to make the final layer time not shorter than the layer time threshold in \"Max fan speed threshold\", so that layer can be cooled for longer time. This can improve the cooling quality for needle and small details.");
def->set_default_value(new ConfigOptionBools{true});
def = this->add("activate_air_filtration", coBools);
def->label = L("Activate air filtration");
def->category = L("Filament/Cooling");
def->tooltip = L("Activate for better air filtration. G-code command: M106 P3 S(0-255)");
def->set_default_value(new ConfigOptionBools{false});
def = this->add("activate_air_filtration_during_print", coBools);
def->full_label = L("During print");
def->category = L("Filament/Cooling");
def->tooltip = L("Enable this to override the fan speed set in custom G-code during print.");
def->set_default_value(new ConfigOptionBools{true});
def = this->add("activate_air_filtration_on_completion", coBools);
def->full_label = L("On completion");
def->category = L("Filament/Cooling");
def->tooltip = L("Enable this to override the fan speed set in custom G-code after print completion.");
def->set_default_value(new ConfigOptionBools{true});
def = this->add("during_print_exhaust_fan_speed", coInts);
def->label = L("Fan speed");
def->category = L("Filament/Cooling");
def->tooltip = L("Speed of exhaust fan during printing. This speed will override the speed in filament custom G-code.");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->set_default_value(new ConfigOptionInts{60});
def = this->add("complete_print_exhaust_fan_speed", coInts);
def->label = L("Fan speed");
def->category = L("Filament/Cooling");
def->tooltip = L("Speed of exhaust fan after printing completes.");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->set_default_value(new ConfigOptionInts{80});
def = this->add("close_fan_the_first_x_layers", coInts);
def->label = L("No cooling for the first");
def->category = L("Filament/Cooling");
def->tooltip = L("Turn off all cooling fans for the first few layers. This can be used to improve build plate adhesion.");
def->sidetext = L("layers");
def->min = 0;
def->max = 1000;
def->set_default_value(new ConfigOptionInts{1});
def = this->add("reduce_fan_stop_start_freq", coBools);
def->label = L("Keep fan always on");
def->category = L("Filament/Cooling");
def->tooltip = L("Enabling this setting means that the part cooling fan will never stop completely and will run at least at minimum speed to reduce the frequency of starting and stopping.");
def->set_default_value(new ConfigOptionBools{false});
def = this->add("dont_slow_down_outer_wall", coBools);
def->label = L("Don't slow down outer walls");
def->category = L("Filament/Cooling");
def->tooltip = L("If enabled, this setting will ensure external perimeters are not slowed down to meet the minimum layer time. This is particularly helpful in the below scenarios:\n1. To avoid changes in shine when printing glossy filaments\n2. To avoid changes in external wall speed which may create slight wall artifacts that appear like Z banding\n3. To avoid printing at speeds which cause VFAs (fine artifacts) on the external walls");
def->set_default_value(new ConfigOptionBools{false});
def = this->add("fan_cooling_layer_time", coFloats);
def->label = L("Layer time");
def->category = L("Filament/Cooling");
def->tooltip = L("Part cooling fan will be enabled for layers of which estimated time is shorter than this value. Fan speed is interpolated between the minimum and maximum fan speeds according to layer printing time.");
def->sidetext = L("s");
def->min = 0;
def->max = 1000;
def->set_default_value(new ConfigOptionFloats{60.0f});
def = this->add("full_fan_speed_layer", coInts);
def->label = L("Full fan speed at layer");
def->category = L("Filament/Cooling");
def->tooltip = L("Fan speed will be ramped up linearly from zero at layer \"close_fan_the_first_x_layers\" to maximum at layer \"full_fan_speed_layer\". \"full_fan_speed_layer\" will be ignored if lower than \"close_fan_the_first_x_layers\", in which case the fan will be running at maximum allowed speed at layer \"close_fan_the_first_x_layers\" + 1.");
def->sidetext = L("layer");
def->min = 0;
def->max = 1000;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInts{0});
def = this->add("support_material_interface_fan_speed", coInts);
def->label = L("Support interface fan speed");
def->category = L("Filament/Cooling");
def->tooltip = L("This part cooling fan speed is applied when printing support interfaces. Setting this parameter to a higher than regular speed reduces the layer binding strength between supports and the supported part, making them easier to separate.\nSet to -1 to disable it.\nThis setting is overridden by disable_fan_first_layers.");
def->sidetext = L("%");
def->min = -1;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInts{-1});
def = this->add("internal_bridge_fan_speed", coInts);
def->label = L("Internal bridges fan speed");
def->category = L("Filament/Cooling");
def->tooltip = L("The part cooling fan speed used for all internal bridges. Set to -1 to use the overhang fan speed settings instead.\n\nReducing the internal bridges fan speed, compared to your regular fan speed, can help reduce part warping due to excessive cooling applied over a large surface for a prolonged period of time.");
def->sidetext = L("%");
def->min = -1;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInts{-1});
def = this->add("ironing_fan_speed", coInts);
def->label = L("Ironing fan speed");
def->category = L("Filament/Cooling");
def->tooltip = L("This part cooling fan speed is applied when ironing. Setting this parameter to a lower than regular speed reduces possible nozzle clogging due to the low volumetric flow rate, making the interface smoother.\nSet to -1 to disable it.");
def->sidetext = L("%");
def->min = -1;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInts{-1});
def = this->add("fan_max_speed", coFloats);
def->label = L("Fan speed");
def->category = L("Filament/Cooling");
def->tooltip = L("Part cooling fan speed may be increased when auto cooling is enabled. This is the maximum speed for the part cooling fan.");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->set_default_value(new ConfigOptionFloats{100});
def = this->add("fan_min_speed", coFloats);
def->label = L("Fan speed");
def->category = L("Filament/Cooling");
def->tooltip = L("Minimum speed for part cooling fan.");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->set_default_value(new ConfigOptionFloats{20});
def = this->add("additional_cooling_fan_speed", coInts);
def->label = L("Fan speed");
def->category = L("Filament/Cooling");
def->tooltip = L("Speed of auxiliary part cooling fan. Auxiliary fan will run at this speed during printing except the first several layers which is defined by no cooling layers.\nPlease enable auxiliary_fan in printer settings to use this feature. G-code command: M106 P2 S(0-255)");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->set_default_value(new ConfigOptionInts{0});
def = this->add("slow_down_min_speed", coFloats);
def->label = L("Min print speed");
def->category = L("Filament/Cooling");
def->tooltip = L("The minimum print speed to which the printer slows down to maintain the minimum layer time defined above when the slowdown for better layer cooling is enabled.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{10.});
def = this->add("slow_down_layer_time", coFloats);
def->label = L("Layer time");
def->category = L("Filament/Cooling");
def->tooltip = L("The printing speed in exported G-code will be slowed down when the estimated layer time is shorter than this value in order to get better cooling for these layers.");
def->sidetext = L("s");
def->min = 0;
def->max = 1000;
def->set_default_value(new ConfigOptionFloats{5.0f});
def = this->add("compatible_printers_condition", coString);
def->label = L("Condition");
def->category = L("Filament/Dependencies");
def->tooltip = L("A boolean expression using the configuration values of an active printer profile. If this expression evaluates to true, this profile is considered compatible with the active printer profile.");
def->mode = comAdvanced;
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionString());
def = this->add("compatible_prints_condition", coString);
def->label = L("Condition");
def->category = L("Filament/Dependencies");
def->tooltip = L("A boolean expression using the configuration values of an active print profile. If this expression evaluates to true, this profile is considered compatible with the active print profile.");
def->mode = comAdvanced;
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionString());
def = this->add("supertack_plate_temp", coInts);
def->label = L("Other layers");
def->full_label = L("Bed temperature");
def->category = L("Filament/Filament");
def->tooltip = L("Bed temperature for layers except the initial one. A value of 0 means the filament does not support printing on the Cool Plate SuperTack.");
def->sidetext = L("\u2103");
def->min = 0;
def->max = 120;
def->set_default_value(new ConfigOptionInts{35});
def = this->add("cool_plate_temp", coInts);
def->label = L("Other layers");
def->full_label = L("Bed temperature");
def->category = L("Filament/Filament");
def->tooltip = L("Bed temperature for layers except the initial one. A value of 0 means the filament does not support printing on the Cool Plate.");
def->sidetext = L("\u2103");
def->min = 0;
def->max = 300;
def->set_default_value(new ConfigOptionInts{35});
def = this->add("textured_cool_plate_temp", coInts);
def->label = L("Other layers");
def->full_label = L("Bed temperature");
def->category = L("Filament/Filament");
def->tooltip = L("Bed temperature for layers except the initial one. A value of 0 means the filament does not support printing on the Textured Cool Plate.");
def->sidetext = L("\u2103");
def->min = 0;
def->max = 300;
def->set_default_value(new ConfigOptionInts{40});
def = this->add("eng_plate_temp", coInts);
def->label = L("Other layers");
def->full_label = L("Bed temperature");
def->category = L("Filament/Filament");
def->tooltip = L("Bed temperature for layers except the initial one. A value of 0 means the filament does not support printing on the Engineering Plate.");
def->sidetext = L("\u2103");
def->min = 0;
def->max = 300;
def->set_default_value(new ConfigOptionInts{45});
def = this->add("hot_plate_temp", coInts);
def->label = L("Other layers");
def->full_label = L("Bed temperature");
def->category = L("Filament/Filament");
def->tooltip = L("Bed temperature for layers except the initial one. A value of 0 means the filament does not support printing on the High Temp Plate.");
def->sidetext = L("\u2103");
def->min = 0;
def->max = 300;
def->set_default_value(new ConfigOptionInts{45});
def = this->add("textured_plate_temp", coInts);
def->label = L("Other layers");
def->full_label = L("Bed temperature");
def->category = L("Filament/Filament");
def->tooltip = L("Bed temperature for layers except the initial one. A value of 0 means the filament does not support printing on the Textured PEI Plate.");
def->sidetext = L("\u2103");
def->min = 0;
def->max = 300;
def->set_default_value(new ConfigOptionInts{45});
def = this->add("supertack_plate_temp_initial_layer", coInts);
def->label = L("First layer");
def->full_label = L("First layer bed temperature");
def->category = L("Filament/Filament");
def->tooltip = L("Bed temperature of the first layer. A value of 0 means the filament does not support printing on the Cool Plate SuperTack.");
def->sidetext = L("\u2103");
def->min = 0;
def->max = 120;
def->set_default_value(new ConfigOptionInts{35});
def = this->add("cool_plate_temp_initial_layer", coInts);
def->label = L("First layer");
def->full_label = L("First layer bed temperature");
def->category = L("Filament/Filament");
def->tooltip = L("Bed temperature of the first layer. A value of 0 means the filament does not support printing on the Cool Plate.");
def->sidetext = L("\u2103");
def->min = 0;
def->max = 120;
def->set_default_value(new ConfigOptionInts{35});
def = this->add("textured_cool_plate_temp_initial_layer", coInts);
def->label = L("First layer");
def->full_label = L("First layer bed temperature");
def->category = L("Filament/Filament");
def->tooltip = L("Bed temperature of the first layer. A value of 0 means the filament does not support printing on the Textured Cool Plate.");
def->sidetext = L("\u2103");
def->min = 0;
def->max = 120;
def->set_default_value(new ConfigOptionInts{40});
def = this->add("eng_plate_temp_initial_layer", coInts);
def->label = L("First layer");
def->full_label = L("First layer bed temperature");
def->category = L("Filament/Filament");
def->tooltip = L("Bed temperature of the first layer. A value of 0 means the filament does not support printing on the Engineering Plate.");
def->sidetext = L("\u2103");
def->min = 0;
def->max = 300;
def->set_default_value(new ConfigOptionInts{45});
def = this->add("hot_plate_temp_initial_layer", coInts);
def->label = L("First layer");
def->full_label = L("First layer bed temperature");
def->category = L("Filament/Filament");
def->tooltip = L("Bed temperature of the first layer. A value of 0 means the filament does not support printing on the High Temp Plate.");
def->sidetext = L("\u2103");
def->max = 300;
def->set_default_value(new ConfigOptionInts{45});
def = this->add("textured_plate_temp_initial_layer", coInts);
def->label = L("First layer");
def->full_label = L("First layer bed temperature");
def->category = L("Filament/Filament");
def->tooltip = L("Bed temperature of the first layer. A value of 0 means the filament does not support printing on the Textured PEI Plate.");
def->sidetext = L("\u2103");
def->min = 0;
def->max = 300;
def->set_default_value(new ConfigOptionInts{45});
def = this->add("filament_flow_ratio", coFloats);
def->label = L("Flow ratio");
def->category = L("Filament/Filament");
def->tooltip = L("The material may have volumetric change after switching between molten and crystalline states. This setting changes all extrusion flow of this filament in G-code proportionally. The recommended value range is between 0.95 and 1.05. You may be able to tune this value to get a nice flat surface if there is slight overflow or underflow.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->nullable = true;
def->set_default_value(new ConfigOptionFloats{1.});
def = this->add("enable_pressure_advance", coBools);
def->label = L("Enable pressure advance");
def->category = L("Filament/Filament");
def->tooltip = L("Enable pressure advance, auto calibration result will be overwritten once enabled.");
def->set_default_value(new ConfigOptionBools{false});
def = this->add("pressure_advance", coFloats);
def->label = L("Pressure advance");
def->category = L("Filament/Filament");
def->tooltip = L("Pressure advance (Klipper) AKA Linear advance factor (Marlin).");
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.02});
def = this->add("adaptive_pressure_advance", coBools);
def->label = L("Enable adaptive pressure advance (beta)");
def->category = L("Filament/Filament");
def->tooltip = L("With increasing print speeds (and hence increasing volumetric flow through the nozzle) and increasing accelerations, it has been observed that the effective PA value typically decreases. This means that a single PA value is not always 100% optimal for all features and a compromise value is usually used that does not cause too much bulging on features with lower flow speed and accelerations while also not causing gaps on faster features.\n\nThis feature aims to address this limitation by modeling the response of your printer's extrusion system depending on the volumetric flow speed and acceleration it is printing at. Internally, it generates a fitted model that can extrapolate the needed pressure advance for any given volumetric flow speed and acceleration, which is then emitted to the printer depending on the current print conditions.\n\nWhen enabled, the pressure advance value above is overridden. However, a reasonable default value above is strongly recommended to act as a fallback and for when tool changing.\n\n");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBools{false});
def = this->add("adaptive_pressure_advance_model", coStrings);
def->label = L("Adaptive pressure advance measurements (beta)");
def->category = L("Filament/Filament");
def->tooltip = L("Add sets of pressure advance (PA) values, the volumetric flow speeds and accelerations they were measured at, separated by a comma. One set of values per line. For example\n0.04,3.96,3000\n0.033,3.96,10000\n0.029,7.91,3000\n0.026,7.91,10000\n\nHow to calibrate:\n1. Run the pressure advance test for at least 3 speeds per acceleration value. It is recommended that the test is run for at least the speed of the external perimeters, the speed of the internal perimeters and the fastest feature print speed in your profile (usually its the sparse or solid infill). Then run them for the same speeds for the slowest and fastest print accelerations, and no faster than the recommended maximum acceleration as given by the Klipper input shaper\n2. Take note of the optimal PA value for each volumetric flow speed and acceleration. You can find the flow number by selecting flow from the color scheme drop down and move the horizontal slider over the PA pattern lines. The number should be visible at the bottom of the page. The ideal PA value should be decreasing the higher the volumetric flow is. If it is not, confirm that your extruder is functioning correctly. The slower and with less acceleration you print, the larger the range of acceptable PA values. If no difference is visible, use the PA value from the faster test\n3. Enter the triplets of PA values, Flow and Accelerations in the text box here and save your filament profile.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 15;
def->set_default_value(new ConfigOptionStrings{"0,0,0
0,0,0"});
def = this->add("adaptive_pressure_advance_overhangs", coBools);
def->label = L("Enable adaptive pressure advance for overhangs (beta)");
def->category = L("Filament/Filament");
def->tooltip = L("Enable adaptive PA for overhangs as well as when flow changes within the same feature. This is an experimental option, as if the PA profile is not set accurately, it will cause uniformity issues on the external surfaces before and after overhangs.\n");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBools{false});
def = this->add("adaptive_pressure_advance_bridges", coFloats);
def->label = L("Pressure advance for bridges");
def->category = L("Filament/Filament");
def->tooltip = L("Pressure advance value for bridges. Set to 0 to disable.\n\nA lower PA value when printing bridges helps reduce the appearance of slight under extrusion immediately after bridges. This is caused by the pressure drop in the nozzle when printing in the air and a lower PA helps counteract this.");
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.0});
def = this->add("default_filament_colour", coStrings);
def->label = L("Default color");
def->category = L("Filament/Filament");
def->tooltip = L("Default filament color.\nRight click to reset value to system default.");
def->mode = comAdvanced;
def->gui_type = ConfigOptionDef::GUIType::color;
def->set_default_value(new ConfigOptionStrings{""});
def = this->add("required_nozzle_HRC", coInts);
def->label = L("Required nozzle HRC");
def->category = L("Filament/Filament");
def->tooltip = L("Minimum HRC of nozzle required to print the filament. Zero means no checking of nozzle's HRC.");
def->min = 0;
def->max = 500;
def->mode = comDevelop;
def->set_default_value(new ConfigOptionInts{0});
def = this->add("filament_max_volumetric_speed", coFloats);
def->label = L("Max volumetric speed");
def->category = L("Filament/Filament");
def->tooltip = L("This setting stands for how much volume of filament can be melted and extruded per second. Printing speed is limited by max volumetric speed, in case of too high and unreasonable speed setting. Can't be zero.");
def->sidetext = L("mm³/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{2.});
def = this->add("filament_diameter", coFloats);
def->label = L("Diameter");
def->category = L("Filament/Filament");
def->tooltip = L("Filament diameter is used to calculate extrusion in G-code, so it is important and should be accurate.");
def->sidetext = L("mm");
def->min = 0;
def->set_default_value(new ConfigOptionFloats{1.75});
def = this->add("pellet_flow_coefficient", coFloats);
def->label = L("Pellet flow coefficient");
def->category = L("Filament/Filament");
def->tooltip = L("Pellet flow coefficient is empirically derived and allows for volume calculation for pellet printers.\n\nInternally it is converted to filament_diameter. All other volume calculations remain the same.\n\nfilament_diameter = sqrt( (4 * pellet_flow_coefficient) / PI )");
def->min = 0;
def->set_default_value(new ConfigOptionFloats{0.4157});
def = this->add("filament_adaptive_volumetric_speed", coBools);
def->label = L("Adaptive volumetric speed");
def->category = L("Filament/Filament");
def->tooltip = L("When enabled, the extrusion flow is limited by the smaller of the fitted value (calculated from line width and layer height) and the user-defined maximum flow. When disabled, only the user-defined maximum flow is applied.\n\nNote: Experimental and incomplete feature imported from BBS. Functional for some profiles that already have the variable saved.");
def->mode = comDevelop;
def->nullable = true;
def->set_default_value(new ConfigOptionBools{false});
def = this->add("filament_shrink", coPercents);
def->label = L("Shrinkage (XY)");
def->category = L("Filament/Filament");
def->tooltip = L("Enter the shrinkage percentage that the filament will get after cooling (94% if you measure 94mm instead of 100mm). The part will be scaled in XY to compensate. For multi-material prints, ensure filament shrinkage matches across all used filaments\nBe sure to allow enough space between objects, as this compensation is done after the checks.");
def->sidetext = L("%");
def->min = 50;
def->max = 150;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercents{100});
def = this->add("filament_shrinkage_compensation_z", coPercents);
def->label = L("Shrinkage (Z)");
def->category = L("Filament/Filament");
def->tooltip = L("Enter the shrinkage percentage that the filament will get after cooling (94% if you measure 94mm instead of 100mm). The part will be scaled in Z to compensate.");
def->sidetext = L("%");
def->min = 50;
def->max = 150;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercents{100});
def = this->add("filament_adhesiveness_category", coInts);
def->label = L("Adhesiveness Category");
def->category = L("Filament/Filament");
def->tooltip = L("Filament category.");
def->min = 0;
def->mode = comDevelop;
def->set_default_value(new ConfigOptionInts{0});
def = this->add("filament_density", coFloats);
def->label = L("Density");
def->category = L("Filament/Filament");
def->tooltip = L("Filament density. For statistics only.");
def->sidetext = L("g/cm³");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.});
def = this->add("filament_type", coStrings);
def->label = L("Type");
def->category = L("Filament/Filament");
def->tooltip = L("The material type of filament.");
def->gui_type = ConfigOptionDef::GUIType::f_enum_open;
def->gui_flags = "show_value";
def->set_default_value(new ConfigOptionStrings{"PLA"});
def = this->add("filament_soluble", coBools);
def->label = L("Soluble material");
def->category = L("Filament/Filament");
def->tooltip = L("Soluble material is commonly used to print supports and support interfaces.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBools{false});
def = this->add("filament_change_length", coFloats);
def->label = L("Filament ramming length");
def->category = L("Filament/Filament");
def->tooltip = L("When changing the extruder, it is recommended to extrude a certain length of filament from the original extruder. This helps minimize nozzle oozing.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{10});
def = this->add("filament_is_support", coBools);
def->label = L("Support material");
def->category = L("Filament/Filament");
def->tooltip = L("Support material is commonly used to print supports and support interfaces.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBools{false});
def = this->add("temperature_vitrification", coInts);
def->label = L("Softening temperature");
def->category = L("Filament/Filament");
def->tooltip = L("The material softens at this temperature, so when the bed temperature is equal to or greater than this, it's highly recommended to open the front door and/or remove the upper glass to avoid clogging.");
def->sidetext = L("\u2103");
def->set_default_value(new ConfigOptionInts{100});
def = this->add("filament_cost", coFloats);
def->label = L("Price");
def->category = L("Filament/Filament");
def->tooltip = L("Filament price. For statistics only.");
def->sidetext = L("money/kg");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.});
def = this->add("filament_vendor", coStrings);
def->label = L("Vendor");
def->category = L("Filament/Filament");
def->tooltip = L("Vendor of filament. For show only.");
def->mode = comAdvanced;
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings{L("(Undefined)")});
def = this->add("nozzle_temperature_initial_layer", coInts);
def->label = L("First layer");
def->full_label = L("First layer nozzle temperature");
def->category = L("Filament/Filament");
def->tooltip = L("Nozzle temperature for printing the first layer when using this filament.");
def->sidetext = L("\u2103");
def->min = 0;
def->set_default_value(new ConfigOptionInts{200});
def = this->add("activate_chamber_temp_control", coBools);
def->label = L("Activate temperature control");
def->category = L("Filament/Filament");
def->tooltip = L("Enable this option for automated chamber temperature control. This option activates the emitting of an M191 command before the \"machine_start_gcode\"\n which sets the chamber temperature and waits until it is reached. In addition, it emits an M141 command at the end of the print to turn off the chamber heater, if present.\n\nThis option relies on the firmware supporting the M191 and M141 commands either via macros or natively and is usually used when an active chamber heater is installed.");
def->set_default_value(new ConfigOptionBools{false});
def = this->add("chamber_temperature", coInts);
def->label = L("Chamber temperature");
def->full_label = L("Chamber temperature");
def->category = L("Filament/Filament");
def->tooltip = L("For high-temperature materials like ABS, ASA, PC, and PA, a higher chamber temperature can help suppress or reduce warping and potentially lead to higher interlayer bonding strength. However, at the same time, a higher chamber temperature will reduce the efficiency of air filtration for ABS and ASA.\n\nFor PLA, PETG, TPU, PVA, and other low-temperature materials, this option should be disabled (set to 0) as the chamber temperature should be low to avoid extruder clogging caused by material softening at the heat break.\n\nIf enabled, this parameter also sets a G-code variable named chamber_temperature, which can be used to pass the desired chamber temperature to your print start macro, or a heat soak macro like this: PRINT_START (other variables) CHAMBER_TEMP=[chamber_temperature]. This may be useful if your printer does not support M141/M191 commands, or if you desire to handle heat soaking in the print start macro if no active chamber heater is installed.");
def->sidetext = L("\u2103");
def->min = 0;
def->set_default_value(new ConfigOptionInts{0});
def = this->add("nozzle_temperature", coInts);
def->label = L("Other layers");
def->full_label = L("Nozzle temperature");
def->category = L("Filament/Filament");
def->tooltip = L("Nozzle temperature for layers after the initial one.");
def->sidetext = L("\u2103");
def->min = 0;
def->set_default_value(new ConfigOptionInts{200});
def = this->add("nozzle_temperature_range_low", coInts);
def->label = L("Min");
def->category = L("Filament/Filament");
def->sidetext = L("\u2103");
def->min = 0;
def->set_default_value(new ConfigOptionInts{190});
def = this->add("nozzle_temperature_range_high", coInts);
def->label = L("Max");
def->category = L("Filament/Filament");
def->sidetext = L("\u2103");
def->min = 0;
def->set_default_value(new ConfigOptionInts{240});
def = this->add("idle_temperature", coInts);
def->label = L("Idle temperature");
def->category = L("Filament/Filament");
def->tooltip = L("Nozzle temperature when the tool is currently not used in multi-tool setups. This is only used when 'Ooze prevention' is active in Print Settings. Set to 0 to disable.");
def->sidetext = L("\u2103");
def->min = 0;
def->set_default_value(new ConfigOptionInts{0});
def = this->add("filament_loading_speed", coFloats);
def->label = L("Loading speed");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Speed used for loading the filament on the wipe tower.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{28.});
def = this->add("filament_loading_speed_start", coFloats);
def->label = L("Loading speed at the start");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Speed used at the very beginning of loading phase.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{3.});
def = this->add("filament_unloading_speed", coFloats);
def->label = L("Unloading speed");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Speed used for unloading the filament on the wipe tower (does not affect initial part of unloading just after ramming).");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{90.});
def = this->add("filament_unloading_speed_start", coFloats);
def->label = L("Unloading speed at the start");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Speed used for unloading the tip of the filament immediately after ramming.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{100.});
def = this->add("filament_toolchange_delay", coFloats);
def->label = L("Delay after unloading");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Time to wait after the filament is unloaded. May help to get reliable tool changes with flexible materials that may need more time to shrink to original dimensions.");
def->sidetext = L("s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.});
def = this->add("filament_cooling_moves", coInts);
def->label = L("Number of cooling moves");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Filament is cooled by being moved back and forth in the cooling tubes. Specify desired number of these moves.");
def->min = 0;
def->max = 20;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInts{4});
def = this->add("filament_stamping_loading_speed", coFloats);
def->label = L("Stamping loading speed");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Speed used for stamping.");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.});
def = this->add("filament_stamping_distance", coFloats);
def->label = L("Stamping distance measured from the center of the cooling tube");
def->category = L("Filament/Multimaterial");
def->tooltip = L("If set to non-zero value, filament is moved toward the nozzle between the individual cooling moves (\"stamping\"). This option configures how long this movement should be before the filament is retracted again.");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.});
def = this->add("filament_cooling_initial_speed", coFloats);
def->label = L("Speed of the first cooling move");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Cooling moves are gradually accelerating beginning at this speed.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{2.2});
def = this->add("filament_minimal_purge_on_wipe_tower", coFloats);
def->label = L("Minimal purge on wipe tower");
def->category = L("Filament/Multimaterial");
def->tooltip = L("After a tool change, the exact position of the newly loaded filament inside the nozzle may not be known, and the filament pressure is likely not yet stable. Before purging the print head into an infill or a sacrificial object, Orca Slicer will always prime this amount of material into the wipe tower to produce successive infill or sacrificial object extrusions reliably.");
def->sidetext = L("mm³");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{15.});
def = this->add("filament_tower_interface_pre_extrusion_dist", coFloats);
def->label = L("Interface layer pre-extrusion distance");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Pre-extrusion distance for prime tower interface layer (where different materials meet).");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{10.});
def = this->add("filament_tower_interface_pre_extrusion_length", coFloats);
def->label = L("Interface layer pre-extrusion length");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Pre-extrusion length for prime tower interface layer (where different materials meet).");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.});
def = this->add("filament_tower_ironing_area", coFloats);
def->label = L("Tower ironing area");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Ironing area for prime tower interface layer (where different materials meet).");
def->sidetext = L("mm²");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{4.});
def = this->add("filament_tower_interface_purge_volume", coFloats);
def->label = L("Interface layer purge length");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Purge length for prime tower interface layer (where different materials meet).");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{20.});
def = this->add("filament_tower_interface_print_temp", coInts);
def->label = L("Interface layer print temperature");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Print temperature for prime tower interface layer (where different materials meet). If set to -1, use max recommended nozzle temperature.");
def->sidetext = L("\u2103");
def->min = -1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInts{-1});
def = this->add("filament_cooling_final_speed", coFloats);
def->label = L("Speed of the last cooling move");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Cooling moves are gradually accelerating towards this speed.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{3.4});
def = this->add("filament_multitool_ramming", coBools);
def->label = L("Enable ramming for multi-tool setups");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Perform ramming when using multi-tool printer (i.e. when the 'Single Extruder Multimaterial' in Printer Settings is unchecked). When checked, a small amount of filament is rapidly extruded on the wipe tower just before the tool change. This option is only used when the wipe tower is enabled.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBools{false});
def = this->add("filament_multitool_ramming_volume", coFloats);
def->label = L("Multi-tool ramming volume");
def->category = L("Filament/Multimaterial");
def->tooltip = L("The volume to be rammed before the tool change.");
def->sidetext = L("mm³");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{10.});
def = this->add("filament_multitool_ramming_flow", coFloats);
def->label = L("Multi-tool ramming flow");
def->category = L("Filament/Multimaterial");
def->tooltip = L("Flow used for ramming the filament before the tool change.");
def->sidetext = L("mm³/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{10.});
def = this->add("long_retractions_when_ec", coBools);
def->label = L("Long retraction when extruder change");
def->category = L("Filament/Multimaterial");
def->mode = comAdvanced;
def->nullable = true;
def->set_default_value(new ConfigOptionBools{false});
def = this->add("retraction_distances_when_ec", coFloats);
def->label = L("Retraction distance when extruder change");
def->category = L("Filament/Multimaterial");
def->sidetext = L("mm");
def->min = 0;
def->max = 10;
def->mode = comAdvanced;
def->nullable = true;
def->set_default_value(new ConfigOptionFloats{10});
def = this->add("filament_notes", coStrings);
def->label = L("Filament notes");
def->category = L("Filament/Notes");
def->tooltip = L("You can put your notes regarding the filament here.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 13;
def->set_default_value(new ConfigOptionStrings{""});
def = this->add("filament_ironing_flow", coPercents);
def->label = L("Ironing flow");
def->category = L("Quality");
def->tooltip = L("Filament-specific override for ironing flow. This allows you to customize the ironing flow for each filament type. Too high value results in overextrusion on the surface.");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->mode = comAdvanced;
def->nullable = true;
def->set_default_value(new ConfigOptionPercents{ConfigOptionPercentsNullable::nil_value()});
def = this->add("filament_ironing_spacing", coFloats);
def->label = L("Ironing line spacing");
def->category = L("Quality");
def->tooltip = L("Filament-specific override for ironing line spacing. This allows you to customize the spacing between ironing lines for each filament type.");
def->sidetext = L("mm");
def->min = 0;
def->max = 1;
def->mode = comAdvanced;
def->nullable = true;
def->set_default_value(new ConfigOptionFloats{ConfigOptionFloatsNullable::nil_value()});
def = this->add("filament_ironing_inset", coFloats);
def->label = L("Ironing inset");
def->category = L("Quality");
def->tooltip = L("Filament-specific override for ironing inset. This allows you to customize the distance to keep from the edges when ironing for each filament type.");
def->sidetext = L("mm");
def->min = 0;
def->max = 100;
def->mode = comAdvanced;
def->nullable = true;
def->set_default_value(new ConfigOptionFloats{ConfigOptionFloatsNullable::nil_value()});
def = this->add("filament_ironing_speed", coFloats);
def->label = L("Ironing speed");
def->category = L("Speed");
def->tooltip = L("Filament-specific override for ironing speed. This allows you to customize the print speed of ironing lines for each filament type.");
def->sidetext = L("mm/s");
def->min = 1;
def->mode = comAdvanced;
def->nullable = true;
def->set_default_value(new ConfigOptionFloats{ConfigOptionFloatsNullable::nil_value()});
def = this->add("filament_flush_volumetric_speed", coFloats);
def->label = L("Flush volumetric speed");
def->tooltip = L("Volumetric speed when flushing filament. 0 indicates the max volumetric speed.");
def->sidetext = L("mm³/s");
def->min = 0;
def->max = 200;
def->mode = comAdvanced;
def->nullable = true;
def->set_default_value(new ConfigOptionFloats{0});
def = this->add("filament_cooling_before_tower", coFloats);
def->label = L("Wipe tower cooling");
def->tooltip = L("Temperature drop before entering filament tower");
def->sidetext = L("\u2103");
def->mode = comDevelop;
def->nullable = true;
def->set_default_value(new ConfigOptionFloats{10.});
def = this->add("filament_printable", coInts);
def->label = L("Filament printable");
def->tooltip = L("The filament is printable in extruder.");
def->mode = comDevelop;
def->set_default_value(new ConfigOptionInts{3});
def = this->add("close_additional_fan_first_x_layers", coInts);
def->label = L("For the first");
def->tooltip = L("Set special auxiliary cooling fan for the first certain layers.");
def->sidetext = L("layers");
def->min = 0;
def->max = 1000;
def->set_default_value(new ConfigOptionInts{1});
def = this->add("additional_fan_full_speed_layer", coInts);
def->label = L("Full fan speed at layer");
def->tooltip = L("Auxiliary fan speed will be ramped up linearly from layer \"For the first\" to maximum at layer \"Full fan speed at layer\".\n\"Full fan speed at layer\" will be ignored if lower than \"For the first\", in which case the fan will run at maximum allowed speed at layer \"For the first\" + 1.");
def->min = 0;
def->max = 1000;
def->set_default_value(new ConfigOptionInts{0});
def = this->add("first_x_layer_fan_speed", coFloats);
def->label = L("Fan speed");
def->tooltip = L("Special auxiliary cooling fan speed, effective only for the first x layers.");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->set_default_value(new ConfigOptionFloats{0});
def = this->add("filament_extruder_variant", coStrings);
def->label = L("Filament's extruder variant");
def->tooltip = L("Filament's extruder variant.");
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings{"Direct Drive Standard"});
def = this->add("extruder", coInt);
def->label = L("Extruder");
def->category = L("Extruders");
def->mode = comAdvanced;
def->gui_type = ConfigOptionDef::GUIType::i_enum_open;
def->enum_labels.push_back(L("default"));
def->enum_labels.push_back(L("1"));
def->enum_labels.push_back(L("2"));
def->enum_labels.push_back(L("3"));
def->enum_labels.push_back(L("4"));
def->enum_labels.push_back(L("5"));
def = this->add("has_scarf_joint_seam", coBool);
def->full_label = L("Maximum jerk %1%");
def->category = L("Machine limits");
def->tooltip = L("Maximum jerk of the %1% axis");
def->sidetext = L("mm/s");
def->min = 0;
def->set_default_value(new ConfigOptionBool(axis.max_jerk));
def = this->add("machine_max_junction_deviation", coFloats);
def->full_label = L("Maximum Junction Deviation");
def->category = L("Machine limits");
def->tooltip = L("Maximum junction deviation (M205 J, only apply if JD > 0 for Marlin Firmware\nIf your Marlin 2 printer uses Classic Jerk set this value to 0.)");
def->sidetext = L("mm");
def->min = 0;
def->max = 0.3;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.01f});
def = this->add("machine_min_extruding_rate", coFloats);
def->full_label = L("Minimum speed for extruding");
def->category = L("Machine limits");
def->tooltip = L("Minimum speed for extruding (M205 S)");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comDevelop;
def->set_default_value(new ConfigOptionFloats{0., 0.});
def = this->add("machine_min_travel_rate", coFloats);
def->full_label = L("Minimum travel speed");
def->category = L("Machine limits");
def->tooltip = L("Minimum travel speed (M205 T)");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comDevelop;
def->set_default_value(new ConfigOptionFloats{0., 0.});
def = this->add("machine_max_acceleration_extruding", coFloats);
def->full_label = L("Maximum acceleration for extruding");
def->category = L("Machine limits");
def->tooltip = L("Maximum acceleration for extruding (M204 P)");
def->sidetext = L("mm/s²");
def->min = 0;
def->set_default_value(new ConfigOptionFloats{1500., 1250.});
def = this->add("machine_max_acceleration_retracting", coFloats);
def->full_label = L("Maximum acceleration for retracting");
def->category = L("Machine limits");
def->tooltip = L("Maximum acceleration for retracting (M204 R)");
def->sidetext = L("mm/s²");
def->min = 0;
def->set_default_value(new ConfigOptionFloats{1500., 1250.});
def = this->add("machine_max_acceleration_travel", coFloats);
def->full_label = L("Maximum acceleration for travel");
def->category = L("Machine limits");
def->tooltip = L("Maximum acceleration for travel (M204 T), it only applies to Marlin 2.");
def->sidetext = L("mm/s²");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0., 0.});
def = this->add("machine_max_speed_x", coFloats);
def->full_label = L("Maximum speed X");
def->category = L("Machine limits");
def->tooltip = L("Maximum speed of X axis");
def->sidetext = L("mm/s");
def->min = 0;
def = this->add("machine_max_acceleration_x", coFloats);
def->full_label = L("Maximum acceleration X");
def->category = L("Machine limits");
def->tooltip = L("Maximum acceleration of the X axis");
def->sidetext = L("mm/s²");
def->min = 0;
def = this->add("machine_max_jerk_x", coFloats);
def->full_label = L("Maximum jerk X");
def->category = L("Machine limits");
def->tooltip = L("Maximum jerk of the X axis");
def->sidetext = L("mm/s");
def->min = 0;
def = this->add("machine_max_speed_y", coFloats);
def->full_label = L("Maximum speed Y");
def->category = L("Machine limits");
def->tooltip = L("Maximum speed of Y axis");
def->sidetext = L("mm/s");
def->min = 0;
def = this->add("machine_max_acceleration_y", coFloats);
def->full_label = L("Maximum acceleration Y");
def->category = L("Machine limits");
def->tooltip = L("Maximum acceleration of the Y axis");
def->sidetext = L("mm/s²");
def->min = 0;
def = this->add("machine_max_jerk_y", coFloats);
def->full_label = L("Maximum jerk Y");
def->category = L("Machine limits");
def->tooltip = L("Maximum jerk of the Y axis");
def->sidetext = L("mm/s");
def->min = 0;
def = this->add("machine_max_speed_z", coFloats);
def->full_label = L("Maximum speed Z");
def->category = L("Machine limits");
def->tooltip = L("Maximum speed of Z axis");
def->sidetext = L("mm/s");
def->min = 0;
def = this->add("machine_max_acceleration_z", coFloats);
def->full_label = L("Maximum acceleration Z");
def->category = L("Machine limits");
def->tooltip = L("Maximum acceleration of the Z axis");
def->sidetext = L("mm/s²");
def->min = 0;
def = this->add("machine_max_jerk_z", coFloats);
def->full_label = L("Maximum jerk Z");
def->category = L("Machine limits");
def->tooltip = L("Maximum jerk of the Z axis");
def->sidetext = L("mm/s");
def->min = 0;
def = this->add("machine_max_speed_e", coFloats);
def->full_label = L("Maximum speed E");
def->category = L("Machine limits");
def->tooltip = L("Maximum speed of E axis");
def->sidetext = L("mm/s");
def->min = 0;
def = this->add("machine_max_acceleration_e", coFloats);
def->full_label = L("Maximum acceleration E");
def->category = L("Machine limits");
def->tooltip = L("Maximum acceleration of the E axis");
def->sidetext = L("mm/s²");
def->min = 0;
def = this->add("machine_max_jerk_e", coFloats);
def->full_label = L("Maximum jerk E");
def->category = L("Machine limits");
def->tooltip = L("Maximum jerk of the E axis");
def->sidetext = L("mm/s");
def->min = 0;
def = this->add("emit_machine_limits_to_gcode", coBool);
def->label = L("Emit limits to G-code");
def->category = L("PrinterKinematics/Motion ability");
def->tooltip = L("If enabled, the machine limits will be emitted to G-code file.\nThis option will be ignored if the G-code flavor is set to Klipper.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("resonance_avoidance", coBool);
def->label = L("Resonance avoidance");
def->category = L("PrinterKinematics/Motion ability");
def->tooltip = L("By reducing the speed of the outer wall to avoid the resonance zone of the printer, ringing on the surface of the model are avoided.\nPlease turn this option off when testing ringing.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("min_resonance_avoidance_speed", coFloat);
def->label = L("Min");
def->category = L("PrinterKinematics/Motion ability");
def->tooltip = L("Minimum speed of resonance avoidance.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(70));
def = this->add("max_resonance_avoidance_speed", coFloat);
def->label = L("Max");
def->category = L("PrinterKinematics/Motion ability");
def->tooltip = L("Maximum speed of resonance avoidance.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(120));
def = this->add("input_shaping_emit", coBool);
def->label = L("Emit input shaping");
def->category = L("PrinterKinematics/Motion ability");
def->tooltip = L("Override firmware input shaping settings.\nIf disabled, firmware settings are used.");
def->set_default_value(new ConfigOptionBool(false));
def = this->add("input_shaping_type", coEnum);
def->label = L("Input shaper type");
def->category = L("PrinterKinematics/Motion ability");
def->tooltip = L("Choose the input shaper algorithm.\nDefault uses the firmware default settings.\nDisable turns off input shaping in the firmware.");
def->enum_keys_map = &ConfigOptionEnum<InputShaperType>::get_enum_values();
def->set_default_value(new ConfigOptionEnum<InputShaperType>(InputShaperType::Default));
def = this->add("input_shaping_freq_x", coFloat);
def->label = L("X");
def->category = L("PrinterKinematics/Motion ability");
def->tooltip = L("Resonant frequency for the X axis input shaper.\nZero will use the firmware frequency.\nTo disable input shaping, use the Disable type.\nRRF: X and Y values are equal.");
def->sidetext = L("Hz");
def->min = 0;
def->max = 1000;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("input_shaping_freq_y", coFloat);
def->label = L("Y");
def->category = L("PrinterKinematics/Motion ability");
def->tooltip = L("Resonant frequency for the Y axis input shaper.\nZero will use the firmware frequency.\nTo disable input shaping, use the Disable type.");
def->sidetext = L("Hz");
def->min = 0;
def->max = 1000;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("input_shaping_damp_x", coFloat);
def->label = L("X");
def->category = L("PrinterKinematics/Motion ability");
def->tooltip = L("Damping ratio for the X axis input shaper.\nZero will use the firmware damping ratio.\nTo disable input shaping, use the Disable type.\nRRF: X and Y values are equal.");
def->min = 0;
def->max = 1;
def->set_default_value(new ConfigOptionFloat(0.1));
def = this->add("input_shaping_damp_y", coFloat);
def->label = L("Y");
def->category = L("PrinterKinematics/Motion ability");
def->tooltip = L("Damping ratio for the Y axis input shaper.\nZero will use the firmware damping ratio.\nTo disable input shaping, use the Disable type.");
def->min = 0;
def->max = 1;
def->set_default_value(new ConfigOptionFloat(0.1));
def = this->add("brim_width", coFloat);
def->label = L("Brim width");
def->category = L("Print/Others");
def->tooltip = L("Distance from model to the outermost brim line.");
def->sidetext = L("mm");
def->min = 0;
def->max = 100;
def->set_default_value(new ConfigOptionFloat(0.));
def = this->add("brim_type", coEnum);
def->label = L("Brim type");
def->category = L("Print/Others");
def->tooltip = L("This controls the generation of the brim at outer and/or inner side of models. Auto means the brim width is analyzed and calculated automatically.");
def->enum_keys_map = &ConfigOptionEnum<BrimType>::get_enum_values();
def->enum_values.push_back("auto_brim");
def->enum_values.push_back("brim_ears");
def->enum_values.push_back("painted");
def->enum_values.push_back("outer_only");
def->enum_values.push_back("inner_only");
def->enum_values.push_back("outer_and_inner");
def->enum_values.push_back("no_brim");
def->enum_labels.push_back(L("Auto"));
def->enum_labels.push_back(L("Mouse ear"));
def->enum_labels.push_back(L("Painted"));
def->enum_labels.push_back(L("Outer brim only"));
def->enum_labels.push_back(L("Inner brim only"));
def->enum_labels.push_back(L("Outer and inner brim"));
def->enum_labels.push_back(L("No-brim"));
def->set_default_value(new ConfigOptionEnum<BrimType>(btAutoBrim));
def = this->add("brim_object_gap", coFloat);
def->label = L("Brim-object gap");
def->category = L("Print/Others");
def->tooltip = L("A gap between innermost brim line and object can make brim be removed more easily.");
def->sidetext = L("mm");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.));
def = this->add("brim_flow_ratio", coFloat);
def->label = L("Brim flow ratio");
def->category = L("Print/Others");
def->tooltip = L("This factor affects the amount of material for brims.\n\nThe actual brim flow used is calculated by multiplying this value by the filament flow ratio, and if set, the object's flow ratio.\n\nNote: The resulting value will not be affected by the first-layer flow ratio.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("brim_use_efc_outline", coBool);
def->label = L("Brim follows compensated outline");
def->category = L("Print/Others");
def->tooltip = L("When enabled, the brim is aligned with the first-layer perimeter geometry after Elephant Foot Compensation is applied.\nThis option is intended for cases where Elephant Foot Compensation significantly alters the first-layer footprint.\n\nIf your current setup already works well, enabling it may be unnecessary and can cause the brim to fuse with upper layers.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("combine_brims", coBool);
def->label = L("Combine brims");
def->category = L("Print/Others");
def->tooltip = L("Combine multiple brims into one when they are close to each other. This can improve brim adhesion.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("brim_ears_max_angle", coFloat);
def->label = L("Brim ear max angle");
def->category = L("Print/Others");
def->tooltip = L("Maximum angle to let a brim ear appear.\nIf set to 0, no brim will be created.\nIf set to ~180, brim will be created on everything but straight sections.");
def->sidetext = L("°");
def->min = 0;
def->max = 180;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(125));
def = this->add("brim_ears_detection_length", coFloat);
def->label = L("Brim ear detection radius");
def->category = L("Print/Others");
def->tooltip = L("The geometry will be decimated before detecting sharp angles. This parameter indicates the minimum length of the deviation for the decimation.\n0 to deactivate.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("print_sequence", coEnum);
def->label = L("Print sequence");
def->category = L("Print/Others");
def->tooltip = L("Print sequence, layer by layer or object by object.");
def->enum_keys_map = &ConfigOptionEnum<PrintSequence>::get_enum_values();
def->enum_values.push_back("by layer");
def->enum_values.push_back("by object");
def->enum_labels.push_back(L("By layer"));
def->enum_labels.push_back(L("By object"));
def->set_default_value(new ConfigOptionEnum<PrintSequence>(PrintSequence::ByLayer));
def = this->add("print_order", coEnum);
def->label = L("Intra-layer order");
def->category = L("Print/Others");
def->tooltip = L("Print order within a single layer.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<PrintOrder>::get_enum_values();
def->enum_values.push_back("default");
def->enum_values.push_back("as_obj_list");
def->enum_labels.push_back(L("Default"));
def->enum_labels.push_back(L("As object list"));
def->set_default_value(new ConfigOptionEnum<PrintOrder>(PrintOrder::Default));
def = this->add("fuzzy_skin", coEnum);
def->label = L("Fuzzy Skin");
def->category = L("Print/Others");
def->tooltip = L("Randomly jitter while printing the wall, so that the surface has a rough look. This setting controls the fuzzy position.");
def->enum_keys_map = &ConfigOptionEnum<FuzzySkinType>::get_enum_values();
def->enum_values.push_back("none");
def->enum_values.push_back("external");
def->enum_values.push_back("hole");
def->enum_values.push_back("all");
def->enum_values.push_back("allwalls");
def->enum_values.push_back("disabled_fuzzy");
def->enum_labels.push_back(L("Painted only"));
def->enum_labels.push_back(L("Contour"));
def->enum_labels.push_back(L("Hole"));
def->enum_labels.push_back(L("Contour and hole"));
def->enum_labels.push_back(L("All walls"));
def->enum_labels.push_back(L("Disabled"));
def->set_default_value(new ConfigOptionEnum<FuzzySkinType>(FuzzySkinType::Disabled_fuzzy));
def = this->add("fuzzy_skin_thickness", coFloat);
def->label = L("Fuzzy skin thickness");
def->category = L("Print/Others");
def->tooltip = L("The width within which to jitter. It's advised to be below outer wall line width.");
def->sidetext = L("mm");
def->min = 0;
def->max = 2;
def->set_default_value(new ConfigOptionFloat(0.2));
def = this->add("fuzzy_skin_point_distance", coFloat);
def->label = L("Fuzzy skin point distance");
def->category = L("Print/Others");
def->tooltip = L("The average distance between the random points introduced on each line segment.");
def->sidetext = L("mm");
def->max = 5;
def->set_default_value(new ConfigOptionFloat(0.3f));
def = this->add("fuzzy_skin_first_layer", coBool);
def->label = L("Apply fuzzy skin to first layer");
def->category = L("Print/Others");
def->tooltip = L("Whether to apply fuzzy skin on the first layer.");
def->set_default_value(new ConfigOptionBool(0));
def = this->add("fuzzy_skin_mode", coEnum);
def->label = L("Fuzzy skin generator mode");
def->category = L("Print/Others");
def->tooltip = L("Fuzzy skin generation mode. Works only with Arachne!\nDisplacement: Сlassic mode when the pattern is formed by shifting the nozzle sideways from the original path.\nExtrusion: The mode when the pattern formed by the amount of extruded plastic. This is the fast and straight algorithm without unnecessary nozzle shake that gives a smooth pattern. But it is more useful for forming loose walls in the entire they array.\nCombined: Joint mode [Displacement] + [Extrusion]. The appearance of the walls is similar to [Displacement] Mode, but it leaves no pores between the perimeters.\n\nAttention! The [Extrusion] and [Combined] modes works only the fuzzy_skin_thickness parameter not more than the thickness of printed loop. At the same time, the width of the extrusion for a particular layer should also not be below a certain level. It is usually equal 15-25%% of a layer height. Therefore, the maximum fuzzy skin thickness with a perimeter width of 0.4 mm and a layer height of 0.2 mm will be 0.4-(0.2*0.25)=±0.35mm! If you enter a higher parameter than this, the error Flow::spacing() will displayed, and the model will not be sliced. You can choose this number until this error is repeated.");
def->enum_keys_map = &ConfigOptionEnum<FuzzySkinMode>::get_enum_values();
def->enum_values.push_back("displacement");
def->enum_values.push_back("extrusion");
def->enum_values.push_back("combined");
def->enum_labels.push_back(L("Displacement"));
def->enum_labels.push_back(L("Extrusion"));
def->enum_labels.push_back(L("Combined"));
def->set_default_value(new ConfigOptionEnum<FuzzySkinMode>(FuzzySkinMode::Displacement));
def = this->add("fuzzy_skin_noise_type", coEnum);
def->label = L("Fuzzy skin noise type");
def->category = L("Print/Others");
def->tooltip = L("Noise type to use for fuzzy skin generation:\nClassic: Classic uniform random noise.\nPerlin: Perlin noise, which gives a more consistent texture.\nBillow: Similar to perlin noise, but clumpier.\nRidged Multifractal: Ridged noise with sharp, jagged features. Creates marble-like textures.\nVoronoi: Divides the surface into voronoi cells, and displaces each one by a random amount. Creates a patchwork texture.\nRipple: Uniform ripple pattern that ripples left and right of the original path. Repeating pattern, woven appearance.");
def->enum_keys_map = &ConfigOptionEnum<NoiseType>::get_enum_values();
def->enum_values.push_back("classic");
def->enum_values.push_back("perlin");
def->enum_values.push_back("billow");
def->enum_values.push_back("ridgedmulti");
def->enum_values.push_back("voronoi");
def->enum_values.push_back("ripple");
def->enum_labels.push_back(L("Classic"));
def->enum_labels.push_back(L("Perlin"));
def->enum_labels.push_back(L("Billow"));
def->enum_labels.push_back(L("Ridged Multifractal"));
def->enum_labels.push_back(L("Voronoi"));
def->enum_labels.push_back(L("Ripple"));
def->set_default_value(new ConfigOptionEnum<NoiseType>(NoiseType::Classic));
def = this->add("fuzzy_skin_scale", coFloat);
def->label = L("Fuzzy skin feature size");
def->category = L("Print/Others");
def->tooltip = L("The base size of the coherent noise features, in mm. Higher values will result in larger features.");
def->sidetext = L("mm");
def->min = 0.1;
def->max = 500;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1.0));
def = this->add("fuzzy_skin_octaves", coInt);
def->label = L("Fuzzy Skin Noise Octaves");
def->category = L("Print/Others");
def->tooltip = L("The number of octaves of coherent noise to use. Higher values increase the detail of the noise, but also increase computation time.");
def->min = 1;
def->max = 10;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInt(4));
def = this->add("fuzzy_skin_persistence", coFloat);
def->label = L("Fuzzy skin noise persistence");
def->category = L("Print/Others");
def->tooltip = L("The decay rate for higher octaves of the coherent noise. Lower values will result in smoother noise.");
def->min = 0.01;
def->max = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.5));
def = this->add("fuzzy_skin_ripples_per_layer", coInt);
def->label = L("Number of ripples per layer");
def->category = L("Print/Others");
def->tooltip = L("Controls how many full cycles of ripples will be added per layer.");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInt(15));
def = this->add("fuzzy_skin_ripple_offset", coPercent);
def->label = L("Ripple offset");
def->category = L("Print/Others");
def->tooltip = L("Shifts the ripple phase forward along the print path by the specified percentage of a wavelength each layer period.\n- 0% keeps every layer identical.\n- 50% shifts the pattern by half a wavelength, effectively inverting the phase.\n- 100% shifts the pattern by a full wavelength, returning to the original phase.\n\nThe shift is applied once every number of layers set by Layers between ripple offset, so layers within the same group are printed identically.");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(50));
def = this->add("fuzzy_skin_layers_between_ripple_offset", coInt);
def->label = L("Layers between ripple offset");
def->category = L("Print/Others");
def->tooltip = L("Specifies how many consecutive layers share the same ripple phase before the offset is applied.\nFor example:\n- 1 = Layer 1 is printed with the base ripple pattern, then layer 2 is shifted by the configured offset, then layer 3 returns to the base pattern, and so on.\n- 3 = Layers 1 to 3 are printed with the base ripple pattern, then layers 4 to 6 are shifted by the configured offset, then layers 7 to 9 return to the base pattern, etc.");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInt(1));
def = this->add("gcode_add_line_number", coBool);
def->label = L("Add line number");
def->category = L("Print/Others");
def->tooltip = L("Enable this to add line number(Nx) at the beginning of each G-code line.");
def->mode = comDevelop;
def->set_default_value(new ConfigOptionBool(0));
def = this->add("gcode_label_objects", coBool);
def->label = L("Label objects");
def->category = L("Print/Others");
def->tooltip = L("Enable this to add comments into the G-code labeling print moves with what object they belong to, which is useful for the Octoprint CancelObject plug-in. This setting is NOT compatible with Single Extruder Multi Material setup and Wipe into Object / Wipe into Infill.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(1));
def = this->add("exclude_object", coBool);
def->label = L("Exclude objects");
def->category = L("Print/Others");
def->tooltip = L("Enable this option to add EXCLUDE OBJECT command in G-code.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("gcode_comments", coBool);
def->label = L("Verbose G-code");
def->category = L("Print/Others");
def->tooltip = L("Enable this to get a commented G-code file, with each line explained by a descriptive text. If you print from SD card, the additional weight of the file could make your firmware slow down.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(0));
def = this->add("enable_wrapping_detection", coBool);
def->label = L("Enable clumping detection");
def->category = L("Print/Others");
def->tooltip = L("Enable clumping detection");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("notes", coString);
def->label = L("Configuration notes");
def->category = L("Print/Others");
def->tooltip = L("You can put here your personal notes. This text will be added to the G-code header comments.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 13;
def->set_default_value(new ConfigOptionString());
def = this->add("reduce_infill_retraction", coBool);
def->label = L("Reduce infill retraction");
def->category = L("Print/Others");
def->tooltip = L("Don't retract when the travel is entirely within an infill area. That means the oozing can't been seen. This can reduce times of retraction for complex model and save printing time, but make slicing and G-code generating slower. Note that z-hop is also not performed in areas where retraction is skipped.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("filename_format", coString);
def->label = L("Filename format");
def->category = L("Print/Others");
def->tooltip = L("Users can define the project file name when exporting.");
def->mode = comAdvanced;
def->full_width = true;
def->set_default_value(new ConfigOptionString("{input_filename_base}_{filament_type[initial_tool]}_{print_time}.gcode"));
def = this->add("post_process", coStrings);
def->label = L("Post-processing Scripts");
def->category = L("Print/Others");
def->tooltip = L("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 Orca Slicer config settings by reading environment variables.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 6;
def->gui_flags = "serialized";
def->set_default_value(new ConfigOptionStrings());
def = this->add("process_change_extrusion_role_gcode", coString);
def->label = L("Change extrusion role G-code (process)");
def->category = L("Print/Others");
def->tooltip = L("This G-code is inserted when the extrusion role is changed. It runs after the machine and filament extrusion role G-code.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 5;
def->set_default_value(new ConfigOptionString());
def = this->add("skirt_distance", coFloat);
def->label = L("Skirt distance");
def->category = L("Print/Others");
def->tooltip = L("The distance from the skirt to the brim or the object.");
def->sidetext = L("mm");
def->min = 0;
def->max = 60;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(2));
def = this->add("skirt_start_angle", coFloat);
def->label = L("Skirt start point");
def->category = L("Print/Others");
def->tooltip = L("Angle from the object center to skirt start point. Zero is the most right position, counter clockwise is positive angle.");
def->sidetext = L("°");
def->min = -180;
def->max = 180;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(-135));
def = this->add("skirt_height", coInt);
def->label = L("Skirt height");
def->category = L("Print/Others");
def->tooltip = L("How many layers of skirt. Usually only one layer.");
def->sidetext = L("layers");
def->max = 10000;
def->set_default_value(new ConfigOptionInt(1));
def = this->add("single_loop_draft_shield", coBool);
def->label = L("Single loop after first layer");
def->category = L("Print/Others");
def->tooltip = L("Limits the skirt/draft shield loops to one wall after the first layer. This is useful, on occasion, to conserve filament but may cause the draft shield/skirt to warp / crack.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("draft_shield", coEnum);
def->label = L("Draft shield");
def->category = L("Print/Others");
def->tooltip = L("A draft shield is useful to protect an ABS or ASA print from warping and detaching from print bed due to wind draft. It is usually needed only with open frame printers, i.e. without an enclosure.\n\nEnabled = skirt is as tall as the highest printed object. Otherwise 'Skirt height' is used.\nNote: With the draft shield active, the skirt will be printed at skirt distance from the object. Therefore, if brims are active it may intersect with them. To avoid this, increase the skirt distance value.\n");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<DraftShield>::get_enum_values();
def->enum_values.push_back("disabled");
def->enum_values.push_back("enabled");
def->enum_labels.push_back(L("Disabled"));
def->enum_labels.push_back(L("Enabled"));
def->set_default_value(new ConfigOptionEnum<DraftShield>(dsDisabled));
def = this->add("skirt_type", coEnum);
def->label = L("Skirt type");
def->full_label = L("Skirt type");
def->category = L("Print/Others");
def->tooltip = L("Combined - single skirt for all objects, Per object - individual object skirt.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<SkirtType>::get_enum_values();
def->enum_values.push_back("combined");
def->enum_values.push_back("perobject");
def->enum_labels.push_back(L("Combined"));
def->enum_labels.push_back(L("Per object"));
def->set_default_value(new ConfigOptionEnum<SkirtType>(stCombined));
def = this->add("skirt_loops", coInt);
def->label = L("Skirt loops");
def->full_label = L("Skirt loops");
def->category = L("Print/Others");
def->tooltip = L("Number of loops for the skirt. Zero means disabling skirt.");
def->min = 0;
def->max = 10;
def->set_default_value(new ConfigOptionInt(1));
def = this->add("skirt_speed", coFloat);
def->label = L("Skirt speed");
def->full_label = L("Skirt speed");
def->category = L("Print/Others");
def->tooltip = L("Speed of skirt, in mm/s. Zero means use default layer extrusion speed.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(50.0));
def = this->add("min_skirt_length", coFloat);
def->label = L("Skirt minimum extrusion length");
def->full_label = L("Skirt minimum extrusion length");
def->category = L("Print/Others");
def->tooltip = L("Minimum filament extrusion length in mm when printing the skirt. Zero means this feature is disabled.\n\nUsing a non-zero value is useful if the printer is set up to print without a prime line.\nFinal number of loops is not taking into account while arranging or validating objects distance. Increase loop number in such case.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.0));
def = this->add("spiral_mode", coBool);
def->label = L("Spiral vase");
def->category = L("Print/Others");
def->tooltip = L("Spiralize smooths out the Z moves of the outer contour. And turns a solid model into a single walled print with solid bottom layers. The final generated model has no seam.");
def->set_default_value(new ConfigOptionBool(false));
def = this->add("spiral_mode_smooth", coBool);
def->label = L("Smooth Spiral");
def->category = L("Print/Others");
def->tooltip = L("Smooth Spiral smooths out X and Y moves as well, resulting in no visible seam at all, even in the XY directions on walls that are not vertical.");
def->set_default_value(new ConfigOptionBool(false));
def = this->add("spiral_mode_max_xy_smoothing", coFloatOrPercent);
def->label = L("Max XY Smoothing");
def->category = L("Print/Others");
def->tooltip = L("Maximum distance to move points in XY to try to achieve a smooth spiral. If expressed as a %, it will be computed over nozzle diameter.");
def->sidetext = L("mm or %");
def->min = 0;
def->max = 1000;
def->max_literal = 10;
def->ratio_over = "nozzle_diameter";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(200, true));
def = this->add("spiral_starting_flow_ratio", coFloat);
def->label = L("Spiral starting flow ratio");
def->category = L("Print/Others");
def->tooltip = L("Sets the starting flow ratio while transitioning from the last bottom layer to the spiral. Normally the spiral transition scales the flow ratio from 0% to 100% during the first loop which can in some cases lead to under extrusion at the start of the spiral.");
def->min = 0;
def->max = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("spiral_finishing_flow_ratio", coFloat);
def->label = L("Spiral finishing flow ratio");
def->category = L("Print/Others");
def->tooltip = L("Sets the finishing flow ratio while ending the spiral. Normally the spiral transition scales the flow ratio from 100% to 0% during the last loop which can in some cases lead to under extrusion at the end of the spiral.");
def->min = 0;
def->max = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("timelapse_type", coEnum);
def->label = L("Timelapse");
def->category = L("Print/Others");
def->tooltip = L("If smooth or traditional mode is selected, a timelapse video will be generated for each print. After each layer is printed, a snapshot is taken with the chamber camera. All of these snapshots are composed into a timelapse video when printing completes. If smooth mode is selected, the toolhead will move to the excess chute after each layer is printed and then take a snapshot. Since the melt filament may leak from the nozzle during the process of taking a snapshot, a prime tower is required for smooth mode to wipe nozzle.");
def->enum_keys_map = &ConfigOptionEnum<TimelapseType>::get_enum_values();
def->enum_values.push_back("0");
def->enum_values.push_back("1");
def->enum_labels.push_back(L("Traditional"));
def->enum_labels.push_back(L("Smooth"));
def->set_default_value(new ConfigOptionEnum<TimelapseType>(tlTraditional));
def = this->add("slicing_mode", coEnum);
def->label = L("Slicing Mode");
def->category = L("Print/Others");
def->tooltip = L("Use \"Even-odd\" for 3DLabPrint airplane models. Use \"Close holes\" to close all holes in the model.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<SlicingMode>::get_enum_values();
def->enum_values.push_back("regular");
def->enum_values.push_back("even_odd");
def->enum_values.push_back("close_holes");
def->enum_labels.push_back(L("Regular"));
def->enum_labels.push_back(L("Even-odd"));
def->enum_labels.push_back(L("Close holes"));
def->set_default_value(new ConfigOptionEnum<SlicingMode>(SlicingMode::Regular));
def = this->add("sparse_infill_filament", coInt);
def->label = L("Infill");
def->category = L("Print/Multimaterial");
def->tooltip = L("Filament to print internal sparse infill.");
def->min = 1;
def->mode = comAdvanced;
def->gui_type = ConfigOptionDef::GUIType::i_enum_open;
def->set_default_value(new ConfigOptionInt(1));
def = this->add("interface_shells", coBool);
def->label = L("Interface shells");
def->category = L("Print/Multimaterial");
def->tooltip = L("Force the generation of solid shells between adjacent materials/volumes. Useful for multi-extruder prints with translucent materials or manual soluble support material.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("mmu_segmented_region_max_width", coFloat);
def->label = L("Maximum width of a segmented region");
def->category = L("Print/Multimaterial");
def->tooltip = L("Maximum width of a segmented region. Zero disables this feature.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.));
def = this->add("mmu_segmented_region_interlocking_depth", coFloat);
def->label = L("Interlocking depth of a segmented region");
def->category = L("Print/Multimaterial");
def->tooltip = L("Interlocking depth of a segmented region. It will be ignored if \"mmu_segmented_region_max_width\" is zero or if \"mmu_segmented_region_interlocking_depth\" is bigger than \"mmu_segmented_region_max_width\". Zero disables this feature.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.));
def = this->add("interlocking_beam", coBool);
def->label = L("Use beam interlocking");
def->category = L("Print/Multimaterial");
def->tooltip = L("Generate interlocking beam structure at the locations where different filaments touch. This improves the adhesion between filaments, especially models printed in different materials.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("interlocking_beam_width", coFloat);
def->label = L("Interlocking beam width");
def->category = L("Print/Multimaterial");
def->tooltip = L("The width of the interlocking structure beams.");
def->sidetext = L("mm");
def->min = 0.01;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.8));
def = this->add("interlocking_orientation", coFloat);
def->label = L("Interlocking direction");
def->category = L("Print/Multimaterial");
def->tooltip = L("Orientation of interlock beams.");
def->sidetext = L("°");
def->min = 0;
def->max = 360;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(22.5));
def = this->add("interlocking_beam_layer_count", coInt);
def->label = L("Interlocking beam layers");
def->category = L("Print/Multimaterial");
def->tooltip = L("The height of the beams of the interlocking structure, measured in number of layers. Less layers is stronger, but more prone to defects.");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInt(2));
def = this->add("interlocking_depth", coInt);
def->label = L("Interlocking depth");
def->category = L("Print/Multimaterial");
def->tooltip = L("The distance from the boundary between filaments to generate interlocking structure, measured in cells. Too few cells will result in poor adhesion.");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInt(2));
def = this->add("interlocking_boundary_avoidance", coInt);
def->label = L("Interlocking boundary avoidance");
def->category = L("Print/Multimaterial");
def->tooltip = L("The distance from the outside of a model where interlocking structures will not be generated, measured in cells.");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInt(2));
def = this->add("ooze_prevention", coBool);
def->label = L("Enable");
def->category = L("Print/Multimaterial");
def->tooltip = L("This option will drop the temperature of the inactive extruders to prevent oozing.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("wall_filament", coInt);
def->label = L("Walls");
def->category = L("Print/Multimaterial");
def->tooltip = L("Filament to print walls.");
def->min = 1;
def->mode = comAdvanced;
def->gui_type = ConfigOptionDef::GUIType::i_enum_open;
def->set_default_value(new ConfigOptionInt(1));
def = this->add("solid_infill_filament", coInt);
def->label = L("Solid infill");
def->category = L("Print/Multimaterial");
def->tooltip = L("Filament to print solid infill.");
def->min = 1;
def->mode = comAdvanced;
def->gui_type = ConfigOptionDef::GUIType::i_enum_open;
def->set_default_value(new ConfigOptionInt(1));
def = this->add("standby_temperature_delta", coInt);
def->label = L("Temperature variation");
def->category = L("Print/Multimaterial");
def->tooltip = L("Temperature difference to be applied when an extruder is not active. The value is not used when 'idle_temperature' in filament settings is set to non-zero value.");
def->sidetext = L("\u2206\u2103");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInt(-5));
def = this->add("preheat_time", coFloat);
def->label = L("Preheat time");
def->category = L("Print/Multimaterial");
def->tooltip = L("To reduce the waiting time after tool change, Orca can preheat the next tool while the current tool is still in use. This setting specifies the time in seconds to preheat the next tool. Orca will insert a M104 command to preheat the tool in advance.");
def->sidetext = L("s");
def->min = 0;
def->max = 120;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(30.0));
def = this->add("preheat_steps", coInt);
def->label = L("Preheat steps");
def->category = L("Print/Multimaterial");
def->tooltip = L("Insert multiple preheat commands (e.g. M104.1). Only useful for Prusa XL. For other printers, please set it to 1.");
def->min = 1;
def->max = 10;
def->mode = comDevelop;
def->set_default_value(new ConfigOptionInt(1));
def = this->add("wipe_tower_no_sparse_layers", coBool);
def->label = L("No sparse layers (beta)");
def->category = L("Print/Multimaterial");
def->tooltip = L("If enabled, the wipe tower will not be printed on layers with no tool changes. On layers with a tool change, extruder will travel downward to print the wipe tower. User is responsible for ensuring there is no collision with the print.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("single_extruder_multi_material_priming", coBool);
def->label = L("Prime all printing extruders");
def->category = L("Print/Multimaterial");
def->tooltip = L("If enabled, all printing extruders will be primed at the front edge of the print bed at the start of the print.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("enable_prime_tower", coBool);
def->label = L("Enable");
def->category = L("Print/Multimaterial");
def->tooltip = L("The wiping tower can be used to clean up the residue on the nozzle and stabilize the chamber pressure inside the nozzle, in order to avoid appearance defects when printing objects.");
def->set_default_value(new ConfigOptionBool(false));
def = this->add("prime_tower_enable_framework", coBool);
def->label = L("Internal ribs");
def->category = L("Print/Multimaterial");
def->tooltip = L("Enable internal ribs to increase the stability of the prime tower.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("prime_volume", coFloat);
def->label = L("Prime volume");
def->category = L("Print/Multimaterial");
def->tooltip = L("The volume of material to prime extruder on tower.");
def->sidetext = L("mm³");
def->min = 1;
def->set_default_value(new ConfigOptionFloat(45.));
def = this->add("prime_tower_width", coFloat);
def->label = L("Width");
def->category = L("Print/Multimaterial");
def->tooltip = L("Width of the prime tower.");
def->sidetext = L("mm");
def->min = 2;
def->set_default_value(new ConfigOptionFloat(60.));
def = this->add("wipe_tower_rotation_angle", coFloat);
def->label = L("Wipe tower rotation angle");
def->category = L("Print/Multimaterial");
def->tooltip = L("Wipe tower rotation angle with respect to X axis.");
def->sidetext = L("°");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.));
def = this->add("prime_tower_brim_width", coFloat);
def->label = L("Brim width");
def->category = L("Print/Multimaterial");
def->tooltip = L("Brim width of prime tower, negative number means auto calculated width based on the height of prime tower.");
def->sidetext = L("mm");
def->min = -1;
def->mode = comAdvanced;
def->gui_type = ConfigOptionDef::GUIType::f_enum_open;
def->enum_values.push_back("-1");
def->enum_labels.push_back(L("Auto"));
def->set_default_value(new ConfigOptionFloat(3.));
def = this->add("wipe_tower_cone_angle", coFloat);
def->label = L("Stabilization cone apex angle");
def->category = L("Print/Multimaterial");
def->tooltip = L("Angle at the apex of the cone that is used to stabilize the wipe tower. Larger angle means wider base.");
def->sidetext = L("°");
def->min = 0;
def->max = 90;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(30.0));
def = this->add("wipe_tower_max_purge_speed", coFloat);
def->label = L("Maximum wipe tower print speed");
def->category = L("Print/Multimaterial");
def->tooltip = L("The maximum print speed when purging in the wipe tower and printing the wipe tower sparse layers. When purging, if the sparse infill speed or calculated speed from the filament max volumetric speed is lower, the lowest will be used instead.\n\nWhen printing the sparse layers, if the internal perimeter speed or calculated speed from the filament max volumetric speed is lower, the lowest will be used instead.\n\nIncreasing this speed may affect the tower's stability as well as increase the force with which the nozzle collides with any blobs that may have formed on the wipe tower.\n\nBefore increasing this parameter beyond the default of 90 mm/s, make sure your printer can reliably bridge at the increased speeds and that ooze when tool changing is well controlled.\n\nFor the wipe tower external perimeters the internal perimeter speed is used regardless of this setting.");
def->sidetext = L("mm/s");
def->min = 10;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(90.));
def = this->add("wipe_tower_wall_type", coEnum);
def->label = L("Wall type");
def->category = L("Print/Multimaterial");
def->tooltip = L("Wipe tower outer wall type.\n1. Rectangle: The default wall type, a rectangle with fixed width and height.\n2. Cone: A cone with a fillet at the bottom to help stabilize the wipe tower.\n3. Rib: Adds four ribs to the tower wall for enhanced stability.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<WipeTowerWallType>::get_enum_values();
def->enum_values.push_back("rectangle");
def->enum_values.push_back("cone");
def->enum_values.push_back("rib");
def->enum_labels.push_back(L("Rectangle"));
def->enum_labels.push_back(L("Cone"));
def->enum_labels.push_back(L("Rib"));
def->set_default_value(new ConfigOptionEnum<WipeTowerWallType>(wtwRib));
def = this->add("wipe_tower_extra_rib_length", coFloat);
def->label = L("Extra rib length");
def->category = L("Print/Multimaterial");
def->tooltip = L("Positive values can increase the size of the rib wall, while negative values can reduce the size. However, the size of the rib wall can not be smaller than that determined by the cleaning volume.");
def->sidetext = L("mm");
def->max = 300;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("wipe_tower_rib_width", coFloat);
def->label = L("Rib width");
def->category = L("Print/Multimaterial");
def->tooltip = L("Rib width is always less than half the prime tower side length.");
def->sidetext = L("mm");
def->min = 0;
def->max = 300;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(8));
def = this->add("wipe_tower_fillet_wall", coBool);
def->label = L("Fillet wall");
def->category = L("Print/Multimaterial");
def->tooltip = L("The wall of prime tower will fillet.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("wipe_tower_filament", coInt);
def->label = L("Wipe tower");
def->category = L("Print/Multimaterial");
def->tooltip = L("The extruder to use when printing perimeter of the wipe tower. Set to 0 to use the one that is available (non-soluble would be preferred).");
def->min = 0;
def->mode = comAdvanced;
def->gui_type = ConfigOptionDef::GUIType::i_enum_open;
def->set_default_value(new ConfigOptionInt(0));
def = this->add("prime_tower_skip_points", coBool);
def->label = L("Skip points");
def->category = L("Print/Multimaterial");
def->tooltip = L("The wall of prime tower will skip the start points of wipe path.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("enable_tower_interface_features", coBool);
def->label = L("Enable tower interface features");
def->category = L("Print/Multimaterial");
def->tooltip = L("Enable optimized prime tower interface behavior when different materials meet.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("enable_tower_interface_cooldown_during_tower", coBool);
def->label = L("Cool down from interface boost during prime tower");
def->category = L("Print/Multimaterial");
def->tooltip = L("When interface-layer temperature boost is active, set the nozzle back to print temperature at the start of the prime tower so it cools down during the tower.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("prime_tower_infill_gap", coPercent);
def->label = L("Infill gap");
def->category = L("Print/Multimaterial");
def->tooltip = L("Infill gap.");
def->sidetext = L("%");
def->min = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(150));
def = this->add("flush_into_infill", coBool);
def->label = L("Flush into objects' infill");
def->category = L("Print/Multimaterial");
def->tooltip = L("Purging after filament change will be done inside objects' infills. This may lower the amount of waste and decrease the print time. If the walls are printed with transparent filament, the mixed color infill will be seen outside. It will not take effect, unless the prime tower is enabled.");
def->set_default_value(new ConfigOptionBool(false));
def = this->add("flush_into_support", coBool);
def->label = L("Flush into objects' support");
def->category = L("Print/Multimaterial");
def->tooltip = L("Purging after filament change will be done inside objects' support. This may lower the amount of waste and decrease the print time. It will not take effect, unless the prime tower is enabled.");
def->set_default_value(new ConfigOptionBool(true));
def = this->add("flush_into_objects", coBool);
def->label = L("Flush into this object");
def->category = L("Print/Multimaterial");
def->tooltip = L("This object will be used to purge the nozzle after a filament change to save filament and decrease the print time. Colors of the objects will be mixed as a result. It will not take effect unless the prime tower is enabled.");
def->set_default_value(new ConfigOptionBool(false));
def = this->add("wipe_tower_bridging", coFloat);
def->label = L("Maximal bridging distance");
def->category = L("Print/Multimaterial");
def->tooltip = L("Maximal distance between supports on sparse infill sections.");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(10.));
def = this->add("wipe_tower_extra_spacing", coPercent);
def->label = L("Wipe tower purge lines spacing");
def->category = L("Print/Multimaterial");
def->tooltip = L("Spacing of purge lines on the wipe tower.");
def->sidetext = L("%");
def->min = 100;
def->max = 300;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(100.));
def = this->add("wipe_tower_extra_flow", coPercent);
def->label = L("Extra flow for purging");
def->category = L("Print/Multimaterial");
def->tooltip = L("Extra flow used for the purging lines on the wipe tower. This makes the purging lines thicker or narrower than they normally would be. The spacing is adjusted automatically.");
def->sidetext = L("%");
def->min = 100;
def->max = 300;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(100.));
def = this->add("reduce_crossing_wall", coBool);
def->label = L("Avoid crossing walls");
def->category = L("Print/Quality");
def->tooltip = L("Detour to avoid traveling across walls, which may cause blobs on the surface.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(INITIAL_REDUCE_CROSSING_WALL));
def = this->add("max_travel_detour_distance", coFloatOrPercent);
def->label = L("Avoid crossing walls - Max detour length");
def->category = L("Print/Quality");
def->tooltip = L("Maximum detour distance for avoiding crossing wall. Don't detour if the detour distance is larger than this value. Detour length could be specified either as an absolute value or as percentage (for example 50%) of a direct travel path. Zero to disable.");
def->sidetext = L("mm or %");
def->min = 0;
def->max_literal = 1000;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(0., false));
def = this->add("bridge_density", coPercent);
def->label = L("External bridge density");
def->category = L("Print/Quality");
def->tooltip = L("Controls the density (spacing) of external bridge lines. Default is 100%.\n\nLower density external bridges can help improve reliability as there is more space for air to circulate around the extruded bridge, improving its cooling speed. Minimum is 10%.\n\nHigher densities can produce smoother bridge surfaces, as overlapping lines provide additional support during printing. Maximum is 120%.\nNote: Bridge density that is too high can cause warping or overextrusion.");
def->sidetext = L("%");
def->min = 10;
def->max = 120;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(100));
def = this->add("internal_bridge_density", coPercent);
def->label = L("Internal bridge density");
def->category = L("Print/Quality");
def->tooltip = L("Controls the density (spacing) of internal bridge lines. 100% means solid bridge. Default is 100%.\n\nLower density internal bridges can help reduce top surface pillowing and improve internal bridge reliability as there is more space for air to circulate around the extruded bridge, improving its cooling speed.\n\nThis option works particularly well when combined with the second internal bridge over infill option, further improving internal bridging structure before solid infill is extruded.");
def->sidetext = L("%");
def->min = 10;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(100));
def = this->add("bridge_flow", coFloat);
def->label = L("Bridge flow ratio");
def->category = L("Print/Quality");
def->tooltip = L("Decrease this value slightly (for example 0.9) to reduce the amount of material for bridge, to improve sag.\n\nThe actual bridge flow used is calculated by multiplying this value with the filament flow ratio, and if set, the object's flow ratio.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("internal_bridge_flow", coFloat);
def->label = L("Internal bridge flow ratio");
def->category = L("Print/Quality");
def->tooltip = L("This value governs the thickness of the internal bridge layer. This is the first layer over sparse infill. Decrease this value slightly (for example 0.9) to improve surface quality over sparse infill.\n\nThe actual internal bridge flow used is calculated by multiplying this value with the bridge flow ratio, the filament flow ratio, and if set, the object's flow ratio.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("top_solid_infill_flow_ratio", coFloat);
def->label = L("Top surface flow ratio");
def->category = L("Print/Quality");
def->tooltip = L("This factor affects the amount of material for top solid infill. You can decrease it slightly to have smooth surface finish.\n\nThe actual top surface flow used is calculated by multiplying this value with the filament flow ratio, and if set, the object's flow ratio.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("bottom_solid_infill_flow_ratio", coFloat);
def->label = L("Bottom surface flow ratio");
def->category = L("Print/Quality");
def->tooltip = L("This factor affects the amount of material for bottom solid infill.\n\nThe actual bottom solid infill flow used is calculated by multiplying this value with the filament flow ratio, and if set, the object's flow ratio.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("set_other_flow_ratios", coBool);
def->label = L("Set other flow ratios");
def->category = L("Print/Quality");
def->tooltip = L("Change flow ratios for other extrusion path types.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("first_layer_flow_ratio", coFloat);
def->label = L("First layer flow ratio");
def->category = L("Print/Quality");
def->tooltip = L("This factor affects the amount of material on the first layer for the extrusion path roles listed in this section.\n\nFor the first layer, the actual flow ratio for each path role (does not affect brims and skirts) will be multiplied by this value.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("outer_wall_flow_ratio", coFloat);
def->label = L("Outer wall flow ratio");
def->category = L("Print/Quality");
def->tooltip = L("This factor affects the amount of material for outer walls.\n\nThe actual outer wall flow used is calculated by multiplying this value by the filament flow ratio, and if set, the object's flow ratio.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("inner_wall_flow_ratio", coFloat);
def->label = L("Inner wall flow ratio");
def->category = L("Print/Quality");
def->tooltip = L("This factor affects the amount of material for inner walls.\n\nThe actual inner wall flow used is calculated by multiplying this value by the filament flow ratio, and if set, the object's flow ratio.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("overhang_flow_ratio", coFloat);
def->label = L("Overhang flow ratio");
def->category = L("Print/Quality");
def->tooltip = L("This factor affects the amount of material for overhangs.\n\nThe actual overhang flow used is calculated by multiplying this value by the filament flow ratio, and if set, the object's flow ratio.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("sparse_infill_flow_ratio", coFloat);
def->label = L("Sparse infill flow ratio");
def->category = L("Print/Quality");
def->tooltip = L("This factor affects the amount of material for sparse infill.\n\nThe actual sparse infill flow used is calculated by multiplying this value by the filament flow ratio, and if set, the object's flow ratio.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("internal_solid_infill_flow_ratio", coFloat);
def->label = L("Internal solid infill flow ratio");
def->category = L("Print/Quality");
def->tooltip = L("This factor affects the amount of material for internal solid infill.\n\nThe actual internal solid infill flow used is calculated by multiplying this value by the filament flow ratio, and if set, the object's flow ratio.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("gap_fill_flow_ratio", coFloat);
def->label = L("Gap fill flow ratio");
def->category = L("Print/Quality");
def->tooltip = L("This factor affects the amount of material for filling the gaps.\n\nThe actual gap filling flow used is calculated by multiplying this value by the filament flow ratio, and if set, the object's flow ratio.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("support_flow_ratio", coFloat);
def->label = L("Support flow ratio");
def->category = L("Print/Quality");
def->tooltip = L("This factor affects the amount of material for support.\n\nThe actual support flow used is calculated by multiplying this value by the filament flow ratio, and if set, the object's flow ratio.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("support_interface_flow_ratio", coFloat);
def->label = L("Support interface flow ratio");
def->category = L("Print/Quality");
def->tooltip = L("This factor affects the amount of material for the support interface.\n\nThe actual support interface flow used is calculated by multiplying this value by the filament flow ratio, and if set, the object's flow ratio.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("precise_outer_wall", coBool);
def->label = L("Precise wall");
def->category = L("Print/Quality");
def->tooltip = L("Improve shell precision by adjusting outer wall spacing. This also improves layer consistency. NOTE: This option will be ignored for outer-inner or inner-outer-inner wall sequences.");
def->set_default_value(new ConfigOptionBool(true));
def = this->add("only_one_wall_top", coBool);
def->label = L("Only one wall on top surfaces");
def->category = L("Print/Quality");
def->tooltip = L("Use only one wall on flat top surfaces, to give more space to the top infill pattern.");
def->set_default_value(new ConfigOptionBool(false));
def = this->add("min_width_top_surface", coFloatOrPercent);
def->label = L("One wall threshold");
def->category = L("Print/Quality");
def->tooltip = L("If a top surface has to be printed and it's partially covered by another layer, it won't be considered at a top layer where its width is below this value. This can be useful to not let the 'one perimeter on top' trigger on surface that should be covered only by perimeters. This value can be a mm or a % of the perimeter extrusion width.\nWarning: If enabled, artifacts can be created if you have some thin features on the next layer, like letters. Set this setting to 0 to remove these artifacts.");
def->sidetext = L("mm or %");
def->min = 0;
def->max_literal = 15;
def->ratio_over = "inner_wall_line_width";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(300, true));
def = this->add("only_one_wall_first_layer", coBool);
def->label = L("Only one wall on first layer");
def->category = L("Print/Quality");
def->tooltip = L("Use only one wall on first layer, to give more space to the bottom infill pattern.");
def->set_default_value(new ConfigOptionBool(false));
def = this->add("extra_perimeters_on_overhangs", coBool);
def->label = L("Extra perimeters on overhangs");
def->category = L("Print/Quality");
def->tooltip = L("Create additional perimeter paths over steep overhangs and areas where bridges cannot be anchored.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("overhang_reverse", coBool);
def->label = L("Reverse on even");
def->full_label = L("Overhang reversal");
def->category = L("Print/Quality");
def->tooltip = L("Extrude perimeters that have a part over an overhang in the reverse direction on even layers. This alternating pattern can drastically improve steep overhangs.\n\nThis setting can also help reduce part warping due to the reduction of stresses in the part walls.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("overhang_reverse_internal_only", coBool);
def->label = L("Reverse only internal perimeters");
def->full_label = L("Reverse only internal perimeters");
def->category = L("Print/Quality");
def->tooltip = L("Apply the reverse perimeters logic only on internal perimeters.\n\nThis setting greatly reduces part stresses as they are now distributed in alternating directions. This should reduce part warping while also maintaining external wall quality. This feature can be very useful for warp prone material, like ABS/ASA, and also for elastic filaments, like TPU and Silk PLA. It can also help reduce warping on floating regions over supports.\n\nFor this setting to be the most effective, it is recommended to set the Reverse Threshold to 0 so that all internal walls print in alternating directions on even layers irrespective of their overhang degree.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("counterbore_hole_bridging", coEnum);
def->label = L("Bridge counterbore holes");
def->category = L("Print/Quality");
def->tooltip = L("This option creates bridges for counterbore holes, allowing them to be printed without support. Available modes include:\n1. None: No bridge is created\n2. Partially Bridged: Only a part of the unsupported area will be bridged\n3. Sacrificial Layer: A full sacrificial bridge layer is created");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<CounterboreHoleBridgingOption>::get_enum_values();
def->enum_values.push_back("none");
def->enum_values.push_back("partiallybridge");
def->enum_values.push_back("sacrificiallayer");
def->enum_labels.push_back(L("None"));
def->enum_labels.push_back(L("Partially bridged"));
def->enum_labels.push_back(L("Sacrificial layer"));
def->set_default_value(new ConfigOptionEnum<CounterboreHoleBridgingOption>(chbNone));
def = this->add("overhang_reverse_threshold", coFloatOrPercent);
def->label = L("Reverse threshold");
def->full_label = L("Overhang reversal threshold");
def->category = L("Print/Quality");
def->tooltip = L("Number of mm the overhang need to be for the reversal to be considered useful. Can be a % of the perimeter width.\nValue 0 enables reversal on every even layers regardless.\nWhen Detect overhang wall is not enabled, this option is ignored and reversal happens on every even layers regardless.");
def->sidetext = L("mm or %");
def->min = 0;
def->max_literal = 20;
def->ratio_over = "line_width";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(50, true));
def = this->add("thick_bridges", coBool);
def->label = L("Thick external bridges");
def->category = L("Print/Quality");
def->tooltip = L("If enabled, bridges are more reliable, can bridge longer distances, but may look worse. If disabled, bridges look better but are reliable just for shorter bridged distances.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("thick_internal_bridges", coBool);
def->label = L("Thick internal bridges");
def->category = L("Print/Quality");
def->tooltip = L("If enabled, thick internal bridges will be used. It's usually recommended to have this feature turned on. However, consider turning it off if you are using large nozzles.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("enable_extra_bridge_layer", coEnum);
def->label = L("Extra bridge layers (beta)");
def->category = L("Print/Quality");
def->tooltip = L("This option enables the generation of an extra bridge layer over internal and/or external bridges.\n\nExtra bridge layers help improve bridge appearance and reliability, as the solid infill is better supported. This is especially useful in fast printers, where the bridge and solid infill speeds vary greatly. The extra bridge layer results in reduced pillowing on top surfaces, as well as reduced separation of the external bridge layer from its surrounding perimeters.\n\nIt is generally recommended to set this to at least 'External bridge only', unless specific issues with the sliced model are found.\n\nOptions:\n1. Disabled - does not generate second bridge layers. This is the default and is set for compatibility purposes\n2. External bridge only - generates second bridge layers for external-facing bridges only. Please note that small bridges that are shorter or narrower than the set number of perimeters will be skipped as they would not benefit from a second bridge layer. If generated, the second bridge layer will be extruded parallel to the first bridge layer to reinforce the bridge strength\n3. Internal bridge only - generates second bridge layers for internal bridges over sparse infill only. Please note that the internal bridges count towards the top shell layer count of your model. The second internal bridge layer will be extruded as close to perpendicular to the first as possible. If multiple regions in the same island, with varying bridge angles are present, the last region of that island will be selected as the angle reference\n4. Apply to all - generates second bridge layers for both internal and external-facing bridges\n");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<EnableExtraBridgeLayer>::get_enum_values();
def->enum_values.push_back("disabled");
def->enum_values.push_back("external_bridge_only");
def->enum_values.push_back("internal_bridge_only");
def->enum_values.push_back("apply_to_all");
def->enum_labels.push_back(L("Disabled"));
def->enum_labels.push_back(L("External bridge only"));
def->enum_labels.push_back(L("Internal bridge only"));
def->enum_labels.push_back(L("Apply to all"));
def->set_default_value(new ConfigOptionEnum<EnableExtraBridgeLayer>(eblDisabled));
def = this->add("dont_filter_internal_bridges", coEnum);
def->label = L("Filter out small internal bridges");
def->category = L("Print/Quality");
def->tooltip = L("This option can help reduce pillowing on top surfaces in heavily slanted or curved models.\nBy default, small internal bridges are filtered out and the internal solid infill is printed directly over the sparse infill. This works well in most cases, speeding up printing without too much compromise on top surface quality.\nHowever, in heavily slanted or curved models, especially where too low a sparse infill density is used, this may result in curling of the unsupported solid infill, causing pillowing.\nEnabling limited filtering or no filtering will print internal bridge layer over slightly unsupported internal solid infill. The options below control the sensitivity of the filtering, i.e. they control where internal bridges are created:\n1. Filter - enables this option. This is the default behavior and works well in most cases\n2. Limited filtering - creates internal bridges on heavily slanted surfaces while avoiding unnecessary bridges. This works well for most difficult models\n3. No filtering - creates internal bridges on every potential internal overhang. This option is useful for heavily slanted top surface models; however, in most cases, it creates too many ");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<InternalBridgeFilter>::get_enum_values();
def->enum_values.push_back("disabled");
def->enum_values.push_back("limited");
def->enum_values.push_back("nofilter");
def->enum_labels.push_back(L("Filter"));
def->enum_labels.push_back(L("Limited filtering"));
def->enum_labels.push_back(L("No filtering"));
def->set_default_value(new ConfigOptionEnum<InternalBridgeFilter>(ibfDisabled));
def = this->add("outer_wall_line_width", coFloatOrPercent);
def->label = L("Outer wall");
def->category = L("Print/Quality");
def->tooltip = L("Line width of outer wall. If expressed as a %, it will be computed over the nozzle diameter.");
def->sidetext = L("mm or %");
def->min = 0;
def->max = 1000;
def->max_literal = 10;
def->ratio_over = "nozzle_diameter";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(0., false));
def = this->add("wall_sequence", coEnum);
def->label = L("Walls printing order");
def->category = L("Print/Quality");
def->tooltip = L("Print sequence of the internal (inner) and external (outer) walls.\n\nUse Inner/Outer for best overhangs. This is because the overhanging walls can adhere to a neighbouring perimeter while printing. However, this option results in slightly reduced surface quality as the external perimeter is deformed by being squashed to the internal perimeter.\n\nUse Inner/Outer/Inner for the best external surface finish and dimensional accuracy as the external wall is printed undisturbed from an internal perimeter. However, overhang performance will reduce as there is no internal perimeter to print the external wall against. This option requires a minimum of 3 walls to be effective as it prints the internal walls from the 3rd perimeter onwards first, then the external perimeter and, finally, the first internal perimeter. This option is recommended against the Outer/Inner option in most cases.\n\nUse Outer/Inner for the same external wall quality and dimensional accuracy benefits of Inner/Outer/Inner option. However, the Z seams will appear less consistent as the first extrusion of a new layer starts on a visible surface.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<WallSequence>::get_enum_values();
def->enum_values.push_back("inner wall/outer wall");
def->enum_values.push_back("outer wall/inner wall");
def->enum_values.push_back("inner-outer-inner wall");
def->enum_labels.push_back(L("Inner/Outer"));
def->enum_labels.push_back(L("Outer/Inner"));
def->enum_labels.push_back(L("Inner/Outer/Inner"));
def->set_default_value(new ConfigOptionEnum<WallSequence>(WallSequence::InnerOuter));
def = this->add("is_infill_first", coBool);
def->label = L("Print infill first");
def->category = L("Print/Quality");
def->tooltip = L("Order of wall/infill. When the tickbox is unchecked the walls are printed first, which works best in most cases.\n\nPrinting infill first may help with extreme overhangs as the walls have the neighbouring infill to adhere to. However, the infill will slightly push out the printed walls where it is attached to them, resulting in a worse external surface finish. It can also cause the infill to shine through the external surfaces of the part.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("wall_direction", coEnum);
def->label = L("Wall loop direction");
def->category = L("Print/Quality");
def->tooltip = L("The direction which the contour wall loops are extruded when looking down from the top.\nHoles are printed in the opposite direction to the contour to maintain alignment with layers whose contour polygons are incomplete and change direction, also partially forming the contour of a hole.\n\nThis option will be disabled if spiral vase mode is enabled.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<WallDirection>::get_enum_values();
def->enum_values.push_back("ccw");
def->enum_values.push_back("cw");
def->enum_labels.push_back(L("Counter clockwise"));
def->enum_labels.push_back(L("Clockwise"));
def->set_default_value(new ConfigOptionEnum<WallDirection>(WallDirection::CounterClockwise));
def = this->add("print_flow_ratio", coFloat);
def->label = L("Flow ratio");
def->category = L("Print/Quality");
def->tooltip = L("The material may have volumetric change after switching between molten and crystalline states. This setting changes all extrusion flow of this filament in G-code proportionally. The recommended value range is between 0.95 and 1.05. You may be able to tune this value to get a nice flat surface if there is slight overflow or underflow.\n\nThe final object flow ratio is this value multiplied by the filament flow ratio.");
def->min = 0.01;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1.f));
def = this->add("line_width", coFloatOrPercent);
def->label = L("Default");
def->category = L("Print/Quality");
def->tooltip = L("Default line width if other line widths are set to 0. If expressed as a %, it will be computed over the nozzle diameter.");
def->sidetext = L("mm or %");
def->min = 0;
def->max = 1000;
def->max_literal = 10;
def->ratio_over = "nozzle_diameter";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(0, false));
def = this->add("initial_layer_line_width", coFloatOrPercent);
def->label = L("First layer");
def->category = L("Print/Quality");
def->tooltip = L("Line width of the first layer. If expressed as a %, it will be computed over the nozzle diameter.");
def->sidetext = L("mm or %");
def->min = 0;
def->max = 1000;
def->max_literal = 10;
def->ratio_over = "nozzle_diameter";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(0., false));
def = this->add("initial_layer_print_height", coFloat);
def->label = L("First layer height");
def->category = L("Print/Quality");
def->tooltip = L("Height of the first layer. Making the first layer height thicker can improve build plate adhesion.");
def->sidetext = L("mm");
def->min = 0;
def->set_default_value(new ConfigOptionFloat(0.2));
def = this->add("precise_z_height", coBool);
def->label = L("Precise Z height");
def->category = L("Print/Quality");
def->tooltip = L("Enable this to get precise Z height of object after slicing. It will get the precise object height by fine-tuning the layer heights of the last few layers. Note that this is an experimental parameter.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(0));
def = this->add("enable_arc_fitting", coBool);
def->label = L("Arc fitting");
def->category = L("Print/Quality");
def->tooltip = L("Enable this to get a G-code file which has G2 and G3 moves. The fitting tolerance is same as the resolution.\n\nNote: For Klipper machines, this option is recommended to be disabled. Klipper does not benefit from arc commands as these are split again into line segments by the firmware. This results in a reduction in surface quality as line segments are converted to arcs by the slicer and then back to line segments by the firmware.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(0));
def = this->add("sparse_infill_line_width", coFloatOrPercent);
def->label = L("Sparse infill");
def->category = L("Print/Quality");
def->tooltip = L("Line width of internal sparse infill. If expressed as a %, it will be computed over the nozzle diameter.");
def->sidetext = L("mm or %");
def->min = 0;
def->max = 1000;
def->max_literal = 10;
def->ratio_over = "nozzle_diameter";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(0., false));
def = this->add("ironing_type", coEnum);
def->label = L("Ironing Type");
def->category = L("Print/Quality");
def->tooltip = L("Ironing is using small flow to print on same height of surface again to make flat surface more smooth. This setting controls which layer being ironed.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<IroningType>::get_enum_values();
def->enum_values.push_back("no ironing");
def->enum_values.push_back("top");
def->enum_values.push_back("topmost");
def->enum_values.push_back("solid");
def->enum_labels.push_back(L("No ironing"));
def->enum_labels.push_back(L("Top surfaces"));
def->enum_labels.push_back(L("Topmost surface"));
def->enum_labels.push_back(L("All solid layers"));
def->set_default_value(new ConfigOptionEnum<IroningType>(IroningType::NoIroning));
def = this->add("ironing_pattern", coEnum);
def->label = L("Ironing Pattern");
def->category = L("Print/Quality");
def->tooltip = L("The pattern that will be used when ironing.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<InfillPattern>::get_enum_values();
def->enum_values.push_back("rectilinear");
def->enum_values.push_back("concentric");
def->enum_labels.push_back(L("Rectilinear"));
def->enum_labels.push_back(L("Concentric"));
def->set_default_value(new ConfigOptionEnum<InfillPattern>(ipRectilinear));
def = this->add("ironing_flow", coPercent);
def->label = L("Ironing flow");
def->category = L("Print/Quality");
def->tooltip = L("The amount of material to extrude during ironing. Relative to flow of normal layer height. Too high value results in overextrusion on the surface.");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->ratio_over = "layer_height";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(10));
def = this->add("ironing_spacing", coFloat);
def->label = L("Ironing line spacing");
def->category = L("Print/Quality");
def->tooltip = L("The distance between the lines of ironing.");
def->sidetext = L("mm");
def->min = 0;
def->max = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.1));
def = this->add("ironing_inset", coFloat);
def->label = L("Ironing inset");
def->category = L("Print/Quality");
def->tooltip = L("The distance to keep from the edges. A value of 0 sets this to half of the nozzle diameter.");
def->sidetext = L("mm");
def->min = 0;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("ironing_angle", coFloat);
def->label = L("Ironing angle offset");
def->category = L("Print/Quality");
def->tooltip = L("The angle of ironing lines offset from the top surface.");
def->sidetext = L("°");
def->min = 0;
def->max = 359;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("ironing_angle_fixed", coBool);
def->label = L("Fixed ironing angle");
def->category = L("Print/Quality");
def->tooltip = L("Use a fixed absolute angle for ironing.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("zaa_enabled", coBool);
def->label = L("Z contouring enabled");
def->category = L("Print/Quality");
def->tooltip = L("Enable Z-layer contouring (aka Z-layer anti-aliasing).");
def->set_default_value(new ConfigOptionBool(false));
def = this->add("zaa_minimize_perimeter_height", coFloat);
def->label = L("Minimize wall height angle");
def->category = L("Print/Quality");
def->tooltip = L("Reduce the height of top-surface perimeters to match the model edge height.\nAffects perimeters with a slope less than this angle (degrees).\nA reasonable value is 35. Set to 0 to disable.");
def->sidetext = L("°");
def->min = 0;
def->max = 90;
def->set_default_value(new ConfigOptionFloat(35));
def = this->add("zaa_dont_alternate_fill_direction", coBool);
def->label = L("Don't alternate fill direction");
def->category = L("Print/Quality");
def->tooltip = L("Disable alternating fill direction when using Z contouring.");
def->set_default_value(new ConfigOptionBool(false));
def = this->add("zaa_min_z", coFloat);
def->label = L("Minimum z height");
def->category = L("Print/Quality");
def->tooltip = L("Minimum Z-layer height.\nAlso controls the slicing plane.");
def->sidetext = L("mm");
def->min = 0;
def->max = 100;
def->set_default_value(new ConfigOptionFloat(0.05));
def = this->add("small_area_infill_flow_compensation", coBool);
def->label = L("Small area flow compensation (beta)");
def->category = L("Print/Quality");
def->tooltip = L("Enable flow compensation for small infill areas.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("small_area_infill_flow_compensation_model", coStrings);
def->label = L("Flow Compensation Model");
def->category = L("Print/Quality");
def->tooltip = L("Flow Compensation Model, used to adjust the flow for small infill areas. The model is expressed as a comma separated pair of values for extrusion length and flow correction factor. Each pair is on a separate line, followed by a semicolon, in the following format: \"1.234, 5.678;\"");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 15;
def->gui_flags = "serialized";
def->set_default_value(new ConfigOptionStrings{"0,0", "
0.2,0.4444", "
0.4,0.6145", "
0.6,0.7059", "
0.8,0.7619", "
1.5,0.8571", "
2,0.8889", "
3,0.9231", "
5,0.9520", "
10,1"});
def = this->add("make_overhang_printable", coBool);
def->label = L("Make overhangs printable");
def->category = L("Print/Quality");
def->tooltip = L("Modify the geometry to print overhangs without support material.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("make_overhang_printable_angle", coFloat);
def->label = L("Make overhangs printable - Maximum angle");
def->category = L("Print/Quality");
def->tooltip = L("Maximum angle of overhangs to allow after making more steep overhangs printable.90° will not change the model at all and allow any overhang, while 0 will replace all overhangs with conical material.");
def->sidetext = L("°");
def->min = 0;
def->max = 90;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(55.));
def = this->add("make_overhang_printable_hole_size", coFloat);
def->label = L("Make overhangs printable - Hole area");
def->category = L("Print/Quality");
def->tooltip = L("Maximum area of a hole in the base of the model before it's filled by conical material. A value of 0 will fill all the holes in the model base.");
def->sidetext = L("mm²");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.));
def = this->add("detect_overhang_wall", coBool);
def->label = L("Detect overhang walls");
def->category = L("Print/Quality");
def->tooltip = L("Detect the overhang percentage relative to line width and use different speed to print. For 100%% overhang, bridge speed is used.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("inner_wall_line_width", coFloatOrPercent);
def->label = L("Inner wall");
def->category = L("Print/Quality");
def->tooltip = L("Line width of inner wall. If expressed as a %, it will be computed over the nozzle diameter.");
def->sidetext = L("mm or %");
def->min = 0;
def->max = 1000;
def->max_literal = 10;
def->ratio_over = "nozzle_diameter";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(0., false));
def = this->add("resolution", coFloat);
def->label = L("Resolution");
def->category = L("Print/Quality");
def->tooltip = L("The G-code path is generated after simplifying the contour of models to avoid too many points and G-code lines. Smaller value means higher resolution and more time to slice.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.01));
def = this->add("seam_position", coEnum);
def->label = L("Seam position");
def->category = L("Print/Quality");
def->tooltip = L("The start position to print each part of outer wall.");
def->enum_keys_map = &ConfigOptionEnum<SeamPosition>::get_enum_values();
def->enum_values.push_back("nearest");
def->enum_values.push_back("aligned");
def->enum_values.push_back("aligned_back");
def->enum_values.push_back("back");
def->enum_values.push_back("random");
def->enum_labels.push_back(L("Nearest"));
def->enum_labels.push_back(L("Aligned"));
def->enum_labels.push_back(L("Aligned back"));
def->enum_labels.push_back(L("Back"));
def->enum_labels.push_back(L("Random"));
def->set_default_value(new ConfigOptionEnum<SeamPosition>(spAligned));
def = this->add("staggered_inner_seams", coBool);
def->label = L("Staggered inner seams");
def->category = L("Print/Quality");
def->tooltip = L("This option causes the inner seams to be shifted backwards based on their depth, forming a zigzag pattern.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("seam_gap", coFloatOrPercent);
def->label = L("Seam gap");
def->category = L("Print/Quality");
def->tooltip = L("In order to reduce the visibility of the seam in a closed loop extrusion, the loop is interrupted and shortened by a specified amount.\nThis amount can be specified in millimeters or as a percentage of the current extruder diameter. The default value for this parameter is 10%.");
def->sidetext = L("mm or %");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(10,true));
def = this->add("seam_slope_type", coEnum);
def->label = L("Scarf joint seam (beta)");
def->category = L("Print/Quality");
def->tooltip = L("Use scarf joint to minimize seam visibility and increase seam strength.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<SeamScarfType>::get_enum_values();
def->enum_values.push_back("none");
def->enum_values.push_back("external");
def->enum_values.push_back("all");
def->enum_labels.push_back(L("None"));
def->enum_labels.push_back(L("Contour"));
def->enum_labels.push_back(L("Contour and hole"));
def->set_default_value(new ConfigOptionEnum<SeamScarfType>(SeamScarfType::None));
def = this->add("seam_slope_conditional", coBool);
def->label = L("Conditional scarf joint");
def->category = L("Print/Quality");
def->tooltip = L("Apply scarf joints only to smooth perimeters where traditional seams do not conceal the seams at sharp corners effectively.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("scarf_angle_threshold", coInt);
def->label = L("Conditional angle threshold");
def->category = L("Print/Quality");
def->tooltip = L("This option sets the threshold angle for applying a conditional scarf joint seam.\nIf the maximum angle within the perimeter loop exceeds this value (indicating the absence of sharp corners), a scarf joint seam will be used. The default value is 155°.");
def->sidetext = L("°");
def->min = 0;
def->max = 180;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInt(155));
def = this->add("scarf_overhang_threshold", coPercent);
def->label = L("Conditional overhang threshold");
def->category = L("Print/Quality");
def->tooltip = L("This option determines the overhang threshold for the application of scarf joint seams. If the unsupported portion of the perimeter is less than this threshold, scarf joint seams will be applied. The default threshold is set at 40% of the external wall's width. Due to performance considerations, the degree of overhang is estimated.");
def->sidetext = L("%");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(40));
def = this->add("scarf_joint_speed", coFloatOrPercent);
def->label = L("Scarf joint speed");
def->category = L("Print/Quality");
def->tooltip = L("This option sets the printing speed for scarf joints. It is recommended to print scarf joints at a slow speed (less than 100 mm/s). It's also advisable to enable 'Extrusion rate smoothing' if the set speed varies significantly from the speed of the outer or inner walls. If the speed specified here is higher than the speed of the outer or inner walls, the printer will default to the slower of the two speeds. When specified as a percentage (e.g., 80%), the speed is calculated based on the respective outer or inner wall speed. The default value is set to 100%.");
def->sidetext = L("mm/s or %");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(100, true));
def = this->add("scarf_joint_flow_ratio", coFloat);
def->label = L("Scarf joint flow ratio");
def->category = L("Print/Quality");
def->tooltip = L("This factor affects the amount of material for scarf joints.");
def->min = 0;
def->max = 2;
def->set_default_value(new ConfigOptionFloat(1));
def = this->add("seam_slope_start_height", coFloatOrPercent);
def->label = L("Scarf start height");
def->category = L("Print/Quality");
def->tooltip = L("Start height of the scarf.\nThis amount can be specified in millimeters or as a percentage of the current layer height. The default value for this parameter is 0.");
def->sidetext = L("mm or %");
def->min = 0;
def->ratio_over = "layer_height";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(0, false));
def = this->add("seam_slope_entire_loop", coBool);
def->label = L("Scarf around entire wall");
def->category = L("Print/Quality");
def->tooltip = L("The scarf extends to the entire length of the wall.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("seam_slope_min_length", coFloat);
def->label = L("Scarf length");
def->category = L("Print/Quality");
def->tooltip = L("Length of the scarf. Setting this parameter to zero effectively disables the scarf.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(20));
def = this->add("seam_slope_steps", coInt);
def->label = L("Scarf steps");
def->category = L("Print/Quality");
def->tooltip = L("Minimum number of segments of each scarf.");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInt(10));
def = this->add("seam_slope_inner_walls", coBool);
def->label = L("Scarf joint for inner walls");
def->category = L("Print/Quality");
def->tooltip = L("Use scarf joint for inner walls as well.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("role_based_wipe_speed", coBool);
def->label = L("Role base wipe speed");
def->category = L("Print/Quality");
def->tooltip = L("The wipe speed is determined by the speed of the current extrusion role. e.g. if a wipe action is executed immediately following an outer wall extrusion, the speed of the outer wall extrusion will be utilized for the wipe action.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("wipe_on_loops", coBool);
def->label = L("Wipe on loops");
def->category = L("Print/Quality");
def->tooltip = L("To minimize the visibility of the seam in a closed loop extrusion, a small inward movement is executed before the extruder leaves the loop.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("wipe_before_external_loop", coBool);
def->label = L("Wipe before external loop");
def->category = L("Print/Quality");
def->tooltip = L("To minimize visibility of potential overextrusion at the start of an external perimeter when printing with Outer/Inner or Inner/Outer/Inner wall print order, the de-retraction is performed slightly on the inside from the start of the external perimeter. That way any potential over extrusion is hidden from the outside surface.\n\nThis is useful when printing with Outer/Inner or Inner/Outer/Inner wall print order as in these modes it is more likely an external perimeter is printed immediately after a de-retraction move.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("wipe_speed", coFloatOrPercent);
def->label = L("Wipe speed");
def->category = L("Print/Quality");
def->tooltip = L("The wipe speed is determined by the speed setting specified in this configuration. If the value is expressed as a percentage (e.g. 80%), it will be calculated based on the travel speed setting above. The default value for this parameter is 80%.");
def->sidetext = L("mm/s or %");
def->min = 0;
def->ratio_over = "travel_speed";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(80,true));
def = this->add("internal_solid_infill_line_width", coFloatOrPercent);
def->label = L("Internal solid infill");
def->category = L("Print/Quality");
def->tooltip = L("Line width of internal solid infill. If expressed as a %, it will be computed over the nozzle diameter.");
def->sidetext = L("mm or %");
def->min = 0;
def->max = 1000;
def->max_literal = 10;
def->ratio_over = "nozzle_diameter";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(0., false));
def = this->add("slice_closing_radius", coFloat);
def->label = L("Slice gap closing radius");
def->category = L("Print/Quality");
def->tooltip = L("Cracks smaller than 2x gap closing radius are being filled during the triangle mesh slicing. The gap closing operation may reduce the final print resolution, therefore it is advisable to keep the value reasonably low.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.049));
def = this->add("support_line_width", coFloatOrPercent);
def->label = L("Support");
def->category = L("Print/Quality");
def->tooltip = L("Line width of support. If expressed as a %, it will be computed over the nozzle diameter.");
def->sidetext = L("mm or %");
def->min = 0;
def->max = 1000;
def->max_literal = 10;
def->ratio_over = "nozzle_diameter";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(0., false));
def = this->add("top_surface_line_width", coFloatOrPercent);
def->label = L("Top surface");
def->category = L("Print/Quality");
def->tooltip = L("Line width for top surfaces. If expressed as a %, it will be computed over the nozzle diameter.");
def->sidetext = L("mm or %");
def->min = 0;
def->max = 1000;
def->max_literal = 10;
def->ratio_over = "nozzle_diameter";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(0., false));
def = this->add("xy_hole_compensation", coFloat);
def->label = L("X-Y hole compensation");
def->category = L("Print/Quality");
def->tooltip = L("Holes in objects will expand or contract in the XY plane by the configured value. Positive values make holes bigger, negative values make holes smaller. This function is used to adjust sizes slightly when the objects have assembling issues.");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("xy_contour_compensation", coFloat);
def->label = L("X-Y contour compensation");
def->category = L("Print/Quality");
def->tooltip = L("Contours of objects will expand or contract in the XY plane by the configured value. Positive values make contours bigger, negative values make contours smaller. This function is used to adjust sizes slightly when the objects have assembling issues.");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("hole_to_polyhole", coBool);
def->label = L("Convert holes to polyholes");
def->category = L("Print/Quality");
def->tooltip = L("Search for almost-circular holes that span more than one layer and convert the geometry to polyholes. Use the nozzle size and the (biggest) diameter to compute the polyhole.\nSee http://hydraraptor.blogspot.com/2011/02/polyholes.html");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("hole_to_polyhole_threshold", coFloatOrPercent);
def->label = L("Polyhole detection margin");
def->category = L("Print/Quality");
def->tooltip = L("Maximum defection of a point to the estimated radius of the circle.\nAs cylinders are often exported as triangles of varying size, points may not be on the circle circumference. This setting allows you some leeway to broaden the detection.\nIn mm or in % of the radius.");
def->sidetext = L("mm or %");
def->max_literal = 10;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(0.01, false));
def = this->add("hole_to_polyhole_twisted", coBool);
def->label = L("Polyhole twist");
def->category = L("Print/Quality");
def->tooltip = L("Rotate the polyhole every layer.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("wall_generator", coEnum);
def->label = L("Wall generator");
def->category = L("Print/Quality");
def->tooltip = L("Classic wall generator produces walls with constant extrusion width and for very thin areas is used gap-fill. Arachne engine produces walls with variable extrusion width.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<PerimeterGeneratorType>::get_enum_values();
def->enum_values.push_back("classic");
def->enum_values.push_back("arachne");
def->enum_labels.push_back(L("Classic"));
def->enum_labels.push_back(L("Arachne"));
def->set_default_value(new ConfigOptionEnum<PerimeterGeneratorType>(PerimeterGeneratorType::Arachne));
def = this->add("wall_transition_length", coPercent);
def->label = L("Wall transition length");
def->category = L("Print/Quality");
def->tooltip = L("When transitioning between different numbers of walls as the part becomes thinner, a certain amount of space is allotted to split or join the wall segments. It's expressed as a percentage over nozzle diameter.");
def->sidetext = L("%");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(100));
def = this->add("wall_transition_filter_deviation", coPercent);
def->label = L("Wall transitioning filter margin");
def->category = L("Print/Quality");
def->tooltip = L("Prevent transitioning back and forth between one extra wall and one less. This margin extends the range of extrusion widths which follow to [Minimum wall width - margin, 2 * Minimum wall width + margin]. Increasing this margin reduces the number of transitions, which reduces the number of extrusion starts/stops and travel time. However, large extrusion width variation can lead to under- or overextrusion problems. It's expressed as a percentage over nozzle diameter.");
def->sidetext = L("%");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(25));
def = this->add("wall_transition_angle", coFloat);
def->label = L("Wall transitioning threshold angle");
def->category = L("Print/Quality");
def->tooltip = L("When to create transitions between even and odd numbers of walls. A wedge shape with an angle greater than this setting will not have transitions and no walls will be printed in the center to fill the remaining space. Reducing this setting reduces the number and length of these center walls, but may leave gaps or overextrude.");
def->sidetext = L("°");
def->min = 1;
def->max = 59;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(10.));
def = this->add("wall_distribution_count", coInt);
def->label = L("Wall distribution count");
def->category = L("Print/Quality");
def->tooltip = L("The number of walls, counted from the center, over which the variation needs to be spread. Lower values mean that the outer walls don't change in width.");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInt(1));
def = this->add("min_feature_size", coPercent);
def->label = L("Minimum feature size");
def->category = L("Print/Quality");
def->tooltip = L("Minimum thickness of thin features. Model features that are thinner than this value will not be printed, while features thicker than than this value will be widened to the minimum wall width. It's expressed as a percentage over nozzle diameter.");
def->sidetext = L("%");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(25));
def = this->add("min_length_factor", coFloat);
def->label = L("Minimum wall length");
def->category = L("Print/Quality");
def->tooltip = L("Adjust this value to prevent short, unclosed walls from being printed, which could increase print time. Higher values remove more and longer walls.\n\nNOTE: Bottom and top surfaces will not be affected by this value to prevent visual gaps on the outside of the model. Adjust 'One wall threshold' in the Advanced settings below to adjust the sensitivity of what is considered a top-surface. 'One wall threshold' is only visible if this setting is set above the default value of 0.5, or if single-wall top surfaces is enabled.");
def->sidetext = L("mm");
def->min = 0;
def->max = 25;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.5));
def = this->add("wall_maximum_resolution", coFloat);
def->label = L("Maximum wall resolution");
def->category = L("Print/Quality");
def->tooltip = L("This value determines the smallest wall line segment length in mm. The smaller you set this value, the more accurate and precise the walls will be.");
def->sidetext = L("mm");
def->min = 0.005;
def->max = 0.5;
def->set_default_value(new ConfigOptionFloat(0.5f));
def = this->add("wall_maximum_deviation", coFloat);
def->label = L("Maximum wall deviation");
def->category = L("Print/Quality");
def->tooltip = L("The maximum deviation allowed when reducing the resolution for the 'Maximum wall resolution' setting. If you increase this, the print will be less accurate, but the G-Code will be smaller. 'Maximum wall deviation' limits 'Maximum wall resolution', so if the two conflict, 'Maximum wall deviation' takes precedence.");
def->sidetext = L("mm");
def->min = 0.005;
def->max = 0.05;
def->set_default_value(new ConfigOptionFloat(0.025f));
def = this->add("initial_layer_min_bead_width", coPercent);
def->label = L("First layer minimum wall width");
def->category = L("Print/Quality");
def->tooltip = L("The minimum wall width that should be used for the first layer is recommended to be set to the same size as the nozzle. This adjustment is expected to enhance adhesion.");
def->sidetext = L("%");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(85));
def = this->add("min_bead_width", coPercent);
def->label = L("Minimum wall width");
def->category = L("Print/Quality");
def->tooltip = L("Width of the wall that will replace thin features (according to the Minimum feature size) of the model. If the Minimum wall width is thinner than the thickness of the feature, the wall will become as thick as the feature itself. It's expressed as a percentage over nozzle diameter.");
def->sidetext = L("%");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(85));
def = this->add("enable_overhang_speed", coBool);
def->label = L("Slow down for overhang");
def->category = L("Print/Speed");
def->tooltip = L("Enable this option to slow printing down for different overhang degree.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("slowdown_for_curled_perimeters", coBool);
def->label = L("Slow down for curled perimeters");
def->category = L("Print/Speed");
def->tooltip = L("Enable this option to slow down printing in areas where perimeters may have curled upwards. For example, additional slowdown will be applied when printing overhangs on sharp corners like the front of the Benchy hull, reducing curling which compounds over multiple layers.\n\nIt is generally recommended to have this option switched on unless your printer cooling is powerful enough or the print speed slow enough that perimeter curling does not happen. If printing with a high external perimeter speed, this parameter may introduce slight artifacts when slowing down due to the large variance in print speeds. If you notice artifacts, ensure your pressure advance is tuned correctly.\n\nNote: When this option is enabled, overhang perimeters are treated like overhangs, meaning the overhang speed is applied even if the overhanging perimeter is part of a bridge. For example, when the perimeters are 100% overhanging, with no wall supporting them from underneath, the 100% overhang speed will be applied.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("overhang_1_4_speed", coFloatOrPercent);
def->label = L("10%");
def->full_label = L("10%");
def->category = L("Print/Speed");
def->sidetext = L("mm/s or %");
def->min = 0;
def->ratio_over = "outer_wall_speed";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(0, false));
def = this->add("overhang_2_4_speed", coFloatOrPercent);
def->label = L("25%");
def->full_label = L("25%");
def->category = L("Print/Speed");
def->sidetext = L("mm/s or %");
def->min = 0;
def->ratio_over = "outer_wall_speed";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(0, false));
def = this->add("overhang_3_4_speed", coFloatOrPercent);
def->label = L("50%");
def->full_label = L("50%");
def->category = L("Print/Speed");
def->sidetext = L("mm/s or %");
def->min = 0;
def->ratio_over = "outer_wall_speed";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(0, false));
def = this->add("overhang_4_4_speed", coFloatOrPercent);
def->label = L("75%");
def->full_label = L("75%");
def->category = L("Print/Speed");
def->sidetext = L("mm/s or %");
def->min = 0;
def->ratio_over = "outer_wall_speed";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(0, false));
def = this->add("bridge_speed", coFloat);
def->label = L("External");
def->category = L("Print/Speed");
def->tooltip = L("Speed of the externally visible bridge extrusions.\n\nIn addition, if Slow down for curled perimeters is disabled or Classic overhang mode is enabled, it will be the print speed of overhang walls that are supported by less than 13%, whether they are part of a bridge or an overhang.");
def->sidetext = L("mm/s");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(25));
def = this->add("internal_bridge_speed", coFloatOrPercent);
def->label = L("Internal");
def->category = L("Print/Speed");
def->tooltip = L("Speed of internal bridges. If the value is expressed as a percentage, it will be calculated based on the bridge_speed. Default value is 150%.");
def->sidetext = L("mm/s or %");
def->min = 1;
def->ratio_over = "bridge_speed";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(150, true));
def = this->add("default_acceleration", coFloat);
def->label = L("Normal printing");
def->category = L("Print/Speed");
def->tooltip = L("The default acceleration of both normal printing and travel except initial layer.");
def->sidetext = L("mm/s²");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(500.0));
def = this->add("outer_wall_speed", coFloat);
def->label = L("Outer wall");
def->category = L("Print/Speed");
def->tooltip = L("Speed of outer wall which is outermost and visible. It's used to be slower than inner wall speed to get better quality.");
def->sidetext = L("mm/s");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(60));
def = this->add("small_perimeter_speed", coFloatOrPercent);
def->label = L("Small perimeters");
def->category = L("Print/Speed");
def->tooltip = L("This separate setting will affect the speed of perimeters having radius <= small_perimeter_threshold (usually holes). If expressed as percentage (for example: 80%) it will be calculated on the outer wall speed setting above. Set to zero for auto.");
def->sidetext = L("mm/s or %");
def->min = 1;
def->ratio_over = "outer_wall_speed";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(50, true));
def = this->add("small_perimeter_threshold", coFloat);
def->label = L("Small perimeters threshold");
def->category = L("Print/Speed");
def->tooltip = L("This sets the threshold for small perimeter length. Default threshold is 0mm.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("inner_wall_acceleration", coFloat);
def->label = L("Inner wall");
def->category = L("Print/Speed");
def->tooltip = L("Acceleration of inner walls.");
def->sidetext = L("mm/s²");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(10000));
def = this->add("travel_acceleration", coFloat);
def->label = L("Travel");
def->category = L("Print/Speed");
def->tooltip = L("Acceleration of travel moves.");
def->sidetext = L("mm/s²");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(10000));
def = this->add("top_surface_acceleration", coFloat);
def->label = L("Top surface");
def->category = L("Print/Speed");
def->tooltip = L("Acceleration of top surface infill. Using a lower value may improve top surface quality.");
def->sidetext = L("mm/s²");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(500));
def = this->add("outer_wall_acceleration", coFloat);
def->label = L("Outer wall");
def->category = L("Print/Speed");
def->tooltip = L("Acceleration of outer wall. Using a lower value can improve quality.");
def->sidetext = L("mm/s²");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(500));
def = this->add("bridge_acceleration", coFloatOrPercent);
def->label = L("Bridge");
def->category = L("Print/Speed");
def->tooltip = L("Acceleration of bridges. If the value is expressed as a percentage (e.g. 50%), it will be calculated based on the outer wall acceleration.");
def->sidetext = L("mm/s² or %");
def->min = 0;
def->ratio_over = "outer_wall_acceleration";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(50,true));
def = this->add("sparse_infill_acceleration", coFloatOrPercent);
def->label = L("Sparse infill");
def->category = L("Print/Speed");
def->tooltip = L("Acceleration of sparse infill. If the value is expressed as a percentage (e.g. 100%), it will be calculated based on the default acceleration.");
def->sidetext = L("mm/s² or %");
def->min = 0;
def->ratio_over = "default_acceleration";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(100, true));
def = this->add("internal_solid_infill_acceleration", coFloatOrPercent);
def->label = L("Internal solid infill");
def->category = L("Print/Speed");
def->tooltip = L("Acceleration of internal solid infill. If the value is expressed as a percentage (e.g. 100%), it will be calculated based on the default acceleration.");
def->sidetext = L("mm/s² or %");
def->min = 0;
def->ratio_over = "default_acceleration";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(100, true));
def = this->add("initial_layer_acceleration", coFloat);
def->label = L("First layer");
def->category = L("Print/Speed");
def->tooltip = L("Acceleration of the first layer. Using a lower value can improve build plate adhesion.");
def->sidetext = L("mm/s²");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(300));
def = this->add("initial_layer_travel_acceleration", coFloatOrPercent);
def->label = L("First layer travel");
def->category = L("Print/Speed");
def->tooltip = L("Travel acceleration of first layer.\nThe percentage value is relative to Travel Acceleration.");
def->sidetext = L("mm/s² or %");
def->min = 0;
def->ratio_over = "travel_acceleration";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(100, true));
def = this->add("accel_to_decel_enable", coBool);
def->label = L("Enable accel_to_decel");
def->category = L("Print/Speed");
def->tooltip = L("Klipper's max_accel_to_decel will be adjusted automatically.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("accel_to_decel_factor", coPercent);
def->label = L("accel_to_decel");
def->category = L("Print/Speed");
def->tooltip = L("Klipper's max_accel_to_decel will be adjusted to this %% of acceleration.");
def->sidetext = L("%");
def->min = 1;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(50));
def = this->add("default_jerk", coFloat);
def->label = L("Default");
def->category = L("Print/Speed");
def->tooltip = L("Default jerk.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("default_junction_deviation", coFloat);
def->label = L("Junction Deviation");
def->category = L("Print/Speed");
def->tooltip = L("Marlin Firmware Junction Deviation (replaces the traditional XY Jerk setting).");
def->sidetext = L("mm");
def->min = 0;
def->max = 0.3;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.f));
def = this->add("outer_wall_jerk", coFloat);
def->label = L("Outer wall");
def->category = L("Print/Speed");
def->tooltip = L("Jerk of outer walls.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(9));
def = this->add("inner_wall_jerk", coFloat);
def->label = L("Inner wall");
def->category = L("Print/Speed");
def->tooltip = L("Jerk of inner walls.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(9));
def = this->add("top_surface_jerk", coFloat);
def->label = L("Top surface");
def->category = L("Print/Speed");
def->tooltip = L("Jerk for top surface.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(9));
def = this->add("infill_jerk", coFloat);
def->label = L("Infill");
def->category = L("Print/Speed");
def->tooltip = L("Jerk for infill.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(9));
def = this->add("initial_layer_jerk", coFloat);
def->label = L("First layer");
def->category = L("Print/Speed");
def->tooltip = L("Jerk for the first layer.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(9));
def = this->add("travel_jerk", coFloat);
def->label = L("Travel");
def->category = L("Print/Speed");
def->tooltip = L("Jerk for travel.");
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(12));
def = this->add("initial_layer_travel_jerk", coFloatOrPercent);
def->label = L("First layer travel");
def->category = L("Print/Speed");
def->tooltip = L("Travel jerk of first layer.\nThe percentage value is relative to Travel Jerk.");
def->sidetext = L("mm/s or %");
def->min = 0;
def->ratio_over = "travel_jerk";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(100, true));
def = this->add("initial_layer_speed", coFloat);
def->label = L("First layer");
def->category = L("Print/Speed");
def->tooltip = L("Speed of the first layer except the solid infill part.");
def->sidetext = L("mm/s");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(30));
def = this->add("initial_layer_infill_speed", coFloat);
def->label = L("First layer infill");
def->category = L("Print/Speed");
def->tooltip = L("Speed of solid infill part of the first layer.");
def->sidetext = L("mm/s");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(60.0));
def = this->add("initial_layer_travel_speed", coFloatOrPercent);
def->label = L("First layer travel speed");
def->category = L("Print/Speed");
def->tooltip = L("Travel speed of the first layer.");
def->sidetext = L("mm/s or %");
def->min = 1;
def->ratio_over = "travel_speed";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(100, true));
def = this->add("slow_down_layers", coInt);
def->label = L("Number of slow layers");
def->category = L("Print/Speed");
def->tooltip = L("The first few layers are printed slower than normal. The speed is gradually increased in a linear fashion over the specified number of layers.");
def->sidetext = L("layers");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInt(0));
def = this->add("gap_infill_speed", coFloat);
def->label = L("Gap infill");
def->category = L("Print/Speed");
def->tooltip = L("Speed of gap infill. Gap usually has irregular line width and should be printed more slowly.");
def->sidetext = L("mm/s");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(30));
def = this->add("sparse_infill_speed", coFloat);
def->label = L("Sparse infill");
def->category = L("Print/Speed");
def->tooltip = L("Speed of internal sparse infill.");
def->sidetext = L("mm/s");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(100));
def = this->add("ironing_speed", coFloat);
def->label = L("Ironing speed");
def->category = L("Print/Speed");
def->tooltip = L("Print speed of ironing lines.");
def->sidetext = L("mm/s");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(20));
def = this->add("max_volumetric_extrusion_rate_slope", coFloat);
def->label = L("Extrusion rate smoothing");
def->category = L("Print/Speed");
def->tooltip = L("This parameter smooths out sudden extrusion rate changes that happen when the printer transitions from printing a high flow (high speed/larger width) extrusion to a lower flow (lower speed/smaller width) extrusion and vice versa.\n\nIt defines the maximum rate by which the extruded volumetric flow in mm³/s can change over time. Higher values mean higher extrusion rate changes are allowed, resulting in faster speed transitions.\n\nA value of 0 disables the feature.\n\nFor a high speed, high flow direct drive printer (like the Bambu lab or Voron) this value is usually not needed. However it can provide some marginal benefit in certain cases where feature speeds vary greatly. For example, when there are aggressive slowdowns due to overhangs. In these cases a high value of around 300-350 mm³/s² is recommended as this allows for just enough smoothing to assist pressure advance achieve a smoother flow transition.\n\nFor slower printers without pressure advance, the value should be set much lower. A value of 10-15 mm³/s² is a good starting point for direct drive extruders and 5-10 mm³/s² for Bowden style.\n\nThis feature is known as Pressure Equalizer in Prusa slicer.\n\nNote: this parameter disables arc fitting.");
def->sidetext = L("mm³/s²");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("max_volumetric_extrusion_rate_slope_segment_length", coFloat);
def->label = L("Smoothing segment length");
def->category = L("Print/Speed");
def->tooltip = L("A lower value results in smoother extrusion rate transitions. However, this results in a significantly larger G-code file and more instructions for the printer to process.\n\nDefault value of 3 works well for most cases. If your printer is stuttering, increase this value to reduce the number of adjustments made.\n\nAllowed values: 0.5-5");
def->sidetext = L("mm");
def->min = 0.5;
def->max = 5;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(3.0));
def = this->add("extrusion_rate_smoothing_external_perimeter_only", coBool);
def->label = L("Apply only on external features");
def->category = L("Print/Speed");
def->tooltip = L("Applies extrusion rate smoothing only on external perimeters and overhangs. This can help reduce artefacts due to sharp speed transitions on externally visible overhangs without impacting the print speed of features that will not be visible to the user.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("inner_wall_speed", coFloat);
def->label = L("Inner wall");
def->category = L("Print/Speed");
def->tooltip = L("Speed of inner wall.");
def->sidetext = L("mm/s");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(60));
def = this->add("internal_solid_infill_speed", coFloat);
def->label = L("Internal solid infill");
def->category = L("Print/Speed");
def->tooltip = L("Speed of internal solid infill, not the top and bottom surface.");
def->sidetext = L("mm/s");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(100));
def = this->add("support_interface_speed", coFloat);
def->label = L("Support interface");
def->category = L("Print/Speed");
def->tooltip = L("Speed of support interface.");
def->sidetext = L("mm/s");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(80));
def = this->add("support_speed", coFloat);
def->label = L("Support");
def->category = L("Print/Speed");
def->tooltip = L("Speed of support.");
def->sidetext = L("mm/s");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(80));
def = this->add("top_surface_speed", coFloat);
def->label = L("Top surface");
def->category = L("Print/Speed");
def->tooltip = L("Speed of top surface infill which is solid.");
def->sidetext = L("mm/s");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(100));
def = this->add("travel_speed", coFloat);
def->label = L("Travel");
def->category = L("Print/Speed");
def->tooltip = L("Speed of travel which is faster and without extrusion.");
def->sidetext = L("mm/s");
def->min = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(120));
def = this->add("bridge_no_support", coBool);
def->label = L("Don't support bridges");
def->category = L("Print/Support");
def->tooltip = L("Don't support the whole bridge area which make support very large. Bridges can usually be printed directly without support if not very long.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("max_bridge_length", coFloat);
def->label = L("Max bridge length");
def->category = L("Print/Support");
def->tooltip = L("Max length of bridges that don't need support. Set it to 0 if you want all bridges to be supported, and set it to a very large value if you don't want any bridges to be supported.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(10));
def = this->add("raft_contact_distance", coFloat);
def->label = L("Raft contact Z distance");
def->category = L("Print/Support");
def->tooltip = L("Z gap between raft and object. If Support Top Z Distance is 0, this value is ignored and the object is printed in direct contact with the raft (no gap).");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.1));
def = this->add("raft_first_layer_density", coPercent);
def->label = L("First layer density");
def->category = L("Print/Support");
def->tooltip = L("Density of the first raft or support layer.");
def->sidetext = L("%");
def->min = 10;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(90));
def = this->add("raft_first_layer_expansion", coFloat);
def->label = L("First layer expansion");
def->category = L("Print/Support");
def->tooltip = L("Expand the first raft or support layer to improve bed plate adhesion.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(2.0));
def = this->add("raft_layers", coInt);
def->label = L("Raft layers");
def->category = L("Print/Support");
def->tooltip = L("Object will be raised by this number of support layers. Use this function to avoid warping when printing ABS.");
def->sidetext = L("layers");
def->min = 0;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInt(INITIAL_RAFT_LAYERS));
def = this->add("enable_support", coBool);
def->label = L("Enable support");
def->category = L("Print/Support");
def->tooltip = L("Enable support generation.");
def->set_default_value(new ConfigOptionBool(false));
def = this->add("support_type", coEnum);
def->label = L("Type");
def->category = L("Print/Support");
def->tooltip = L("Normal (auto) and Tree (auto) are used to generate support automatically. If Normal (manual) or Tree (manual) is selected, only support enforcers are generated.");
def->enum_keys_map = &ConfigOptionEnum<SupportType>::get_enum_values();
def->enum_values.push_back("normal(auto)");
def->enum_values.push_back("tree(auto)");
def->enum_values.push_back("normal(manual)");
def->enum_values.push_back("tree(manual)");
def->enum_labels.push_back(L("Normal (auto)"));
def->enum_labels.push_back(L("Tree (auto)"));
def->enum_labels.push_back(L("Normal (manual)"));
def->enum_labels.push_back(L("Tree (manual)"));
def->set_default_value(new ConfigOptionEnum<SupportType>(stNormalAuto));
def = this->add("support_object_xy_distance", coFloat);
def->label = L("Support/object XY distance");
def->category = L("Print/Support");
def->tooltip = L("XY separation between an object and its support.");
def->sidetext = L("mm");
def->min = 0;
def->max = 10;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.35));
def = this->add("support_object_first_layer_gap", coFloat);
def->label = L("Support/object first layer gap");
def->category = L("Print/Support");
def->tooltip = L("XY separation between an object and its support at the first layer.");
def->sidetext = L("mm");
def->min = 0;
def->max = 10;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.2));
def = this->add("support_angle", coFloat);
def->label = L("Pattern angle");
def->category = L("Print/Support");
def->tooltip = L("Use this setting to rotate the support pattern on the horizontal plane.");
def->sidetext = L("°");
def->min = 0;
def->max = 359;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("support_on_build_plate_only", coBool);
def->label = L("On build plate only");
def->category = L("Print/Support");
def->tooltip = L("Don't create support on model surface, only on build plate.");
def->set_default_value(new ConfigOptionBool(false));
def = this->add("support_critical_regions_only", coBool);
def->label = L("Support critical regions only");
def->category = L("Print/Support");
def->tooltip = L("Only create support for critical regions including sharp tail, cantilever, etc.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("support_remove_small_overhang", coBool);
def->label = L("Ignore small overhangs");
def->category = L("Print/Support");
def->tooltip = L("Ignore small overhangs that possibly don't require support.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("support_top_z_distance", coFloat);
def->label = L("Top Z distance");
def->category = L("Print/Support");
def->tooltip = L("Z gap between the support's top and object.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->enum_values.push_back("0");
def->enum_values.push_back("0.1");
def->enum_values.push_back("0.2");
def->enum_labels.push_back(L("0 (soluble)"));
def->enum_labels.push_back(L("0.1 (semi-detachable)"));
def->enum_labels.push_back(L("0.2 (detachable)"));
def->set_default_value(new ConfigOptionFloat(0.2));
def = this->add("support_bottom_z_distance", coFloat);
def->label = L("Bottom Z distance");
def->category = L("Print/Support");
def->tooltip = L("Z gap between the object and the support bottom. If Support Top Z Distance is 0 and the bottom has interface layers, this value is ignored and the support is printed in direct contact with the object (no gap).");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.2));
def = this->add("support_filament", coInt);
def->label = L("Support/raft base");
def->category = L("Print/Support");
def->tooltip = L("Filament to print support base and raft. \"Default\" means no specific filament for support and current filament is used.");
def->min = 0;
def->gui_type = ConfigOptionDef::GUIType::i_enum_open;
def->set_default_value(new ConfigOptionInt(0));
def = this->add("support_interface_not_for_body", coBool);
def->label = L("Avoid interface filament for base");
def->category = L("Print/Support");
def->tooltip = L("Avoid using support interface filament to print support base if possible.");
def->set_default_value(new ConfigOptionBool(true));
def = this->add("support_interface_filament", coInt);
def->label = L("Support/raft interface");
def->category = L("Print/Support");
def->tooltip = L("Filament to print support interface. \"Default\" means no specific filament for support interface and current filament is used.");
def->min = 0;
def->gui_type = ConfigOptionDef::GUIType::i_enum_open;
def->set_default_value(new ConfigOptionInt(0));
def = this->add("support_interface_top_layers", coInt);
def->label = L("Top interface layers");
def->category = L("Print/Support");
def->tooltip = L("Number of top interface layers.");
def->sidetext = L("layers");
def->min = 0;
def->mode = comAdvanced;
def->gui_type = ConfigOptionDef::GUIType::i_enum_open;
def->enum_values.push_back("0");
def->enum_values.push_back("1");
def->enum_values.push_back("2");
def->enum_values.push_back("3");
def->enum_labels.push_back(L("0"));
def->enum_labels.push_back(L("1"));
def->enum_labels.push_back(L("2"));
def->enum_labels.push_back(L("3"));
def->set_default_value(new ConfigOptionInt(3));
def = this->add("support_interface_bottom_layers", coInt);
def->label = L("Bottom interface layers");
def->category = L("Print/Support");
def->tooltip = L("Number of bottom interface layers.");
def->sidetext = L("layers");
def->min = -1;
def->mode = comAdvanced;
def->gui_type = ConfigOptionDef::GUIType::i_enum_open;
def->enum_values.push_back("-1");
def->enum_labels.push_back(L("Same as top"));
def->set_default_value(new ConfigOptionInt(0));
def = this->add("support_interface_spacing", coFloat);
def->label = L("Top interface spacing");
def->category = L("Print/Support");
def->tooltip = L("Spacing of interface lines. Zero means solid interface.\nForce using solid interface when support ironing is enabled.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.5));
def = this->add("support_bottom_interface_spacing", coFloat);
def->label = L("Bottom interface spacing");
def->category = L("Print/Support");
def->tooltip = L("Spacing of bottom interface lines. Zero means solid interface.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.5));
def = this->add("support_base_pattern", coEnum);
def->label = L("Base pattern");
def->category = L("Print/Support");
def->tooltip = L("Line pattern of support.\n\nThe Default option for Tree supports is Hollow, which means no base pattern. For other support types, the Default option is the Rectilinear pattern.\n\nNOTE: For Organic supports, the two walls are supported only with the Hollow/Default base pattern. The Lightning base pattern is supported only by Tree Slim/Strong/Hybrid supports. For the other support types, the Rectilinear will be used instead of Lightning.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<SupportMaterialPattern>::get_enum_values();
def->enum_values.push_back("default");
def->enum_values.push_back("rectilinear");
def->enum_values.push_back("rectilinear-grid");
def->enum_values.push_back("honeycomb");
def->enum_values.push_back("lightning");
def->enum_values.push_back("hollow");
def->enum_labels.push_back(L("Default"));
def->enum_labels.push_back(L("Rectilinear"));
def->enum_labels.push_back(L("Rectilinear grid"));
def->enum_labels.push_back(L("Honeycomb"));
def->enum_labels.push_back(L("Lightning"));
def->enum_labels.push_back(L("Hollow"));
def->set_default_value(new ConfigOptionEnum<SupportMaterialPattern>(smpDefault));
def = this->add("support_interface_pattern", coEnum);
def->label = L("Interface pattern");
def->category = L("Print/Support");
def->tooltip = L("Line pattern of support interface. Default pattern for non-soluble support interface is Rectilinear, while default pattern for soluble support interface is Concentric.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<SupportMaterialInterfacePattern>::get_enum_values();
def->enum_values.push_back("auto");
def->enum_values.push_back("rectilinear");
def->enum_values.push_back("concentric");
def->enum_values.push_back("rectilinear_interlaced");
def->enum_values.push_back("grid");
def->enum_labels.push_back(L("Default"));
def->enum_labels.push_back(L("Rectilinear"));
def->enum_labels.push_back(L("Concentric"));
def->enum_labels.push_back(L("Rectilinear Interlaced"));
def->enum_labels.push_back(L("Grid"));
def->set_default_value(new ConfigOptionEnum<SupportMaterialInterfacePattern>(smipAuto));
def = this->add("support_base_pattern_spacing", coFloat);
def->label = L("Base pattern spacing");
def->category = L("Print/Support");
def->tooltip = L("Spacing between support lines.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(2.5));
def = this->add("support_expansion", coFloat);
def->label = L("Normal Support expansion");
def->category = L("Print/Support");
def->tooltip = L("Expand (+) or shrink (-) the horizontal span of normal support.");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("support_style", coEnum);
def->label = L("Style");
def->category = L("Print/Support");
def->tooltip = L("Style and shape of the support. For normal support, projecting the supports into a regular grid will create more stable supports (default), while snug support towers will save material and reduce object scarring.\nFor tree support, slim and organic style will merge branches more aggressively and save a lot of material (default organic), while hybrid style will create similar structure to normal support under large flat overhangs.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<SupportMaterialStyle>::get_enum_values();
def->enum_values.push_back("default");
def->enum_values.push_back("grid");
def->enum_values.push_back("snug");
def->enum_values.push_back("organic");
def->enum_values.push_back("tree_slim");
def->enum_values.push_back("tree_strong");
def->enum_values.push_back("tree_hybrid");
def->enum_labels.push_back(L("Default (Grid/Organic)"));
def->enum_labels.push_back(L("Grid"));
def->enum_labels.push_back(L("Snug"));
def->enum_labels.push_back(L("Organic"));
def->enum_labels.push_back(L("Tree Slim"));
def->enum_labels.push_back(L("Tree Strong"));
def->enum_labels.push_back(L("Tree Hybrid"));
def->set_default_value(new ConfigOptionEnum<SupportMaterialStyle>(smsDefault));
def = this->add("independent_support_layer_height", coBool);
def->label = L("Independent support layer height");
def->category = L("Print/Support");
def->tooltip = L("Support layer uses layer height independent with object layer. This is to support customizing Z-gap and save print time. This option will be invalid when the prime tower is enabled.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("support_threshold_angle", coInt);
def->label = L("Threshold angle");
def->category = L("Print/Support");
def->tooltip = L("Support will be generated for overhangs whose slope angle is below the threshold. The smaller this value is, the steeper the overhang that can be printed without support.\nNote: If set to 0, normal supports use the Threshold overlap instead, while tree supports fall back to a default value of 30.");
def->sidetext = L("°");
def->min = 0;
def->max = 90;
def->set_default_value(new ConfigOptionInt(30));
def = this->add("support_threshold_overlap", coFloatOrPercent);
def->label = L("Threshold overlap");
def->category = L("Print/Support");
def->tooltip = L("If threshold angle is zero, support will be generated for overhangs whose overlap is below the threshold. The smaller this value is, the steeper the overhang that can be printed without support.");
def->sidetext = L("mm or %");
def->min = 0;
def->max = 100;
def->max_literal = 0.5;
def->set_default_value(new ConfigOptionFloatOrPercent(50., true));
def = this->add("tree_support_branch_angle", coFloat);
def->label = L("Tree support branch angle");
def->category = L("Print/Support");
def->tooltip = L("This setting determines the maximum overhang angle that the branches of tree support are allowed to make. If the angle is increased, the branches can be printed more horizontally, allowing them to reach farther.");
def->sidetext = L("°");
def->min = 0;
def->max = 60;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(40.));
def = this->add("tree_support_branch_angle_organic", coFloat);
def->label = L("Tree support branch angle");
def->category = L("Print/Support");
def->tooltip = L("This setting determines the maximum overhang angle that the branches of tree support are allowed to make. If the angle is increased, the branches can be printed more horizontally, allowing them to reach farther.");
def->sidetext = L("°");
def->min = 0;
def->max = 60;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(40.));
def = this->add("tree_support_angle_slow", coFloat);
def->label = L("Preferred Branch Angle");
def->category = L("Print/Support");
def->tooltip = L("The preferred angle of the branches, when they do not have to avoid the model. Use a lower angle to make them more vertical and more stable. Use a higher angle for branches to merge faster.");
def->sidetext = L("°");
def->min = 10;
def->max = 85;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(25));
def = this->add("tree_support_branch_distance", coFloat);
def->label = L("Tree support branch distance");
def->category = L("Print/Support");
def->tooltip = L("This setting determines the distance between neighboring tree support nodes.");
def->sidetext = L("mm");
def->min = 1;
def->max = 10;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(5.));
def = this->add("tree_support_branch_distance_organic", coFloat);
def->label = L("Tree support branch distance");
def->category = L("Print/Support");
def->tooltip = L("This setting determines the distance between neighboring tree support nodes.");
def->sidetext = L("mm");
def->min = 1;
def->max = 10;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1.));
def = this->add("tree_support_top_rate", coPercent);
def->label = L("Branch Density");
def->category = L("Print/Support");
def->tooltip = L("Adjusts the density of the support structure used to generate the tips of the branches. A higher value results in better overhangs but the supports are harder to remove, thus it is recommended to enable top support interfaces instead of a high branch density value if dense interfaces are needed.");
def->sidetext = L("%");
def->min = 5;
def->max_literal = 35;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(30));
def = this->add("tree_support_auto_brim", coBool);
def->label = L("Auto brim width");
def->category = L("Print/Support");
def->tooltip = L("Enabling this option means the width of the brim for tree support will be automatically calculated.");
def->set_default_value(new ConfigOptionBool(1));
def = this->add("tree_support_brim_width", coFloat);
def->label = L("Tree support brim width");
def->category = L("Print/Support");
def->tooltip = L("Distance from tree branch to the outermost brim line.");
def->min = 0;
def->set_default_value(new ConfigOptionFloat(3));
def = this->add("tree_support_tip_diameter", coFloat);
def->label = L("Tip Diameter");
def->category = L("Print/Support");
def->tooltip = L("Branch tip diameter for organic supports.");
def->sidetext = L("mm");
def->min = 0.1;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.8));
def = this->add("tree_support_branch_diameter", coFloat);
def->label = L("Tree support branch diameter");
def->category = L("Print/Support");
def->tooltip = L("This setting determines the initial diameter of support nodes.");
def->sidetext = L("mm");
def->min = 1;
def->max = 10;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(5.));
def = this->add("tree_support_branch_diameter_angle", coFloat);
def->label = L("Branch Diameter Angle");
def->category = L("Print/Support");
def->tooltip = L("The angle of the branches' diameter as they gradually become thicker towards the bottom. An angle of 0 will cause the branches to have uniform thickness over their length. A bit of an angle can increase stability of the organic support.");
def->sidetext = L("°");
def->min = 0;
def->max = 15;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(5));
def = this->add("tree_support_branch_diameter_organic", coFloat);
def->label = L("Tree support branch diameter");
def->category = L("Print/Support");
def->tooltip = L("This setting determines the initial diameter of support nodes.");
def->sidetext = L("mm");
def->min = 1;
def->max = 10;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(2.));
def = this->add("tree_support_wall_count", coInt);
def->label = L("Support wall loops");
def->category = L("Print/Support");
def->tooltip = L("This setting specifies the count of support walls in the range of [0,2]. 0 means auto.");
def->min = 0;
def->max = 2;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInt(0));
def = this->add("support_ironing", coBool);
def->label = L("Ironing Support Interface");
def->category = L("Print/Support");
def->tooltip = L("Ironing is using small flow to print on same height of support interface again to make it more smooth. This setting controls whether support interface being ironed. When enabled, support interface will be extruded as solid too.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("support_ironing_pattern", coEnum);
def->label = L("Support Ironing Pattern");
def->category = L("Print/Support");
def->tooltip = L("The pattern that will be used when ironing.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<InfillPattern>::get_enum_values();
def->enum_values.push_back("rectilinear");
def->enum_values.push_back("concentric");
def->enum_labels.push_back(L("Rectilinear"));
def->enum_labels.push_back(L("Concentric"));
def->set_default_value(new ConfigOptionEnum<InfillPattern>(ipRectilinear));
def = this->add("support_ironing_flow", coPercent);
def->label = L("Support Ironing flow");
def->category = L("Print/Support");
def->tooltip = L("The amount of material to extrude during ironing. Relative to flow of normal support interface layer height. Too high value results in overextrusion on the surface.");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->ratio_over = "layer_height";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(10));
def = this->add("support_ironing_spacing", coFloat);
def->label = L("Support Ironing line spacing");
def->category = L("Print/Support");
def->tooltip = L("The distance between the lines of ironing.");
def->sidetext = L("mm");
def->min = 0;
def->max = 1;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.1));
def = this->add("first_layer_sequence_choice", coEnum);
def->label = L("First layer filament sequence");
def->category = L("Quality");
def->enum_keys_map = &ConfigOptionEnum<LayerSeq>::get_enum_values();
def->enum_values.push_back("Auto");
def->enum_values.push_back("Customize");
def->enum_labels.push_back(L("Auto"));
def->enum_labels.push_back(L("Customize"));
def->set_default_value(new ConfigOptionEnum<LayerSeq>(flsAuto));
def = this->add("other_layers_sequence_choice", coEnum);
def->label = L("Other layers filament sequence");
def->category = L("Quality");
def->enum_keys_map = &ConfigOptionEnum<LayerSeq>::get_enum_values();
def->enum_values.push_back("Auto");
def->enum_values.push_back("Customize");
def->enum_labels.push_back(L("Auto"));
def->enum_labels.push_back(L("Customize"));
def->set_default_value(new ConfigOptionEnum<LayerSeq>(flsAuto));
def = this->add("ironing_expansion", coFloat);
def->label = L("Ironing expansion");
def->category = L("Quality");
def->tooltip = L("Expand or contract the ironing area.");
def->sidetext = L("mm");
def->min = -100;
def->max = 100;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("bottom_shell_layers", coInt);
def->label = L("Bottom shell layers");
def->full_label = L("Bottom shell layers");
def->category = L("Print/Strength");
def->tooltip = L("This is the number of solid layers of bottom shell, including the bottom surface layer. When the thickness calculated by this value is thinner than bottom shell thickness, the bottom shell layers will be increased.");
def->sidetext = L("layers");
def->min = 0;
def->set_default_value(new ConfigOptionInt(3));
def = this->add("bottom_shell_thickness", coFloat);
def->label = L("Bottom shell thickness");
def->full_label = L("Bottom shell thickness");
def->category = L("Print/Strength");
def->tooltip = L("The number of bottom solid layers is increased when slicing if the thickness calculated by bottom shell layers is thinner than this value. This can avoid having too thin shell when layer height is small. 0 means that this setting is disabled and thickness of bottom shell is absolutely determined by bottom shell layers.");
def->sidetext = L("mm");
def->min = 0;
def->set_default_value(new ConfigOptionFloat(0.));
def = this->add("gap_fill_target", coEnum);
def->label = L("Apply gap fill");
def->category = L("Print/Strength");
def->tooltip = L("Enables gap fill for the selected solid surfaces. The minimum gap length that will be filled can be controlled from the filter out tiny gaps option below.\n\nOptions:\n1. Everywhere: Applies gap fill to top, bottom and internal solid surfaces for maximum strength\n2. Top and Bottom surfaces: Applies gap fill to top and bottom surfaces only, balancing print speed, reducing potential over extrusion in the solid infill and making sure the top and bottom surfaces have no pinhole gaps\n3. Nowhere: Disables gap fill for all solid infill areas\n\nNote that if using the classic perimeter generator, gap fill may also be generated between perimeters, if a full width line cannot fit between them. That perimeter gap fill is not controlled by this setting.\n\nIf you would like all gap fill, including the classic perimeter generated one, removed, set the filter out tiny gaps value to a large number, like 999999.\n\nHowever this is not advised, as gap fill between perimeters is contributing to the model's strength. For models where excessive gap fill is generated between perimeters, a better option would be to switch to the arachne wall generator and use this option to control whether the cosmetic top and bottom surface gap fill is generated.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<GapFillTarget>::get_enum_values();
def->enum_values.push_back("everywhere");
def->enum_values.push_back("topbottom");
def->enum_values.push_back("nowhere");
def->enum_labels.push_back(L("Everywhere"));
def->enum_labels.push_back(L("Top and bottom surfaces"));
def->enum_labels.push_back(L("Nowhere"));
def->set_default_value(new ConfigOptionEnum<GapFillTarget>(gftNowhere));
def = this->add("bridge_angle", coFloat);
def->label = L("External bridge infill direction");
def->category = L("Print/Strength");
def->tooltip = L("Bridging angle override. If left to zero, the bridging angle will be calculated automatically. Otherwise the provided angle will be used for external bridges. Use 180° for zero angle.");
def->sidetext = L("°");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.));
def = this->add("internal_bridge_angle", coFloat);
def->label = L("Internal bridge infill direction");
def->category = L("Print/Strength");
def->tooltip = L("Internal bridging angle override. If left to zero, the bridging angle will be calculated automatically. Otherwise the provided angle will be used for internal bridges. Use 180° for zero angle.\n\nIt is recommended to leave it at 0 unless there is a specific model need not to.");
def->sidetext = L("°");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.));
def = this->add("ensure_vertical_shell_thickness", coEnum);
def->label = L("Ensure vertical shell thickness");
def->category = L("Print/Strength");
def->tooltip = L("Add solid infill near sloping surfaces to guarantee the vertical shell thickness (top+bottom solid layers)\nNone: No solid infill will be added anywhere. Caution: Use this option carefully if your model has sloped surfaces\nCritical Only: Avoid adding solid infill for walls\nModerate: Add solid infill for heavily sloping surfaces only\nAll: Add solid infill for all suitable sloping surfaces\nDefault value is All.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<EnsureVerticalShellThickness>::get_enum_values();
def->enum_values.push_back("none");
def->enum_values.push_back("ensure_critical_only");
def->enum_values.push_back("ensure_moderate");
def->enum_values.push_back("ensure_all");
def->enum_labels.push_back(L("None"));
def->enum_labels.push_back(L("Critical Only"));
def->enum_labels.push_back(L("Moderate"));
def->enum_labels.push_back(L("All"));
def->set_default_value(new ConfigOptionEnum<EnsureVerticalShellThickness>(EnsureVerticalShellThickness::evstAll));
def = this->add("top_surface_pattern", coEnum);
def->label = L("Top surface pattern");
def->category = L("Print/Strength");
def->tooltip = L("Line pattern of top surface infill.");
def->enum_keys_map = &ConfigOptionEnum<InfillPattern>::get_enum_values();
def->enum_values.push_back("monotonic");
def->enum_values.push_back("monotonicline");
def->enum_values.push_back("rectilinear");
def->enum_values.push_back("alignedrectilinear");
def->enum_values.push_back("concentric");
def->enum_values.push_back("hilbertcurve");
def->enum_values.push_back("archimedeanchords");
def->enum_values.push_back("octagramspiral");
def->enum_labels.push_back(L("Monotonic"));
def->enum_labels.push_back(L("Monotonic line"));
def->enum_labels.push_back(L("Rectilinear"));
def->enum_labels.push_back(L("Aligned Rectilinear"));
def->enum_labels.push_back(L("Concentric"));
def->enum_labels.push_back(L("Hilbert Curve"));
def->enum_labels.push_back(L("Archimedean Chords"));
def->enum_labels.push_back(L("Octagram Spiral"));
def->set_default_value(new ConfigOptionEnum<InfillPattern>(ipMonotonicLine));
def = this->add("bottom_surface_pattern", coEnum);
def->label = L("Bottom surface pattern");
def->category = L("Print/Strength");
def->tooltip = L("Line pattern of bottom surface infill, not bridge infill.");
def->enum_keys_map = &ConfigOptionEnum<InfillPattern>::get_enum_values();
def->set_default_value(new ConfigOptionEnum<InfillPattern>(ipMonotonic));
def = this->add("internal_solid_infill_pattern", coEnum);
def->label = L("Internal solid infill pattern");
def->category = L("Print/Strength");
def->tooltip = L("Line pattern of internal solid infill. if the detect narrow internal solid infill be enabled, the concentric pattern will be used for the small area.");
def->enum_keys_map = &ConfigOptionEnum<InfillPattern>::get_enum_values();
def->set_default_value(new ConfigOptionEnum<InfillPattern>(ipMonotonic));
def = this->add("infill_direction", coFloat);
def->label = L("Sparse infill direction");
def->category = L("Print/Strength");
def->tooltip = L("Angle for sparse infill pattern, which controls the start or main direction of line.");
def->sidetext = L("°");
def->min = 0;
def->max = 360;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(45));
def = this->add("solid_infill_direction", coFloat);
def->label = L("Solid infill direction");
def->category = L("Print/Strength");
def->tooltip = L("Angle for solid infill pattern, which controls the start or main direction of line.");
def->sidetext = L("°");
def->min = 0;
def->max = 360;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(45));
def = this->add("sparse_infill_density", coPercent);
def->label = L("Sparse infill density");
def->category = L("Print/Strength");
def->tooltip = L("Density of internal sparse infill, 100% turns all sparse infill into solid infill and internal solid infill pattern will be used.");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->set_default_value(new ConfigOptionPercent(20));
def = this->add("align_infill_direction_to_model", coBool);
def->label = L("Align infill direction to model");
def->category = L("Print/Strength");
def->tooltip = L("Aligns infill and surface fill directions to follow the model's orientation on the build plate. When enabled, fill directions rotate with the model to maintain optimal strength characteristics.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("extra_solid_infills", coString);
def->label = L("Insert solid layers");
def->category = L("Print/Strength");
def->tooltip = L("Insert solid infill at specific layers. Use N to insert every Nth layer, N#K to insert K consecutive solid layers every N layers (K is optional, e.g. '5#' equals '5#1'), or a comma-separated list (e.g. 1,7,9) to insert at explicit layers. Layers are 1-based.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionString());
def = this->add("fill_multiline", coInt);
def->label = L("Fill Multiline");
def->category = L("Print/Strength");
def->tooltip = L("Using multiple lines for the infill pattern, if supported by infill pattern.");
def->min = 1;
def->set_default_value(new ConfigOptionInt(1));
def = this->add("gyroid_optimized", coBool);
def->label = L("Z-buckling bias optimization (experimental)");
def->category = L("Print/Strength");
def->tooltip = L("Tightens the gyroid wave along the Z (vertical) axis at low infill density to shorten the effective vertical column length and improve Z-axis compression buckling resistance. Filament use is preserved. No effect at ~30% sparse infill density and above. Only applies when Sparse infill pattern is set to Gyroid.");
def->set_default_value(new ConfigOptionBool(false));
def = this->add("sparse_infill_pattern", coEnum);
def->label = L("Sparse infill pattern");
def->category = L("Print/Strength");
def->tooltip = L("Line pattern for internal sparse infill.");
def->enum_keys_map = &ConfigOptionEnum<InfillPattern>::get_enum_values();
def->enum_values.push_back("rectilinear");
def->enum_values.push_back("alignedrectilinear");
def->enum_values.push_back("zigzag");
def->enum_values.push_back("crosszag");
def->enum_values.push_back("lockedzag");
def->enum_values.push_back("line");
def->enum_values.push_back("grid");
def->enum_values.push_back("triangles");
def->enum_values.push_back("tri-hexagon");
def->enum_values.push_back("cubic");
def->enum_values.push_back("adaptivecubic");
def->enum_values.push_back("quartercubic");
def->enum_values.push_back("supportcubic");
def->enum_values.push_back("lightning");
def->enum_values.push_back("honeycomb");
def->enum_values.push_back("3dhoneycomb");
def->enum_values.push_back("lateral-honeycomb");
def->enum_values.push_back("lateral-lattice");
def->enum_values.push_back("crosshatch");
def->enum_values.push_back("tpmsd");
def->enum_values.push_back("tpmsfk");
def->enum_values.push_back("gyroid");
def->enum_values.push_back("concentric");
def->enum_values.push_back("hilbertcurve");
def->enum_values.push_back("archimedeanchords");
def->enum_values.push_back("octagramspiral");
def->enum_labels.push_back(L("Rectilinear"));
def->enum_labels.push_back(L("Aligned Rectilinear"));
def->enum_labels.push_back(L("Zig Zag"));
def->enum_labels.push_back(L("Cross Zag"));
def->enum_labels.push_back(L("Locked Zag"));
def->enum_labels.push_back(L("Line"));
def->enum_labels.push_back(L("Grid"));
def->enum_labels.push_back(L("Triangles"));
def->enum_labels.push_back(L("Tri-hexagon"));
def->enum_labels.push_back(L("Cubic"));
def->enum_labels.push_back(L("Adaptive Cubic"));
def->enum_labels.push_back(L("Quarter Cubic"));
def->enum_labels.push_back(L("Support Cubic"));
def->enum_labels.push_back(L("Lightning"));
def->enum_labels.push_back(L("Honeycomb"));
def->enum_labels.push_back(L("3D Honeycomb"));
def->enum_labels.push_back(L("Lateral Honeycomb"));
def->enum_labels.push_back(L("Lateral Lattice"));
def->enum_labels.push_back(L("Cross Hatch"));
def->enum_labels.push_back(L("TPMS-D"));
def->enum_labels.push_back(L("TPMS-FK"));
def->enum_labels.push_back(L("Gyroid"));
def->enum_labels.push_back(L("Concentric"));
def->enum_labels.push_back(L("Hilbert Curve"));
def->enum_labels.push_back(L("Archimedean Chords"));
def->enum_labels.push_back(L("Octagram Spiral"));
def->set_default_value(new ConfigOptionEnum<InfillPattern>(ipCrossHatch));
def = this->add("lateral_lattice_angle_1", coFloat);
def->label = L("Lateral lattice angle 1");
def->category = L("Print/Strength");
def->tooltip = L("The angle of the first set of Lateral lattice elements in the Z direction. Zero is vertical.");
def->sidetext = L("°");
def->min = -75;
def->max = 75;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(-45));
def = this->add("lateral_lattice_angle_2", coFloat);
def->label = L("Lateral lattice angle 2");
def->category = L("Print/Strength");
def->tooltip = L("The angle of the second set of Lateral lattice elements in the Z direction. Zero is vertical.");
def->sidetext = L("°");
def->min = -75;
def->max = 75;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(45));
def = this->add("infill_overhang_angle", coFloat);
def->label = L("Infill overhang angle");
def->category = L("Print/Strength");
def->tooltip = L("The angle of the infill angled lines. 60° will result in a pure honeycomb.");
def->sidetext = L("°");
def->min = 15;
def->max = 75;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(60));
def = this->add("infill_anchor", coFloatOrPercent);
def->label = L("Sparse infill anchor length");
def->category = L("Print/Strength");
def->tooltip = L("Connect an infill line to an internal perimeter with a short segment of an additional perimeter. If expressed as percentage (example: 15%) it is calculated over infill extrusion width. Orca Slicer tries to connect two close infill lines to a short perimeter segment. If no such perimeter segment shorter than infill_anchor_max is found, the infill line is connected to a perimeter segment at just one side and the length of the perimeter segment taken is limited to this parameter, but no longer than anchor_length_max.\nSet this parameter to zero to disable anchoring perimeters connected to a single infill line.");
def->sidetext = L("mm or %");
def->max_literal = 1000;
def->ratio_over = "sparse_infill_line_width";
def->mode = comAdvanced;
def->gui_type = ConfigOptionDef::GUIType::f_enum_open;
def->enum_values.push_back("0");
def->enum_values.push_back("1");
def->enum_values.push_back("2");
def->enum_values.push_back("5");
def->enum_values.push_back("10");
def->enum_values.push_back("1000");
def->enum_labels.push_back(L("0 (no open anchors)"));
def->enum_labels.push_back(L("1 mm"));
def->enum_labels.push_back(L("2 mm"));
def->enum_labels.push_back(L("5 mm"));
def->enum_labels.push_back(L("10 mm"));
def->enum_labels.push_back(L("1000 (unlimited)"));
def->set_default_value(new ConfigOptionFloatOrPercent(400, true));
def = this->add("infill_anchor_max", coFloatOrPercent);
def->label = L("Maximum length of the infill anchor");
def->category = L("Print/Strength");
def->tooltip = L("Connect an infill line to an internal perimeter with a short segment of an additional perimeter. If expressed as percentage (example: 15%) it is calculated over infill extrusion width. Orca Slicer tries to connect two close infill lines to a short perimeter segment. If no such perimeter segment shorter than this parameter is found, the infill line is connected to a perimeter segment at just one side and the length of the perimeter segment taken is limited to infill_anchor, but no longer than this parameter.\nIf set to 0, the old algorithm for infill connection will be used, it should create the same result as with 1000 & 0.");
def->mode = comAdvanced;
def->enum_labels.push_back(L("0 (Simple connect)"));
def->enum_labels.push_back(L("1 mm"));
def->enum_labels.push_back(L("2 mm"));
def->enum_labels.push_back(L("5 mm"));
def->enum_labels.push_back(L("10 mm"));
def->enum_labels.push_back(L("1000 (unlimited)"));
def->set_default_value(new ConfigOptionFloatOrPercent(20, false));
def = this->add("filter_out_gap_fill", coFloat);
def->label = L("Filter out tiny gaps");
def->category = L("Print/Strength");
def->tooltip = L("Don't print gap fill with a length is smaller than the threshold specified (in mm). This setting applies to top, bottom and solid infill and, if using the classic perimeter generator, to wall gap fill.");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("infill_combination", coBool);
def->label = L("Infill combination");
def->category = L("Print/Strength");
def->tooltip = L("Automatically Combine sparse infill of several layers to print together to reduce time. Wall is still printed with original layer height.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("infill_shift_step", coFloat);
def->label = L("Infill shift step");
def->category = L("Print/Strength");
def->tooltip = L("This parameter adds a slight displacement to each layer of infill to create a cross texture.");
def->sidetext = L("mm");
def->min = 0;
def->max = 10;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.4));
def = this->add("sparse_infill_rotate_template", coString);
def->label = L("Sparse infill rotation template");
def->category = L("Print/Strength");
def->tooltip = L("Rotate the sparse infill direction per layer using a template of angles. Enter comma-separated degrees (e.g., '0,30,60,90'). Angles are applied in order by layer and repeat when the list ends. Advanced syntax is supported: '+5' rotates +5° every layer; '+5#5' rotates +5° every 5 layers. See the Wiki for details. ");
def->sidetext = L("°");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionString(""));
def = this->add("solid_infill_rotate_template", coString);
def->label = L("Solid infill rotation template");
def->category = L("Print/Strength");
def->tooltip = L("This parameter adds a rotation of solid infill direction to each layer according to the specified template. The template is a comma-separated list of angles in degrees, e.g. '0,90'. The first angle is applied to the first layer, the second angle to the second layer, and so on. If there are more layers than angles, the angles will be repeated. Note that not all solid infill patterns support rotation.");
def->sidetext = L("°");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionString(""));
def = this->add("skeleton_infill_density", coPercent);
def->label = L("Skeleton infill density");
def->category = L("Print/Strength");
def->tooltip = L("The remaining part of the model contour after removing a certain depth from the surface is called the skeleton. This parameter is used to adjust the density of this section. When two regions have the same sparse infill settings but different skeleton densities, their skeleton areas will develop overlapping sections. Default is as same as infill density.");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(25));
def = this->add("skin_infill_density", coPercent);
def->label = L("Skin infill density");
def->category = L("Print/Strength");
def->tooltip = L("The portion of the model's outer surface within a certain depth range is called the skin. This parameter is used to adjust the density of this section. When two regions have the same sparse infill settings but different skin densities, this area will not be split into two separate regions. Default is as same as infill density.");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(25));
def = this->add("skin_infill_depth", coFloat);
def->label = L("Skin infill depth");
def->category = L("Print/Strength");
def->tooltip = L("The parameter sets the depth of skin.");
def->sidetext = L("mm");
def->min = 0;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(2.0));
def = this->add("infill_lock_depth", coFloat);
def->label = L("Infill lock depth");
def->category = L("Print/Strength");
def->tooltip = L("The parameter sets the overlapping depth between the interior and skin.");
def->sidetext = L("mm");
def->min = 0;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1.0));
def = this->add("skin_infill_line_width", coFloatOrPercent);
def->label = L("Skin line width");
def->category = L("Print/Strength");
def->tooltip = L("Adjust the line width of the selected skin paths.");
def->sidetext = L("mm");
def->min = 0;
def->ratio_over = "nozzle_diameter";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(100, true));
def = this->add("skeleton_infill_line_width", coFloatOrPercent);
def->label = L("Skeleton line width");
def->category = L("Print/Strength");
def->tooltip = L("Adjust the line width of the selected skeleton paths.");
def->sidetext = L("mm");
def->min = 0;
def->ratio_over = "nozzle_diameter";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(100, true));
def = this->add("symmetric_infill_y_axis", coBool);
def->label = L("Symmetric infill Y axis");
def->category = L("Print/Strength");
def->tooltip = L("If the model has two parts that are symmetric about the Y axis, and you want these parts to have symmetric textures, please click this option on one of the parts.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("infill_combination_max_layer_height", coFloatOrPercent);
def->label = L("Infill combination - Max layer height");
def->category = L("Print/Strength");
def->tooltip = L("Maximum layer height for the combined sparse infill.\n\nSet it to 0 or 100% to use the nozzle diameter (for maximum reduction in print time) or a value of ~80% to maximize sparse infill strength.\n\nThe number of layers over which infill is combined is derived by dividing this value with the layer height and rounded down to the nearest decimal.\n\nUse either absolute mm values (eg. 0.32mm for a 0.4mm nozzle) or % values (eg 80%). This value must not be larger than the nozzle diameter.");
def->sidetext = L("mm or %");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(100., true));
def = this->add("infill_wall_overlap", coPercent);
def->label = L("Infill/Wall overlap");
def->category = L("Print/Strength");
def->tooltip = L("Infill area is enlarged slightly to overlap with wall for better bonding. The percentage value is relative to line width of sparse infill. Set this value to ~10-15% to minimize potential over extrusion and accumulation of material resulting in rough top surfaces.");
def->sidetext = L("%");
def->ratio_over = "inner_wall_line_width";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(15));
def = this->add("top_bottom_infill_wall_overlap", coPercent);
def->label = L("Top/Bottom solid infill/wall overlap");
def->category = L("Print/Strength");
def->tooltip = L("Top solid infill area is enlarged slightly to overlap with wall for better bonding and to minimize the appearance of pinholes where the top infill meets the walls. A value of 25-30% is a good starting point, minimizing the appearance of pinholes. The percentage value is relative to line width of sparse infill.");
def->sidetext = L("%");
def->ratio_over = "inner_wall_line_width";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(25));
def = this->add("wall_loops", coInt);
def->label = L("Wall loops");
def->category = L("Print/Strength");
def->tooltip = L("Number of walls of every layer.");
def->min = 0;
def->max = 1000;
def->set_default_value(new ConfigOptionInt(2));
def = this->add("alternate_extra_wall", coBool);
def->label = L("Alternate extra wall");
def->category = L("Print/Strength");
def->tooltip = L("This setting adds an extra wall to every other layer. This way the infill gets wedged vertically between the walls, resulting in stronger prints.\n\nWhen this option is enabled, the ensure vertical shell thickness option needs to be disabled.\n\nUsing lightning infill together with this option is not recommended as there is limited infill to anchor the extra perimeters to.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("minimum_sparse_infill_area", coFloat);
def->label = L("Minimum sparse infill threshold");
def->category = L("Print/Strength");
def->tooltip = L("Sparse infill areas smaller than this threshold value are replaced by internal solid infill.");
def->sidetext = L("mm²");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(15));
def = this->add("detect_thin_wall", coBool);
def->label = L("Detect thin walls");
def->category = L("Print/Strength");
def->tooltip = L("Detect thin walls which can't contain two line widths, and use single line to print. Maybe not printed very well, because it's not a closed loop.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("top_shell_layers", coInt);
def->label = L("Top shell layers");
def->full_label = L("Top solid layers");
def->category = L("Print/Strength");
def->tooltip = L("This is the number of solid layers of top shell, including the top surface layer. When the thickness calculated by this value is thinner than top shell thickness, the top shell layers will be increased.");
def->sidetext = L("layers");
def->min = 0;
def->set_default_value(new ConfigOptionInt(4));
def = this->add("top_shell_thickness", coFloat);
def->label = L("Top shell thickness");
def->full_label = L("Top shell thickness");
def->category = L("Print/Strength");
def->tooltip = L("The number of top solid layers is increased when slicing if the thickness calculated by top shell layers is thinner than this value. This can avoid having too thin shell when layer height is small. 0 means that this setting is disabled and thickness of top shell is absolutely determined by top shell layers.");
def->sidetext = L("mm");
def->min = 0;
def->set_default_value(new ConfigOptionFloat(0.6));
def = this->add("top_surface_density", coPercent);
def->label = L("Top surface density");
def->category = L("Print/Strength");
def->tooltip = L("Density of top surface layer. A value of 100% creates a fully solid, smooth top layer. Reducing this value results in a textured top surface, according to the chosen top surface pattern. A value of 0% will result in only the walls on the top layer being created. Intended for aesthetic or functional purposes, not to fix issues such as over-extrusion.");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->set_default_value(new ConfigOptionPercent(100));
def = this->add("bottom_surface_density", coPercent);
def->label = L("Bottom surface density");
def->category = L("Print/Strength");
def->tooltip = L("Density of the bottom surface layer. Intended for aesthetic or functional purposes, not to fix issues such as over-extrusion.\nWARNING: Lowering this value may negatively affect bed adhesion.");
def->sidetext = L("%");
def->min = 10;
def->max = 100;
def->set_default_value(new ConfigOptionPercent(100));
def = this->add("detect_narrow_internal_solid_infill", coBool);
def->label = L("Detect narrow internal solid infills");
def->category = L("Print/Strength");
def->tooltip = L("This option will auto-detect narrow internal solid infill areas. If enabled, the concentric pattern will be used for the area to speed up printing. Otherwise, the rectilinear pattern will be used by default.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("brim_ears", coBool);
def->label = L("Brim ears");
def->category = L("Support");
def->tooltip = L("Only draw brim over the sharp edges of the model.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("raft_expansion", coFloat);
def->label = L("Raft expansion");
def->category = L("Support");
def->tooltip = L("Expand all raft layers in XY plane.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(1.5));
def = this->add("enforce_support_layers", coInt);
def->category = L("Support");
def->sidetext = L("layers");
def->min = 0;
def->max = 5000;
def->mode = comDevelop;
def->set_default_value(new ConfigOptionInt(0));
def = this->add("support_interface_loop_pattern", coBool);
def->label = L("Interface use loop pattern");
def->category = L("Support");
def->tooltip = L("Cover the top contact layer of the supports with loops. Disabled by default.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("tree_support_with_infill", coBool);
def->label = L("Tree support with infill");
def->category = L("Support");
def->tooltip = L("This setting specifies whether to add infill inside large hollows of tree support.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("curr_bed_type", coEnum);
def->label = L("Bed type");
def->tooltip = L("Bed types supported by the printer.");
def->enum_keys_map = &s_keys_map_BedType;
def->enum_values.push_back("Cool Plate");
def->enum_values.push_back("Engineering Plate");
def->enum_values.push_back("High Temp Plate");
def->enum_values.push_back("Textured PEI Plate");
def->enum_values.push_back("Textured Cool Plate");
def->enum_values.push_back("Supertack Plate");
def->enum_labels.push_back(L("Smooth Cool Plate"));
def->enum_labels.push_back(L("Engineering Plate"));
def->enum_labels.push_back(L("Smooth High Temp Plate"));
def->enum_labels.push_back(L("Textured PEI Plate"));
def->enum_labels.push_back(L("Textured Cool Plate"));
def->enum_labels.push_back(L("Cool Plate (SuperTack)"));
def->set_default_value(new ConfigOptionEnum<int>(btPC));
def = this->add("default_bed_type", coString);
def->label = L("Default bed type");
def->tooltip = L("Default bed type for the printer (supports both numeric and string format).");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionString());
def = this->add("first_layer_print_sequence", coInts);
def->label = L("First layer print sequence");
def->min = 0;
def->max = 16;
def->set_default_value(new ConfigOptionInts{0});
def = this->add("other_layers_print_sequence", coInts);
def->label = L("Other layers print sequence");
def->min = 0;
def->max = 16;
def->set_default_value(new ConfigOptionInts{0});
def = this->add("other_layers_print_sequence_nums", coInt);
def->label = L("The number of other layers print sequence");
def->set_default_value(new ConfigOptionInt(0));
def = this->add("compatible_printers", coStrings);
def->label = L("Select printers");
def->mode = comAdvanced;
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings());
def = this->add("upward_compatible_machine", coStrings);
def->label = L("upward compatible machine");
def->mode = comAdvanced;
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings());
def = this->add("compatible_prints", coStrings);
def->label = L("Select profiles");
def->mode = comAdvanced;
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings());
def = this->add("compatible_machine_expression_group", coStrings);
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings());
def = this->add("compatible_process_expression_group", coStrings);
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings());
def = this->add("different_settings_to_system", coStrings);
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings());
def = this->add("print_compatible_printers", coStrings);
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings());
def = this->add("default_filament_profile", coStrings);
def->label = L("Default filament profile");
def->tooltip = L("Default filament profile when switching to this machine profile.");
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings());
def = this->add("default_print_profile", coString);
def->label = L("Default process profile");
def->tooltip = L("Default process profile when switching to this machine profile.");
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionString());
def = this->add("nozzle_height", coFloat);
def->label = L("Nozzle height");
def->tooltip = L("The height of nozzle tip.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comDevelop;
def->set_default_value(new ConfigOptionFloat(2.5));
def = this->add("grab_length", coFloats);
def->label = L("Grab length");
def->sidetext = L("mm");
def->min = 0;
def->mode = comDevelop;
def->set_default_value(new ConfigOptionFloats{0});
def = this->add("extruder_colour", coStrings);
def->label = L("Extruder Color");
def->tooltip = L("Only used as a visual help on UI.");
def->mode = comAdvanced;
def->gui_type = ConfigOptionDef::GUIType::color;
def->set_default_value(new ConfigOptionStrings{""});
def = this->add("extruder_offset", coPoints);
def->label = L("Extruder offset");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPoints{Vec2d(0,0)});
def = this->add("filament_colour", coStrings);
def->label = L("Color");
def->tooltip = L("Only used as a visual help on UI.");
def->mode = comAdvanced;
def->gui_type = ConfigOptionDef::GUIType::color;
def->set_default_value(new ConfigOptionStrings{"#F2754E"});
def = this->add("filament_multi_colour", coStrings);
def->set_default_value(new ConfigOptionStrings{""});
def = this->add("filament_colour_type", coStrings);
def->set_default_value(new ConfigOptionStrings{"1"});
def = this->add("filament_map", coInts);
def->label = L("Filament map to extruder");
def->tooltip = L("Filament map to extruder.");
def->mode = comDevelop;
def->set_default_value(new ConfigOptionInts{1});
def = this->add("physical_extruder_map", coInts);
def->label = L("Map the logical extruder to physical extruder");
def->tooltip = L("Map the logical extruder to physical extruder.");
def->mode = comDevelop;
def->set_default_value(new ConfigOptionInts{0});
def = this->add("filament_map_mode", coEnum);
def->label = L("filament mapping mode");
def->tooltip = L("Filament mapping mode used as plate param.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<FilamentMapMode>::get_enum_values();
def->enum_values.push_back("Auto For Flush");
def->enum_values.push_back("Auto For Match");
def->enum_values.push_back("Manual");
def->enum_values.push_back("Default");
def->enum_labels.push_back(L("Auto For Flush"));
def->enum_labels.push_back(L("Auto For Match"));
def->enum_labels.push_back(L("Manual"));
def->enum_labels.push_back(L("Default"));
def->set_default_value(new ConfigOptionEnum<FilamentMapMode>(fmmAutoForFlush));
def = this->add("enable_filament_dynamic_map", coBool);
def->label = L("Enable filament dynamic map");
def->tooltip = L("Enable dynamic filament mapping during print.");
def->mode = comDevelop;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("has_filament_switcher", coBool);
def->label = L("Has filament switcher");
def->tooltip = L("Printer has a filament switcher hardware (e.g., AMS).");
def->mode = comDevelop;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("filament_flush_temp", coInts);
def->label = L("Flush temperature");
def->tooltip = L("Temperature when flushing filament. 0 indicates the upper bound of the recommended nozzle temperature range.");
def->sidetext = L("\u2103");
def->min = 0;
def->mode = comAdvanced;
def->nullable = true;
def->set_default_value(new ConfigOptionInts{0});
def = this->add("machine_load_filament_time", coFloat);
def->label = L("Filament load time");
def->tooltip = L("Time to load new filament when switch filament. It's usually applicable for single-extruder multi-material machines. For tool changers or multi-tool machines, it's typically 0. For statistics only.");
def->sidetext = L("s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.0));
def = this->add("machine_unload_filament_time", coFloat);
def->label = L("Filament unload time");
def->tooltip = L("Time to unload old filament when switch filament. It's usually applicable for single-extruder multi-material machines. For tool changers or multi-tool machines, it's typically 0. For statistics only.");
def->sidetext = L("s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.0));
def = this->add("machine_tool_change_time", coFloat);
def->label = L("Tool change time");
def->tooltip = L("Time taken to switch tools. It's usually applicable for tool changers or multi-tool machines. For single-extruder multi-material machines, it's typically 0. For statistics only.");
def->sidetext = L("s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0.));
def = this->add("support_object_skip_flush", coBool);
def->set_default_value(new ConfigOptionBool(false));
def = this->add("bed_temperature_formula", coEnum);
def->label = L("Bed temperature type");
def->tooltip = L("This option determines how the bed temperature is set during slicing: based on the temperature of the first filament or the highest temperature of the printed filaments.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<BedTempFormula>::get_enum_values();
def->enum_values.push_back("by_first_filament");
def->enum_values.push_back("by_highest_temp");
def->enum_labels.push_back(L("By First filament"));
def->enum_labels.push_back(L("By Highest Temp"));
def->set_default_value(new ConfigOptionEnum<BedTempFormula>(BedTempFormula::btfHighestTemp));
def = this->add("nozzle_flush_dataset", coInts);
def->nullable = true;
def->set_default_value(new ConfigOptionInts{0});
def = this->add("volumetric_speed_coefficients", coStrings);
def->label = L("Max volumetric speed multinomial coefficients");
def->set_default_value(new ConfigOptionStrings{""});
def = this->add("filament_ramming_parameters", coStrings);
def->label = L("Ramming parameters");
def->tooltip = L("This string is edited by RammingDialog and contains ramming specific parameters.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionStrings{"120 100 6.6 6.8 7.2 7.6 7.9 8.2 8.7 9.4 9.9 10.0|" " 0.05 6.6 0.45 6.8 0.95 7.8 1.45 8.3 1.95 9.7 2.45 10 2.95 7.6 3.45 7.6 3.95 7.6 4.45 7.6 4.95 7.6"});
def = this->add("filament_settings_id", coStrings);
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings{""});
def = this->add("filament_ids", coStrings);
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings());
def = this->add("adaptive_layer_height", coBool);
def = this->add("spaghetti_detector", coBool);
def = this->add("wrapping_detection_layers", coInt);
def->label = L("Clumping detection layers");
def->tooltip = L("Clumping detection layers.");
def->min = 0;
def->mode = comDevelop;
def->set_default_value(new ConfigOptionInt(20));
def = this->add("wrapping_exclude_area", coPoints);
def->label = L("Probing exclude area of clumping");
def->tooltip = L("Probing exclude area of clumping.");
def->mode = comAdvanced;
def->gui_type = ConfigOptionDef::GUIType::one_string;
def->set_default_value(new ConfigOptionPoints());
def = this->add("inherits", coString);
def->label = L("Inherits profile");
def->tooltip = L("Name of parent profile.");
def->full_width = true;
def->height = 5;
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionString());
def = this->add("inherits_group", coStrings);
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings());
def = this->add("calib_flowrate_topinfill_special_order", coBool);
def->mode = comDevelop;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("silent_mode", coBool);
def->label = L("Supports silent mode");
def->tooltip = L("Whether the machine supports silent mode in which machine use lower acceleration to print.");
def->mode = comDevelop;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("max_layer_height", coFloats);
def->label = L("Max");
def->tooltip = L("The highest printable layer height for the extruder. Used to limit the maximum layer height when enable adaptive layer height.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.});
def = this->add("min_layer_height", coFloats);
def->label = L("Min");
def->tooltip = L("The lowest printable layer height for the extruder. Used to limit the minimum layer height when enable adaptive layer height.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.07});
def = this->add("nozzle_diameter", coFloats);
def->label = L("Nozzle diameter");
def->tooltip = L("The diameter of nozzle.");
def->sidetext = L("mm");
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.4});
def = this->add("host_type", coEnum);
def->label = L("Host Type");
def->tooltip = L("Orca Slicer can upload G-code files to a printer host. This field must contain the kind of the host.");
def->mode = comAdvanced;
def->cli = ConfigOptionDef::nocli;
def->enum_keys_map = &ConfigOptionEnum<PrintHostType>::get_enum_values();
def->enum_values.push_back("prusalink");
def->enum_values.push_back("prusaconnect");
def->enum_values.push_back("octoprint");
def->enum_values.push_back("duet");
def->enum_values.push_back("flashair");
def->enum_values.push_back("astrobox");
def->enum_values.push_back("repetier");
def->enum_values.push_back("mks");
def->enum_values.push_back("esp3d");
def->enum_values.push_back("crealityprint");
def->enum_values.push_back("obico");
def->enum_values.push_back("flashforge");
def->enum_values.push_back("simplyprint");
def->enum_values.push_back("elegoolink");
def->enum_labels.push_back(L("PrusaLink"));
def->enum_labels.push_back(L("PrusaConnect"));
def->enum_labels.push_back(L("Octo/Klipper"));
def->enum_labels.push_back(L("Duet"));
def->enum_labels.push_back(L("FlashAir"));
def->enum_labels.push_back(L("AstroBox"));
def->enum_labels.push_back(L("Repetier"));
def->enum_labels.push_back(L("MKS"));
def->enum_labels.push_back(L("ESP3D"));
def->enum_labels.push_back(L("CrealityPrint"));
def->enum_labels.push_back(L("Obico"));
def->enum_labels.push_back(L("Flashforge"));
def->enum_labels.push_back(L("SimplyPrint"));
def->enum_labels.push_back(L("Elegoo Link"));
def->set_default_value(new ConfigOptionEnum<PrintHostType>(htOctoPrint));
def = this->add("nozzle_volume", coFloats);
def->label = L("Nozzle volume");
def->tooltip = L("Volume of nozzle between the cutter and the end of nozzle.");
def->sidetext = L("mm³");
def->mode = comAdvanced;
def->nullable = true;
def->set_default_value(new ConfigOptionFloats{{0.0}});
def = this->add("cooling_tube_retraction", coFloat);
def->label = L("Cooling tube position");
def->tooltip = L("Distance of the center-point of the cooling tube from the extruder tip.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(91.5));
def = this->add("cooling_tube_length", coFloat);
def->label = L("Cooling tube length");
def->tooltip = L("Length of the cooling tube to limit space for cooling moves inside it.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(5.));
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 sequence to allow for rapid ramming feed rates and to overcome resistance when loading a filament with an ugly shaped tip.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(0));
def = this->add("parking_pos_retraction", coFloat);
def->label = L("Filament parking position");
def->tooltip = L("Distance of the extruder tip from the position where the filament is parked when unloaded. This should match the value in printer firmware.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(92.));
def = this->add("extra_loading_move", coFloat);
def->label = L("Extra loading distance");
def->tooltip = L("When set to zero, the distance the filament is moved from parking position during load is exactly the same as it was moved back during unload. When positive, it is loaded further, if negative, the loading move is shorter than unloading.");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(-2.));
def = this->add("start_end_points", coPoints);
def->label = L("Start end points");
def->tooltip = L("The start and end points which is from cutter area to garbage can.");
def->mode = comDevelop;
def->readonly = true;
def->set_default_value(new ConfigOptionPoints{Vec2d(30, -3), Vec2d(54, 245)});
def = this->add("printer_model", coString);
def->label = L("Printer type");
def->tooltip = L("Type of the printer.");
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionString());
def = this->add("printer_variant", coString);
def->label = L("Printer variant");
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionString());
def = this->add("print_settings_id", coString);
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionString());
def = this->add("printer_settings_id", coString);
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionString());
def = this->add("retraction_minimum_travel", coFloats);
def->label = L("Travel distance threshold");
def->tooltip = L("Only trigger retraction when the travel distance is longer than this threshold.");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{2.});
def = this->add("retract_before_wipe", coPercents);
def->label = L("Retract amount before wipe");
def->tooltip = L("The length of fast retraction before wipe, relative to retraction length.");
def->sidetext = L("%");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercents{100});
def = this->add("retract_when_changing_layer", coBools);
def->label = L("Retract when change layer");
def->tooltip = L("Force a retraction when changes layer.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBools{false});
def = this->add("retraction_length", coFloats);
def->label = L("Length");
def->full_label = L("Retraction Length");
def->tooltip = L("Some amount of material in extruder is pulled back to avoid ooze during long travel. Set zero to disable retraction.");
def->sidetext = L("mm");
def->set_default_value(new ConfigOptionFloats{0.8});
def = this->add("enable_long_retraction_when_cut", coInt);
def->mode = comDevelop;
def->set_default_value(new ConfigOptionInt(0));
def = this->add("long_retractions_when_cut", coBools);
def->label = L("Long retraction when cut (beta)");
def->tooltip = L("Experimental feature: Retracting and cutting off the filament at a longer distance during changes to minimize purge. While this reduces flush significantly, it may also raise the risk of nozzle clogs or other printing problems.");
def->mode = comDevelop;
def->set_default_value(new ConfigOptionBools{false});
def = this->add("retraction_distances_when_cut", coFloats);
def->label = L("Retraction distance when cut");
def->tooltip = L("Experimental feature: Retraction length before cutting off during filament change.");
def->min = 10;
def->max = 18;
def->mode = comDevelop;
def->set_default_value(new ConfigOptionFloats{18});
def = this->add("retract_length_toolchange", coFloats);
def->label = L("Length");
def->full_label = L("Retraction Length (Toolchange)");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{10.});
def = this->add("z_hop", coFloats);
def->label = L("Z-hop height");
def->tooltip = L("Whenever the retraction is done, the nozzle is lifted a little to create clearance between nozzle and the print. It prevents nozzle from hitting the print when travel move. Using spiral lines to lift Z can prevent stringing.");
def->sidetext = L("mm");
def->min = 0;
def->max = 5;
def->set_default_value(new ConfigOptionFloats{0.4});
def = this->add("retract_lift_above", coFloats);
def->label = L("Only lift Z above");
def->tooltip = L("If you set this to a positive value, Z lift will only take place above the specified absolute Z.");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.});
def = this->add("retract_lift_below", coFloats);
def->label = L("Only lift Z below");
def->tooltip = L("If you set this to a positive value, Z lift will only take place below the specified absolute Z.");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.});
def = this->add("z_hop_types", coEnums);
def->label = L("Z-hop type");
def->tooltip = L("Type of Z-hop.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<ZHopType>::get_enum_values();
def->enum_values.push_back("Auto Lift");
def->enum_values.push_back("Normal Lift");
def->enum_values.push_back("Slope Lift");
def->enum_values.push_back("Spiral Lift");
def->enum_labels.push_back(L("Auto"));
def->enum_labels.push_back(L("Normal"));
def->enum_labels.push_back(L("Slope"));
def->enum_labels.push_back(L("Spiral"));
def->set_default_value(new ConfigOptionEnumsGeneric{ ZHopType::zhtSlope });
def = this->add("travel_slope", coFloats);
def->label = L("Traveling angle");
def->tooltip = L("Traveling angle for Slope and Spiral Z-hop type. Setting it to 90° results in Normal Lift.");
def->sidetext = L("°");
def->min = 1;
def->max = 90;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{3});
def = this->add("retract_lift_enforce", coEnums);
def->label = L("On surfaces");
def->tooltip = L("Enforce Z-Hop behavior. This setting is impacted by the above settings (Only lift Z above/below).");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<RetractLiftEnforceType>::get_enum_values();
def->enum_values.push_back("All Surfaces");
def->enum_values.push_back("Top Only");
def->enum_values.push_back("Bottom Only");
def->enum_values.push_back("Top and Bottom");
def->enum_labels.push_back(L("All Surfaces"));
def->enum_labels.push_back(L("Top Only"));
def->enum_labels.push_back(L("Bottom Only"));
def->enum_labels.push_back(L("Top and Bottom"));
def->set_default_value(new ConfigOptionEnumsGeneric{ RetractLiftEnforceType ::rletAllSurfaces });
def = this->add("extruder_type", coEnums);
def->label = L("Type");
def->tooltip = L("This setting is only used for initial value of manual calibration of pressure advance. Bowden extruder usually has larger PA value. This setting doesn't influence normal slicing.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<ExtruderType>::get_enum_values();
def->enum_values.push_back("Direct Drive");
def->enum_values.push_back("Bowden");
def->enum_labels.push_back(L("Direct Drive"));
def->enum_labels.push_back(L("Bowden"));
def->set_default_value(new ConfigOptionEnumsGeneric{ ExtruderType::etDirectDrive });
def = this->add("nozzle_volume_type", coEnums);
def->label = L("Nozzle Volume Type");
def->tooltip = L("Nozzle volume type for extruders.");
def->enum_keys_map = &ConfigOptionEnum<NozzleVolumeType>::get_enum_values();
def->enum_values.push_back("Standard");
def->enum_values.push_back("High Flow");
def->enum_labels.push_back(L("Standard"));
def->enum_labels.push_back(L("High Flow"));
def->set_default_value(new ConfigOptionEnumsGeneric{ NozzleVolumeType::nvtStandard });
def = this->add("default_nozzle_volume_type", coEnums);
def->label = L("Default Nozzle Volume Type.");
def->tooltip = L("Default Nozzle volume type for extruders in this printer.");
def->mode = comDevelop;
def->enum_keys_map = &ConfigOptionEnum<NozzleVolumeType>::get_enum_values();
def->enum_values.push_back("Standard");
def->enum_values.push_back("High Flow");
def->enum_labels.push_back(L("Standard"));
def->enum_labels.push_back(L("High Flow"));
def->set_default_value(new ConfigOptionEnumsGeneric{ NozzleVolumeType::nvtStandard });
def = this->add("extruder_variant_list", coStrings);
def->label = L("Extruder variant list");
def->tooltip = L("Extruder variant list.");
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings{"Direct Drive Standard"});
def = this->add("extruder_ams_count", coStrings);
def->label = L("Extruder AMS count");
def->tooltip = L("AMS counts per extruder.");
def->set_default_value(new ConfigOptionStrings());
def = this->add("printer_extruder_id", coInts);
def->label = L("Printer extruder id");
def->tooltip = L("Printer extruder id.");
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionInts{1});
def = this->add("printer_extruder_variant", coStrings);
def->label = L("Printer's extruder variant");
def->tooltip = L("Printer's extruder variant.");
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings{"Direct Drive Standard"});
def = this->add("master_extruder_id", coInt);
def->label = L("Master extruder id");
def->tooltip = L("Default extruder id to place filament.");
def->set_default_value(new ConfigOptionInt(1));
def = this->add("print_extruder_id", coInts);
def->label = L("Print extruder id");
def->tooltip = L("Print extruder id.");
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionInts{1});
def = this->add("print_extruder_variant", coStrings);
def->label = L("Print's extruder variant");
def->tooltip = L("Print's extruder variant.");
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionStrings{"Direct Drive Standard"});
def = this->add("filament_extruder_id", coInts);
def->label = L("Filament extruder id");
def->tooltip = L("Filament extruder id.");
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionInts{1});
def = this->add("filament_self_index", coInts);
def->label = L("Filament self index");
def->tooltip = L("Filament self index.");
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionInts{1});
def = this->add("retract_restart_extra", coFloats);
def->label = L("Extra length on restart");
def->tooltip = L("When the retraction is compensated after the travel move, the extruder will push this additional amount of filament. This setting is rarely needed.");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.});
def = this->add("retract_restart_extra_toolchange", coFloats);
def->label = L("Extra length on restart");
def->tooltip = L("When the retraction is compensated after changing tool, the extruder will push this additional amount of filament.");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.});
def = this->add("retraction_speed", coFloats);
def->label = L("Retraction Speed");
def->full_label = L("Retraction Speed");
def->tooltip = L("Speed for retracting filament from the nozzle.");
def->sidetext = L("mm/s");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{30.});
def = this->add("deretraction_speed", coFloats);
def->label = L("De-retraction Speed");
def->full_label = L("De-retraction Speed");
def->tooltip = L("Speed for reloading filament into the nozzle. Zero means same speed of retraction.");
def->sidetext = L("mm/s");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{0.});
def = this->add("bbl_calib_mark_logo", coBool);
def->label = L("Show auto-calibration marks");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("single_extruder_multi_material", coBool);
def->label = L("Single Extruder Multi Material");
def->tooltip = L("Use single nozzle to print multi filament.");
def->mode = comAdvanced;
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("wipe_tower_type", coEnum);
def->label = L("Wipe tower type");
def->tooltip = L("Choose the wipe tower implementation for multi-material prints. Type 1 is recommended for Bambu and Qidi printers with a filament cutter. Type 2 offers better compatibility with multi-tool and MMU printers and provide overall better compatibility.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<WipeTowerType>::get_enum_values();
def->enum_values.push_back("type1");
def->enum_values.push_back("type2");
def->enum_labels.push_back(L("Type 1"));
def->enum_labels.push_back(L("Type 2"));
def->set_default_value(new ConfigOptionEnum<WipeTowerType>(WipeTowerType::Type2));
def = this->add("purge_in_prime_tower", coBool);
def->label = L("Purge in prime tower");
def->tooltip = L("Purge remaining filament into prime tower.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("enable_filament_ramming", coBool);
def->label = L("Enable filament ramming");
def->tooltip = L("Enable filament ramming");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("tool_change_on_wipe_tower", coBool);
def->label = L("Tool change on wipe tower");
def->tooltip = L("Force the toolhead to travel to the wipe tower before issuing the tool change command (Tx). Only relevant for multi-extruder (multi-toolhead) printers using a Type 2 wipe tower. By default Orca skips the travel on multi-toolhead machines because the firmware handles the head swap, which can result in the Tx command being issued above the printed part. Enable this option if you want the tool change to always be issued above the wipe tower instead.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("head_wrap_detect_zone", coPoints);
def->label = L("Head wrap detect zone");
def->mode = comDevelop;
def->set_default_value(new ConfigOptionPoints());
def = this->add("travel_speed_z", coFloat);
def->sidetext = L("mm/s");
def->min = 0;
def->mode = comDevelop;
def->set_default_value(new ConfigOptionFloat(0.));
def = this->add("wipe", coBools);
def->label = L("Wipe while retracting");
def->tooltip = L("Move nozzle along the last extrusion path when retracting to clean any leaked material on the nozzle. This can minimize blobs when printing a new part after traveling.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBools{false});
def = this->add("wipe_distance", coFloats);
def->label = L("Wipe Distance");
def->tooltip = L("Describe how long the nozzle will move along the last path when retracting.\n\nDepending on how long the wipe operation lasts, how fast and long the extruder/filament retraction settings are, a retraction move may be needed to retract the remaining filament.\n\nSetting a value in the retract amount before wipe setting below will perform any excess retraction before the wipe, else it will be performed after.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats{1.});
def = this->add("flush_volumes_vector", coFloats);
def->label = L("Purging volumes - load/unload volumes");
def->set_default_value(new ConfigOptionFloats{140.f, 140.f, 140.f, 140.f, 140.f, 140.f, 140.f, 140.f});
def = this->add("flush_volumes_matrix", coFloats);
def->label = L("Purging volumes");
def->set_default_value(new ConfigOptionFloats{0.f, 280.f, 280.f, 280.f, 280.f, 0.f, 280.f, 280.f, 280.f, 280.f, 0.f, 280.f, 280.f, 280.f, 280.f, 0.f});
def = this->add("flush_multiplier", coFloats);
def->label = L("Flush multiplier");
def->tooltip = L("The actual flushing volumes is equal to the flush multiplier multiplied by the flushing volumes in the table.");
def->set_default_value(new ConfigOptionFloats{0.3});
def = this->add("wipe_tower_x", coFloats);
def->mode = comDevelop;
def->set_default_value(new ConfigOptionFloats{15.});
def = this->add("wipe_tower_y", coFloats);
def->mode = comDevelop;
def->set_default_value(new ConfigOptionFloats{220.});
def = this->add("wiping_volumes_extruders", coFloats);
def->label = L("Purging volumes - load/unload volumes");
def->tooltip = L("This vector saves required volumes to change from/to each tool used on the wipe tower. These values are used to simplify creation of the full purging volumes below.");
def->set_default_value(new ConfigOptionFloats{70., 70., 70., 70., 70., 70., 70., 70., 70., 70.});
def = this->add("prime_tower_flat_ironing", coBool);
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("thumbnails_format", coEnum);
def->label = L("Format of G-code thumbnails");
def->tooltip = L("Format of G-code thumbnails: PNG for best quality, JPG for smallest size, QOI for low memory firmware.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<GCodeThumbnailsFormat>::get_enum_values();
def->enum_values.push_back("PNG");
def->enum_values.push_back("JPG");
def->enum_values.push_back("QOI");
def->enum_values.push_back("BTT_TFT");
def->enum_values.push_back("COLPIC");
def->enum_labels.push_back(L("PNG"));
def->enum_labels.push_back(L("JPG"));
def->enum_labels.push_back(L("QOI"));
def->enum_labels.push_back(L("BTT TT"));
def->enum_labels.push_back(L("ColPic"));
def->set_default_value(new ConfigOptionEnum<GCodeThumbnailsFormat>(GCodeThumbnailsFormat::PNG));
def = this->add("extruder_clearance_height_to_rod", coFloat);
def->label = L("Height to rod");
def->category = L("Printer/Basic information");
def->tooltip = L("Distance of the nozzle tip to the lower rod. Used for collision avoidance in by-object printing.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(40));
def = this->add("extruder_clearance_height_to_lid", coFloat);
def->label = L("Height to lid");
def->category = L("Printer/Basic information");
def->tooltip = L("Distance of the nozzle tip to the lid. Used for collision avoidance in by-object printing.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(120));
def = this->add("extruder_clearance_radius", coFloat);
def->label = L("Radius");
def->category = L("Printer/Basic information");
def->tooltip = L("Clearance radius around extruder. Used for collision avoidance in by-object printing.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(40));
def = this->add("bed_mesh_min", coPoint);
def->label = L("Bed mesh min");
def->category = L("Printer/Basic information");
def->tooltip = L("This option sets the min point for the allowed bed mesh area. Due to the probe's XY offset, most printers are unable to probe the entire bed. To ensure the probe point does not go outside the bed area, the minimum and maximum points of the bed mesh should be set appropriately. OrcaSlicer ensures that adaptive_bed_mesh_min/adaptive_bed_mesh_max values do not exceed these min/max points. This information can usually be obtained from your printer manufacturer. The default setting is (-99999, -99999), which means there are no limits, thus allowing probing across the entire bed.");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPoint(Vec2d(-99999, -99999)));
def = this->add("bed_mesh_max", coPoint);
def->label = L("Bed mesh max");
def->category = L("Printer/Basic information");
def->tooltip = L("This option sets the max point for the allowed bed mesh area. Due to the probe's XY offset, most printers are unable to probe the entire bed. To ensure the probe point does not go outside the bed area, the minimum and maximum points of the bed mesh should be set appropriately. OrcaSlicer ensures that adaptive_bed_mesh_min/adaptive_bed_mesh_max values do not exceed these min/max points. This information can usually be obtained from your printer manufacturer. The default setting is (99999, 99999), which means there are no limits, thus allowing probing across the entire bed.");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPoint(Vec2d(99999, 99999)));
def = this->add("bed_mesh_probe_distance", coPoint);
def->label = L("Probe point distance");
def->category = L("Printer/Basic information");
def->tooltip = L("This option sets the preferred distance between probe points (grid size) for the X and Y directions, with the default being 50mm for both X and Y.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPoint(Vec2d(50, 50)));
def = this->add("adaptive_bed_mesh_margin", coFloat);
def->label = L("Mesh margin");
def->category = L("Printer/Basic information");
def->tooltip = L("This option determines the additional distance by which the adaptive bed mesh area should be expanded in the XY directions.");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("scan_first_layer", coBool);
def->label = L("Scan first layer");
def->category = L("Printer/Basic information");
def->tooltip = L("Enable this to enable the camera on printer to check the quality of first layer.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("enable_power_loss_recovery", coEnum);
def->label = L("Power Loss Recovery");
def->category = L("Printer/Basic information");
def->tooltip = L("Choose how to control power loss recovery. When set to Printer configuration, the slicer will not emit power loss recovery G-code and will leave the printer's configuration unchanged. Applicable to Bambu Lab or Marlin 2 firmware based printers.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<PowerLossRecoveryMode>::get_enum_values();
def->enum_values.push_back("printer_configuration");
def->enum_values.push_back("enable");
def->enum_values.push_back("disable");
def->enum_labels.push_back(L("Printer configuration"));
def->enum_labels.push_back(L("Enable"));
def->enum_labels.push_back(L("Disable"));
def->set_default_value(new ConfigOptionEnum<PowerLossRecoveryMode>(PowerLossRecoveryMode::PrinterConfiguration));
def = this->add("nozzle_type", coEnums);
def->label = L("Nozzle type");
def->category = L("Printer/Basic information");
def->tooltip = L("The metallic material of nozzle. This determines the abrasive resistance of nozzle, and what kind of filament can be printed.");
def->mode = comAdvanced;
def->nullable = true;
def->enum_keys_map = &ConfigOptionEnum<NozzleType>::get_enum_values();
def->enum_values.push_back("undefine");
def->enum_values.push_back("hardened_steel");
def->enum_values.push_back("stainless_steel");
def->enum_values.push_back("tungsten_carbide");
def->enum_values.push_back("brass");
def->enum_labels.push_back(L("Undefine"));
def->enum_labels.push_back(L("Hardened steel"));
def->enum_labels.push_back(L("Stainless steel"));
def->enum_labels.push_back(L("Tungsten carbide"));
def->enum_labels.push_back(L("Brass"));
def->set_default_value(new ConfigOptionEnumsGeneric{ ntUndefine });
def = this->add("nozzle_hrc", coInt);
def->label = L("Nozzle HRC");
def->category = L("Printer/Basic information");
def->tooltip = L("The nozzle's hardness. Zero means no checking for nozzle's hardness during slicing.");
def->sidetext = L("HRC");
def->min = 0;
def->max = 500;
def->mode = comDevelop;
def->set_default_value(new ConfigOptionInt(0));
def = this->add("printer_structure", coEnum);
def->label = L("Printer structure");
def->category = L("Printer/Basic information");
def->tooltip = L("The physical arrangement and components of a printing device.");
def->mode = comDevelop;
def->enum_keys_map = &ConfigOptionEnum<PrinterStructure>::get_enum_values();
def->enum_values.push_back("undefine");
def->enum_values.push_back("corexy");
def->enum_values.push_back("i3");
def->enum_values.push_back("hbot");
def->enum_values.push_back("delta");
def->enum_labels.push_back(L("Undefine"));
def->enum_labels.push_back(L("CoreXY"));
def->enum_labels.push_back(L("I3"));
def->enum_labels.push_back(L("Hbot"));
def->enum_labels.push_back(L("Delta"));
def->set_default_value(new ConfigOptionEnum<PrinterStructure>(psUndefine));
def = this->add("best_object_pos", coPoint);
def->label = L("Best object position");
def->category = L("Printer/Basic information");
def->tooltip = L("Best auto arranging position in range [0,1] w.r.t. bed shape.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPoint(Vec2d(0.5, 0.5)));
def = this->add("auxiliary_fan", coBool);
def->label = L("Auxiliary part cooling fan");
def->category = L("Printer/Basic information");
def->tooltip = L("Enable this option if machine has auxiliary part cooling fan. G-code command: M106 P2 S(0-255).");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("fan_speedup_time", coFloat);
def->category = L("Printer/Basic information");
def->tooltip = L("Start the fan this number of seconds earlier than its target start time (you can use fractional seconds). It assumes infinite acceleration for this time estimation, and will only take into account G1 and G0 moves (arc fitting is unsupported).\nIt won't move fan commands from custom G-code (they act as a sort of 'barrier').\nIt won't move fan commands into the start G-code if the 'only custom start G-code' is activated.\nUse 0 to deactivate.");
def->sidetext = L("s");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("fan_speedup_overhangs", coBool);
def->label = L("Only overhangs");
def->category = L("Printer/Basic information");
def->tooltip = L("Will only take into account the delay for the cooling of overhangs.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("fan_kickstart", coFloat);
def->label = L("Fan kick-start time");
def->category = L("Printer/Basic information");
def->tooltip = L("Emit a max fan speed command for this amount of seconds before reducing to target speed to kick-start the cooling fan.\nThis is useful for fans where a low PWM/power may be insufficient to get the fan started spinning from a stop, or to get the fan up to speed faster.\nSet to 0 to deactivate.");
def->sidetext = L("s");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("part_cooling_fan_min_pwm", coInt);
def->label = L("Minimum non-zero part cooling fan speed");
def->category = L("Printer/Basic information");
def->tooltip = L("Some part-cooling fans cannot start spinning when commanded below a certain PWM duty cycle. When set above 0, any non-zero part-cooling fan command will be raised to at least this percentage so the fan reliably starts. A fan command of 0 (fan off) is always honoured exactly. This clamp is applied after every other fan calculation (first-layer ramp, layer-time interpolation, overhang/bridge/support-interface/ironing overrides), so scaling still operates within the range [this value, 100%].\nIf your firmware already disables the fan below a threshold (for example Klipper's [fan] off_below: 0.10 shuts the fan off whenever the commanded duty cycle is below 10%), this option and the firmware threshold should ideally be set to the same value. Matching them (e.g. off_below: 0.10 in Klipper and 10% here) guarantees the slicer never emits a non-zero value that the firmware would silently drop, and the fan never receives a value below the one you know it can actually spool at.\nSet to 0 to deactivate.");
def->sidetext = L("%");
def->min = 0;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInt(0));
def = this->add("time_cost", coFloat);
def->label = L("Time cost");
def->category = L("Printer/Basic information");
def->tooltip = L("The printer cost per hour.");
def->sidetext = L("money/h");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("support_chamber_temp_control", coBool);
def->label = L("Support control chamber temperature");
def->category = L("Printer/Basic information");
def->tooltip = L("This option is enabled if machine support controlling chamber temperature\nG-code command: M141 S(0-255)");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("support_air_filtration", coBool);
def->label = L("Support air filtration");
def->category = L("Printer/Basic information");
def->tooltip = L("Enable this if printer support air filtration\nG-code command: M106 P3 S(0-255)");
def->mode = comDevelop;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("gcode_flavor", coEnum);
def->label = L("G-code flavor");
def->category = L("Printer/Basic information");
def->tooltip = L("What kind of G-code the printer is compatible with.");
def->mode = comAdvanced;
def->enum_keys_map = &ConfigOptionEnum<GCodeFlavor>::get_enum_values();
def->enum_values.push_back("marlin");
def->enum_values.push_back("klipper");
def->enum_values.push_back("reprapfirmware");
def->enum_values.push_back("repetier");
def->enum_values.push_back("marlin2");
def->enum_values.push_back("reprap");
def->enum_values.push_back("teacup");
def->enum_values.push_back("makerware");
def->enum_values.push_back("sailfish");
def->enum_values.push_back("mach3");
def->enum_values.push_back("machinekit");
def->enum_values.push_back("smoothie");
def->enum_values.push_back("no-extrusion");
def->enum_labels.push_back(L("Marlin(legacy)"));
def->enum_labels.push_back(L("Klipper"));
def->enum_labels.push_back(L("RepRapFirmware"));
def->enum_labels.push_back(L("Repetier"));
def->enum_labels.push_back(L("Marlin 2"));
def->enum_labels.push_back(L("RepRap/Sprinter"));
def->enum_labels.push_back(L("Teacup"));
def->enum_labels.push_back(L("MakerWare (MakerBot)"));
def->enum_labels.push_back(L("Sailfish (MakerBot)"));
def->enum_labels.push_back(L("Mach3/LinuxCNC"));
def->enum_labels.push_back(L("Machinekit"));
def->enum_labels.push_back(L("Smoothie"));
def->enum_labels.push_back(L("No extrusion"));
def->set_default_value(new ConfigOptionEnum<GCodeFlavor>(gcfMarlinLegacy));
def = this->add("pellet_modded_printer", coBool);
def->label = L("Pellet Modded Printer");
def->category = L("Printer/Basic information");
def->tooltip = L("Enable this option if your printer uses pellets instead of filaments.");
def->set_default_value(new ConfigOptionBool(false));
def = this->add("support_multi_bed_types", coBool);
def->label = L("Support multi bed types");
def->category = L("Printer/Basic information");
def->tooltip = L("Enable this option if you want to use multiple bed types.");
def->set_default_value(new ConfigOptionBool(false));
def = this->add("use_firmware_retraction", coBool);
def->label = L("Use firmware retraction");
def->category = L("Printer/Basic information");
def->tooltip = L("This experimental setting uses G10 and G11 commands to have the firmware handle the retraction. This is only supported in recent Marlin.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("disable_m73", coBool);
def->label = L("Disable set remaining print time");
def->category = L("Printer/Basic information");
def->tooltip = L("Disable generating of the M73: Set remaining print time in the final G-code.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("z_offset", coFloat);
def->label = L("Z offset");
def->category = L("Printer/Basic information");
def->tooltip = L("This value will be added (or subtracted) from all the Z coordinates in the output G-code. It is used to compensate for bad Z endstop position: for example, if your endstop zero actually leaves the nozzle 0.3mm far from the print bed, set this to -0.3 (or fix your endstop).");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(0));
def = this->add("thumbnails", coString);
def->label = L("G-code thumbnails");
def->category = L("Printer/Basic information");
def->tooltip = L("Picture sizes to be stored into a .gcode and .sl1 / .sl1s files, in the following format: \"XxY, XxY, ...\"");
def->mode = comAdvanced;
def->gui_type = ConfigOptionDef::GUIType::one_string;
def->set_default_value(new ConfigOptionString("48x48/PNG,300x300/PNG"));
def = this->add("use_relative_e_distances", coBool);
def->label = L("Use relative E distances");
def->category = L("Printer/Basic information");
def->tooltip = L("Relative extrusion is recommended when using \"label_objects\" option. Some extruders work better with this option unchecked (absolute extrusion mode). Wipe tower is only compatible with relative mode. It is recommended on most printers. Default is checked.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("before_layer_change_gcode", coString);
def->label = L("Before layer change G-code");
def->category = L("Printer/Machine G-code");
def->tooltip = L("This G-code is inserted at every layer change before the Z lift.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 5;
def->set_default_value(new ConfigOptionString());
def = this->add("machine_end_gcode", coString);
def->label = L("End G-code");
def->category = L("Printer/Machine G-code");
def->tooltip = L("End G-code when finishing the entire print.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 12;
def->set_default_value(new ConfigOptionString("M104 S0 ; turn off temperature
G28 X0 ; home X axis
M84 ; disable motors
"));
def = this->add("printing_by_object_gcode", coString);
def->label = L("Between Object G-code");
def->category = L("Printer/Machine G-code");
def->tooltip = L("Insert G-code between objects. This parameter will only come into effect when you print your models object by object.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 12;
def->set_default_value(new ConfigOptionString());
def = this->add("layer_change_gcode", coString);
def->label = L("Layer change G-code");
def->category = L("Printer/Machine G-code");
def->tooltip = L("This G-code is inserted at every layer change after the Z lift.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 5;
def->set_default_value(new ConfigOptionString());
def = this->add("time_lapse_gcode", coString);
def->label = L("Timelapse G-code");
def->category = L("Printer/Machine G-code");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 5;
def->set_default_value(new ConfigOptionString());
def = this->add("wrapping_detection_gcode", coString);
def->label = L("Clumping detection G-code");
def->category = L("Printer/Machine G-code");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 5;
def->set_default_value(new ConfigOptionString(""));
def = this->add("machine_pause_gcode", coString);
def->label = L("Pause G-code");
def->category = L("Printer/Machine G-code");
def->tooltip = L("This G-code will be used as a code for the pause print. Users can insert pause G-code in the G-code viewer.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 12;
def->set_default_value(new ConfigOptionString());
def = this->add("template_custom_gcode", coString);
def->label = L("Custom G-code");
def->category = L("Printer/Machine G-code");
def->tooltip = L("This G-code will be used as a custom code.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 12;
def->set_default_value(new ConfigOptionString());
def = this->add("file_start_gcode", coString);
def->label = L("File header G-code");
def->category = L("Printer/Machine G-code");
def->tooltip = L("G-code written at the very top of the output file, before any other content. Useful for adding metadata that printer firmware reads from the first lines of the file (e.g. estimated print time, filament usage). Supports placeholders like {print_time_sec} and {used_filament_length}.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 8;
def->set_default_value(new ConfigOptionString(""));
def = this->add("machine_start_gcode", coString);
def->label = L("Start G-code");
def->category = L("Printer/Machine G-code");
def->tooltip = L("Start G-code when starting the entire print.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 12;
def->set_default_value(new ConfigOptionString("G28 ; home all axes
G1 Z5 F5000 ; lift nozzle
"));
def = this->add("change_filament_gcode", coString);
def->label = L("Change filament G-code");
def->category = L("Printer/Machine G-code");
def->tooltip = L("This G-code is inserted when filament is changed, including T commands to trigger tool change.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 5;
def->set_default_value(new ConfigOptionString());
def = this->add("change_extrusion_role_gcode", coString);
def->label = L("Change extrusion role G-code");
def->category = L("Printer/Machine G-code");
def->tooltip = L("This G-code is inserted when the extrusion role is changed.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 5;
def->set_default_value(new ConfigOptionString());
def = this->add("printer_notes", coString);
def->label = L("Printer notes");
def->category = L("Printer/Notes");
def->tooltip = L("You can put your notes regarding the printer here.");
def->mode = comAdvanced;
def->multiline = true;
def->full_width = true;
def->height = 13;
def->set_default_value(new ConfigOptionString());