[Path] Fix Typo - Stock object requires uppercase 'S'

This commit is contained in:
Daniel Wood
2020-11-06 13:16:43 +00:00
committed by wwmayer
parent 80626d3a1f
commit 5807c38416

View File

@@ -344,7 +344,7 @@ class ObjectOp(PathOp.ObjectOp):
# holes.append({'x': location.x, 'y': location.y, 'r': 0, 'angle': 0.0, 'axis': 'X', 'holeBtm': obj.FinalDepth.Value})
holes.append({'x': location.x, 'y': location.y, 'r': 0,
'angle': 0.0, 'axis': 'X', 'trgtDep': finDep,
'stkTop': PathUtils.findParentJob(obj).stock.Shape.BoundBox.ZMax})
'stkTop': PathUtils.findParentJob(obj).Stock.Shape.BoundBox.ZMax})
if len(holes) > 0:
self.circularHoleExecute(obj, holes) # circularHoleExecute() located in PathDrilling.py