mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -06:00
ENH: avoid crossing wall when travel
Provide related two options to avoid crossing wall when travel. This is handling for github issue #106 Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: I127adbb70f33c3954a08f3087e64c4e75212c7f0
This commit is contained in:
parent
f155f5a498
commit
6c8015ca28
3 changed files with 14 additions and 11 deletions
|
@ -455,22 +455,23 @@ void PrintConfigDef::init_fff_params()
|
|||
const int max_temp = 1500;
|
||||
|
||||
def = this->add("reduce_crossing_wall", coBool);
|
||||
def->label = L("Avoid crossing wall when travel");
|
||||
def->label = L("Avoid crossing wall");
|
||||
def->category = L("Quality");
|
||||
def->tooltip = L("Detour and avoid to travel across wall which may cause blob on surface");
|
||||
def->mode = comDevelop;
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionBool(false));
|
||||
|
||||
def = this->add("max_travel_detour_distance", coFloat);
|
||||
def->label = L("Max travel detour distance");
|
||||
def = this->add("max_travel_detour_distance", coFloatOrPercent);
|
||||
def->label = L("Avoid crossing wall - Max detour length");
|
||||
def->category = L("Quality");
|
||||
def->tooltip = L("Maximum detour distance for avoiding crossing wall. "
|
||||
"Don't detour if the detour distance is large than this value");
|
||||
def->sidetext = L("mm");
|
||||
"Don't detour if the detour distance is large 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 = comDevelop;
|
||||
def->set_default_value(new ConfigOptionFloat(0.));
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionFloatOrPercent(0., false));
|
||||
|
||||
// BBS
|
||||
def = this->add("cool_plate_temp", coInts);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue