From 60249f543c8be8fe9f1f996fb9857d7acd2e08db Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Wed, 28 Oct 2020 11:35:09 -0500 Subject: [PATCH] Path: Delete irrelevant code --- src/Mod/Path/PathScripts/PathAreaOp.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathAreaOp.py b/src/Mod/Path/PathScripts/PathAreaOp.py index 2626aa71f9..d68e4676dd 100644 --- a/src/Mod/Path/PathScripts/PathAreaOp.py +++ b/src/Mod/Path/PathScripts/PathAreaOp.py @@ -322,14 +322,8 @@ class ObjectOp(PathOp.ObjectOp): paths.extend(pp.Commands) PathLog.debug('pp: {}, end vector: {}'.format(pp, end_vector)) - self.endVector = end_vector # pylint: disable=attribute-defined-outside-init - + self.endVector = end_vector simobj = None - if getsim: - areaParams['ToolRadius'] = self.radius - self.radius * .005 - area.setParams(**areaParams) - sec = area.makeSections(mode=0, project=False, heights=heights)[-1].getShape() - simobj = sec.extrude(FreeCAD.Vector(0, 0, baseobject.BoundBox.ZMax)) return paths, simobj