From 1160e04afebc6fd467561e2e9a107d1d47e4ca39 Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Tue, 31 Jul 2018 12:29:11 -0700 Subject: [PATCH] Revert "Get the outline of the syntesized shape for PocketShape before extruding." This reverts commit 135ede46fe266b3231a504119b01232ef8c323a3. --- src/Mod/Path/PathScripts/PathPocketShape.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathPocketShape.py b/src/Mod/Path/PathScripts/PathPocketShape.py index 2f263ed6f1..5a8efb0a65 100644 --- a/src/Mod/Path/PathScripts/PathPocketShape.py +++ b/src/Mod/Path/PathScripts/PathPocketShape.py @@ -110,13 +110,10 @@ class ObjectPocket(PathPocketBase.ObjectPocket): f.translate(FreeCAD.Vector(0, 0, obj.FinalDepth.Value - f.BoundBox.ZMin)) # check all faces and see if they are touching/overlapping and combine those into a compound - self.horizontal = [] - for shape in PathGeom.combineConnectedShapes(self.horiz): + self.horizontal = PathGeom.combineConnectedShapes(self.horiz) + for shape in self.horizontal: shape.sewShape() shape.tessellate(0.1) - wire = TechDraw.findShapeOutline(shape, 1, FreeCAD.Vector(0, 0, 1)) - wire.translate(FreeCAD.Vector(0, 0, obj.FinalDepth.Value - wire.BoundBox.ZMin)) - self.horizontal.append(Part.Face(wire)) # extrude all faces up to StartDepth and those are the removal shapes extent = FreeCAD.Vector(0, 0, obj.StartDepth.Value - obj.FinalDepth.Value)