From ffc353f2944239cd2eaf333b5f2e72aa28ac6e4e Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Wed, 13 May 2020 16:33:13 -0500 Subject: [PATCH] Path: Fix for `.extrude()` vector roughly zero --- src/Mod/Path/PathScripts/PathProfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathProfile.py b/src/Mod/Path/PathScripts/PathProfile.py index 784632b48c..6745b143e0 100644 --- a/src/Mod/Path/PathScripts/PathProfile.py +++ b/src/Mod/Path/PathScripts/PathProfile.py @@ -627,7 +627,7 @@ class ObjectProfile(PathAreaOp.ObjectOp): 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