round BoundBox

round xmin, xmax, ymin, ymax
This commit is contained in:
Dimitris75
2025-08-16 21:25:06 +03:00
parent 3b117f817b
commit 648b641c8c

View File

@@ -1279,10 +1279,10 @@ class ObjectWaterline(PathOp.ObjectOp):
# Get Stock boundbox for OCL Adaptive
BS = JOB.Stock
bb = BS.Shape.BoundBox
xmin = abs(bb.XMin)
xmax = abs(bb.XMax)
ymin = abs(bb.YMin)
ymax = abs(bb.YMax)
xmin = round(abs(bb.XMin), 6)
xmax = round(abs(bb.XMax), 6)
ymin = round(abs(bb.YMin), 6)
ymax = round(abs(bb.YMax), 6)
else:
if subShp is None: