[Path] set the default max diameter

This commit is contained in:
Daniel Wood
2020-10-29 21:27:32 +00:00
parent 4ea4ad84ce
commit eb3fbc0f94

View File

@@ -361,6 +361,8 @@ class ObjectOp(object):
if FeatureDiameters & features:
obj.MinDiameter = '0 mm'
obj.MaxDiameter = '0 mm'
if job.Stock:
obj.MaxDiameter = job.Stock.Shape.BoundBox.XLength
if FeatureStartPoint & features:
obj.UseStartPoint = False