diff --git a/src/Mod/BIM/ArchCommands.py b/src/Mod/BIM/ArchCommands.py index cfb393e89c..b26a28ae43 100644 --- a/src/Mod/BIM/ArchCommands.py +++ b/src/Mod/BIM/ArchCommands.py @@ -487,9 +487,9 @@ def getCutVolume(cutplane, shapes, clip=False, depth=None): if not isinstance(shapes, list): shapes = [shapes] # building boundbox - bb = shapes[0].BoundBox + bb = shapes[0].optimalBoundingBox() for sh in shapes[1:]: - bb.add(sh.BoundBox) + bb.add(sh.optimalBoundingBox()) bb.enlarge(1) # building cutplane space um = vm = wm = 0