mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-05 20:56:10 +08:00
Account for head movements when using support in the project planner.
This commit is contained in:
parent
cedda983e8
commit
46a0d36fab
@ -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…
x
Reference in New Issue
Block a user