mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: small wipe tower width result in infinite loop
Change-Id: I1e25dba1728b9427a0cab2c2629c340bf2a4566a (cherry picked from commit b1fc2f5857e05a177c00134178ddd39882c2a6ab)
This commit is contained in:
parent
a801672963
commit
da4be5a802
2 changed files with 4 additions and 1 deletions
|
@ -1242,6 +1242,8 @@ void WipeTower::plan_toolchange(float z_par, float layer_height_par, unsigned in
|
|||
// this is an actual toolchange - let's calculate depth to reserve on the wipe tower
|
||||
float depth = 0.f;
|
||||
float width = m_wipe_tower_width - 2 * m_perimeter_width;
|
||||
if (width <= EPSILON)
|
||||
return;
|
||||
|
||||
// BBS: remove old filament ramming and first line
|
||||
#if 0
|
||||
|
|
|
@ -2822,7 +2822,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->label = L("Prime volume");
|
||||
def->tooltip = L("The volume of material to prime extruder on tower.");
|
||||
def->sidetext = L("mm³");
|
||||
def->min = 0;
|
||||
def->min = 1.0;
|
||||
def->mode = comSimple;
|
||||
def->set_default_value(new ConfigOptionFloat(45.));
|
||||
|
||||
|
@ -2846,6 +2846,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->label = L("Width");
|
||||
def->tooltip = L("Width of prime tower");
|
||||
def->sidetext = L("mm");
|
||||
def->min = 2.0;
|
||||
def->mode = comSimple;
|
||||
def->set_default_value(new ConfigOptionFloat(35.));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue