Core: The bounding box takes global coordinates into account. This is incorrect.
- Dominant language
- C++
- Stars
- 33.6k
- Forks
- 6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 196
Description
### Problem description
In the image, you see a table. One is oriented along the primary axes.
The second is rotated around the Z-axis.

In this case, you either need to introduce a separate bounding box parameter for local coordinates (in addition to the current one).
Or make the bounding box take rotation into account.
**This is very important when using expressions!**
### Workbench affected?
Core (App, Gui,...)
### Steps to reproduce
File
[Boundin_box.FCStd_remove_zip_and_this.zip](https://github.com/user-attachments/files/25751285/Boundin_box.FCStd_remove_zip_and_this.zip)
Blender example


### Expected behavior
---
### Actual behavior
---
### Development version About Info (in Safe Mode)
```shell
OS: Manjaro Linux (KDE/plasmax11/xcb)
Architecture: x86_64
Version: 1.2.0dev.20260303 (Git shallow) AppImage
Build date: 2026/03/03 22:57:35
Build type: Release
Branch: grafted,grafted
Hash: 637463ac354f093e14dacfc5059eb70c2b1216fd
Python 3.11.14, Qt 6.8.3, Coin 4.0.3, Vtk 9.3.1, boost 1_86, Eigen3 3.4.0, PySide 6.8.3
shiboken 6.8.3, xerces-c 3.3.0, IfcOpenShell 0.8.2, OCC 7.8.1
Locale: Russian/Russia (ru_RU)
Navigation Style/Orbit Style/Rotation Mode: Revit/Turntable/Drag at cursor
Stylesheet/Theme/QtStyle: unset/FreeCAD Classic/
Logical DPI/Physical DPI/Pixel Ratio: 96/92.6073/1
```
### Last known good version (optional)
```shell
---
```
Contributor guide
Assessment
This issue has not been assessed yet.