From 4cff6274688123f817da02bbd5795aa0f9fcb65b Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Sat, 15 Jun 2019 12:05:58 -0500 Subject: [PATCH] added missing self.stockBB instantiation job boundbox object was missing in opSetDefaultValues() --- src/Mod/Path/PathScripts/PathAreaOp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/Path/PathScripts/PathAreaOp.py b/src/Mod/Path/PathScripts/PathAreaOp.py index f6d3211928..b6f32da0ab 100644 --- a/src/Mod/Path/PathScripts/PathAreaOp.py +++ b/src/Mod/Path/PathScripts/PathAreaOp.py @@ -215,6 +215,7 @@ class ObjectOp(PathOp.ObjectOp): # Adjust start and final depths if rotation is enabled if obj.EnableRotation != 'Off': self.initWithRotation = True + self.stockBB = PathUtils.findParentJob(obj).Stock.Shape.BoundBox # Calculate rotational distances/radii opHeights = self.opDetermineRotationRadii(obj) # return is list with tuples [(xRotRad, yRotRad, zRotRad), (clrOfst, safOfset)] (xRotRad, yRotRad, zRotRad) = opHeights[0]