Account for head movements when using support in the project planner.
This commit is contained in:
parent
cedda983e8
commit
46a0d36fab
1 changed files with 3 additions and 0 deletions
|
@ -492,6 +492,9 @@ class projectPlanner(wx.Frame):
|
||||||
skirtSize = profile.getProfileSettingFloat('skirt_line_count') * profile.calculateEdgeWidth() + profile.getProfileSettingFloat('skirt_gap')
|
skirtSize = profile.getProfileSettingFloat('skirt_line_count') * profile.calculateEdgeWidth() + profile.getProfileSettingFloat('skirt_gap')
|
||||||
extraSizeMin = extraSizeMin + util3d.Vector3(skirtSize, skirtSize, 0)
|
extraSizeMin = extraSizeMin + util3d.Vector3(skirtSize, skirtSize, 0)
|
||||||
extraSizeMax = extraSizeMax + util3d.Vector3(skirtSize, skirtSize, 0)
|
extraSizeMax = extraSizeMax + util3d.Vector3(skirtSize, skirtSize, 0)
|
||||||
|
if profile.getProfileSetting('support') != 'None':
|
||||||
|
extraSizeMin = extraSizeMin + util3d.Vector3(3.0, 0, 0)
|
||||||
|
extraSizeMax = extraSizeMax + util3d.Vector3(3.0, 0, 0)
|
||||||
|
|
||||||
if extraSizeMin.x > extraSizeMax.x:
|
if extraSizeMin.x > extraSizeMax.x:
|
||||||
posX = self.machineSize.x
|
posX = self.machineSize.x
|
||||||
|
|
Loading…
Reference in a new issue