Skip to content

Commit

Permalink
Path: Delete irrelevant code
Browse files Browse the repository at this point in the history
  • Loading branch information
Russ4262 committed Nov 13, 2020
1 parent a273bef commit d3c3a11
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/Mod/Path/PathScripts/PathAreaOp.py
Expand Up @@ -322,14 +322,8 @@ def _buildProfileOpenEdges(self, obj, edgeList, isHole, start, getsim):
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

Expand Down

0 comments on commit d3c3a11

Please sign in to comment.