From 648b641c8c0ab5a4b9634bcca97469ed29beecd4 Mon Sep 17 00:00:00 2001 From: Dimitris75 Date: Sat, 16 Aug 2025 21:25:06 +0300 Subject: [PATCH] round BoundBox round xmin, xmax, ymin, ymax --- src/Mod/CAM/Path/Op/Waterline.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Mod/CAM/Path/Op/Waterline.py b/src/Mod/CAM/Path/Op/Waterline.py index f9c11e1706..ed1726890e 100644 --- a/src/Mod/CAM/Path/Op/Waterline.py +++ b/src/Mod/CAM/Path/Op/Waterline.py @@ -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: