Skip to content

Commit

Permalink
Path: Fix for .extrude() vector roughly zero
Browse files Browse the repository at this point in the history
  • Loading branch information
Russ4262 committed May 14, 2020
1 parent a679356 commit ffc353f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Path/PathScripts/PathProfile.py
Expand Up @@ -627,7 +627,7 @@ def _flattenWire(self, obj, wire, trgtDep):
PathLog.debug('Wire is not horizontally co-planar. Flattening it.')

# Extrude non-horizontal wire
extFwdLen = wBB.ZLength * 2.2
extFwdLen = (wBB.ZLength + 2.0) * 2.0
mbbEXT = wire.extrude(FreeCAD.Vector(0, 0, extFwdLen))

# Create cross-section of shape and translate
Expand Down

0 comments on commit ffc353f

Please sign in to comment.