mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-18 04:25:57 +08:00
Fix travel slope param range and type
This commit is contained in:
parent
5927a20905
commit
0c64950151
@ -2333,15 +2333,15 @@ void PrintConfigDef::init_fff_params()
|
|||||||
def->mode = comExpert;
|
def->mode = comExpert;
|
||||||
def->set_default_value(new ConfigOptionFloats { 10. });
|
def->set_default_value(new ConfigOptionFloats { 10. });
|
||||||
|
|
||||||
def = this->add("travel_slope", coPercents);
|
def = this->add("travel_slope", coFloats);
|
||||||
def->label = L("Ramping slope angle");
|
def->label = L("Ramping slope angle");
|
||||||
def->tooltip = L("During travel there is a part of the travel that is sloped upwards. "
|
def->tooltip = L("During travel there is a part of the travel that is sloped upwards. "
|
||||||
"This number indicates the slope of the travel as mm raised per mm traveled in percent.");
|
"This number indicates the slope of the travel as mm raised per mm traveled in percent.");
|
||||||
def->sidetext = L("°");
|
def->sidetext = L("°");
|
||||||
def->min = 0;
|
def->min = 0;
|
||||||
def->max_literal = 1000;
|
def->max_literal = 90;
|
||||||
def->mode = comAdvanced;
|
def->mode = comAdvanced;
|
||||||
def->set_default_value(new ConfigOptionPercents{0.0});
|
def->set_default_value(new ConfigOptionFloats{0.0});
|
||||||
|
|
||||||
def = this->add("travel_ramping_lift", coBools);
|
def = this->add("travel_ramping_lift", coBools);
|
||||||
def->label = L("Use ramping lift");
|
def->label = L("Use ramping lift");
|
||||||
|
@ -747,7 +747,7 @@ PRINT_CONFIG_CLASS_DEFINE(
|
|||||||
((ConfigOptionFloat, max_volumetric_extrusion_rate_slope_negative))
|
((ConfigOptionFloat, max_volumetric_extrusion_rate_slope_negative))
|
||||||
((ConfigOptionBools, travel_ramping_lift))
|
((ConfigOptionBools, travel_ramping_lift))
|
||||||
((ConfigOptionFloats, travel_max_lift))
|
((ConfigOptionFloats, travel_max_lift))
|
||||||
((ConfigOptionPercents, travel_slope))
|
((ConfigOptionFloats, travel_slope))
|
||||||
((ConfigOptionBools, travel_lift_before_obstacle))
|
((ConfigOptionBools, travel_lift_before_obstacle))
|
||||||
((ConfigOptionPercents, retract_before_wipe))
|
((ConfigOptionPercents, retract_before_wipe))
|
||||||
((ConfigOptionFloats, retract_length))
|
((ConfigOptionFloats, retract_length))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user