Skip to content

BIM: use optimalBoundingBox in getCutVolume#25952

Merged
yorikvanhavre merged 1 commit intoFreeCAD:mainfrom
Roy-043:BIM-use-optimalBoundingBox-in-getCutVolume
Dec 15, 2025
Merged

BIM: use optimalBoundingBox in getCutVolume#25952
yorikvanhavre merged 1 commit intoFreeCAD:mainfrom
Roy-043:BIM-use-optimalBoundingBox-in-getCutVolume

Conversation

@Roy-043
Copy link
Contributor

@Roy-043 Roy-043 commented Dec 4, 2025

Fixes #25900.

The BoundBox of objects with curved faces can have a high tolerance. The optimalBoundingBox method calculates the exact boundbox.

>>> shp.BoundBox
BoundBox (-32489, -4388, -249.909, 31064, -3888, 248.535)
>>> shp.optimalBoundingBox()
BoundBox (-32490.8, -4389.82, -251.731, 31065.8, -3886.18, 250.358)

@github-actions github-actions bot added the Mod: BIM Related to the BIM Workbench label Dec 4, 2025
@Roy-043 Roy-043 added Type: Bug This issue or PR is related to a bug backport releases/FreeCAD-1-1 Applied to a PR that is on main to trigger the automatic creation of another PR onto 1.1 labels Dec 4, 2025
@Roy-043 Roy-043 added this to the 1.1 milestone Dec 4, 2025
@maxwxyz maxwxyz moved this from Queue to Merge Meeting in Merge Queue Dec 4, 2025
@chennes chennes requested a review from yorikvanhavre December 8, 2025 17:28
@yorikvanhavre yorikvanhavre self-assigned this Dec 15, 2025
@yorikvanhavre yorikvanhavre merged commit 15bb0ee into FreeCAD:main Dec 15, 2025
16 checks passed
@github-project-automation github-project-automation bot moved this from Merge Meeting to Done in Merge Queue Dec 15, 2025
@github-actions
Copy link
Contributor

Successfully created backport PR for releases/FreeCAD-1-1:

@Roy-043 Roy-043 deleted the BIM-use-optimalBoundingBox-in-getCutVolume branch December 15, 2025 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport releases/FreeCAD-1-1 Applied to a PR that is on main to trigger the automatic creation of another PR onto 1.1 Mod: BIM Related to the BIM Workbench Type: Bug This issue or PR is related to a bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

BIM: Arch CutPlane CutVolume with pipe doesn't work correctly

2 participants