Extend coordinates used for min/max calculation
Both old and new position are relevant, we are extruding from one to the other.
This commit is contained in:
parent
6a1b162e7b
commit
77db00a2ea
1 changed files with 2 additions and 1 deletions
|
|
@ -343,7 +343,8 @@ class gcode(object):
|
||||||
|
|
||||||
# If move with extrusion, calculate new min/max coordinates of model
|
# If move with extrusion, calculate new min/max coordinates of model
|
||||||
if e > 0.0 and move:
|
if e > 0.0 and move:
|
||||||
# extrusion and move -> relevant for print area & dimensions
|
# extrusion and move -> oldPos & pos relevant for print area & dimensions
|
||||||
|
self._minMax.record(oldPos)
|
||||||
self._minMax.record(pos)
|
self._minMax.record(pos)
|
||||||
|
|
||||||
totalExtrusion[currentExtruder] += e
|
totalExtrusion[currentExtruder] += e
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue