mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
Change layer time to float
This commit is contained in:
parent
78b9fcb71b
commit
0008668fa5
2 changed files with 6 additions and 6 deletions
|
@ -1105,7 +1105,7 @@ void PrintConfigDef::init_fff_params()
|
|||
"at minimum speed to reduce the frequency of starting and stoping");
|
||||
def->set_default_value(new ConfigOptionBools { false });
|
||||
|
||||
def = this->add("fan_cooling_layer_time", coInts);
|
||||
def = this->add("fan_cooling_layer_time", coFloats);
|
||||
def->label = L("Layer time");
|
||||
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");
|
||||
|
@ -1113,7 +1113,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->min = 0;
|
||||
def->max = 1000;
|
||||
def->mode = comSimple;
|
||||
def->set_default_value(new ConfigOptionInts { 60 });
|
||||
def->set_default_value(new ConfigOptionFloats{ 60.0f });
|
||||
|
||||
def = this->add("filament_colour", coStrings);
|
||||
def->label = L("Color");
|
||||
|
@ -2279,7 +2279,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->mode = comSimple;
|
||||
def->set_default_value(new ConfigOptionInt(1));
|
||||
|
||||
def = this->add("slow_down_layer_time", coInts);
|
||||
def = this->add("slow_down_layer_time", coFloats);
|
||||
def->label = L("Layer time");
|
||||
def->tooltip = L("The printing speed in exported gcode will be slowed down, when the estimated layer time is shorter than this value, to "
|
||||
"get better cooling for these layers");
|
||||
|
@ -2287,7 +2287,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->min = 0;
|
||||
def->max = 1000;
|
||||
def->mode = comSimple;
|
||||
def->set_default_value(new ConfigOptionInts { 5 });
|
||||
def->set_default_value(new ConfigOptionFloats { 5.0f });
|
||||
|
||||
def = this->add("minimum_sparse_infill_area", coFloat);
|
||||
def->label = L("Minimum sparse infill threshold");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue