Skip to content

Commit 17b3357

Browse files
committed
Reset extrusion every 0.1M
CURA-12851
1 parent 60f5df1 commit 17b3357

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/gcodeExport.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,9 +1213,8 @@ void GCodeExport::writeUnretractionAndPrime()
12131213
}
12141214
extruder_attr_[current_extruder_].prime_volume_ = 0.0;
12151215

1216-
if (getCurrentExtrudedVolume() > 10000.0 && flavor_ != EGCodeFlavor::BFB
1217-
&& flavor_ != EGCodeFlavor::MAKERBOT) // According to https://github.com/Ultimaker/CuraEngine/issues/14 having more then 21m of extrusion causes inaccuracies. So reset it
1218-
// every 10m, just to be sure.
1216+
if (getCurrentExtrudedVolume() > 100.0 && flavor_ != EGCodeFlavor::BFB
1217+
&& flavor_ != EGCodeFlavor::MAKERBOT) // reset extrusion every 0.1m
12191218
{
12201219
resetExtrusionValue();
12211220
}

0 commit comments

Comments
 (0)