Path: engrave will do arrays

This commit is contained in:
sliptonic
2017-05-08 16:45:02 -05:00
committed by wmayer
parent 27b097c570
commit 67efac641f

View File

@@ -118,7 +118,8 @@ class ObjectPathEngrave:
return
try:
if baseobject.isDerivedFrom('Sketcher::SketchObject') or \
baseobject.isDerivedFrom('Part::Part2DObject'):
baseobject.isDerivedFrom('Part::Part2DObject') or \
hasattr(baseobject, 'ArrayType'):
output += "G0 Z" + PathUtils.fmt(obj.ClearanceHeight.Value) + "F " + PathUtils.fmt(self.vertRapid) + "\n"