Measure: No way to calculate area moment of inertia
- Dominant language
- C++
- Stars
- 33.6k
- Forks
- 6k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 196
Description
### Problem description
The mass properties tool has an option to calculate COM, center of volume and inertia (incl. around arbitrary axes) but only for solids.
2D elements like faces / surfaces are not supported.
### Workbench affected?
Measurement
### Steps to reproduce
1. Open any model and click on MassProperties.
### Expected behavior
- It should supports a selection of one or more faces / surfaces
- It should calculate center of volume and also second moment of are / area moment of inertia
- It should be able to create LCS for the COV
- It should be possible to add/remove elements from the selection
### Actual behavior
- Selecting faces falls back to selecting the entire solid.
- Pure 2D elements are not accepted
### Development version About Info (in Safe Mode)
```shell
Latest weekly 26.3
```
### Last known good version (optional)
```shell
```
Contributor guide
Research direction
Start in the Measurement workbench at the MassProperties tool and reproduce its current behavior when faces or surfaces are selected. Trace how selection falls back to the entire solid, then define the implementation scope for face-based center and area-moment calculations, LCS creation, and selection editing. Done means pure 2D selections are accepted and all expected behaviors work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100