How trednuk/areapropsforalibre works
This Alibre Design tool turns selected planar faces into section-property results and a visual plot. The principal workflow is face selection and boundary extraction in Alibre, JSON handoff to a CPython analysis process, then a bilingual results window with copy support. The analysis also merges multiple faces and computes geometric, plastic, torsional, and warping properties where applicable. The excerpts show the main handoffs and computations; some Alibre-side orchestration details are omitted, so those connections rely on the README.
Main entry points: section_analysis.py Analysis entry · alibre_section_properties.py Analysis runner · results_window.py Results window
Components 17
Alibre capture
- Analysis runner
alibre_section_properties.py - Face extraction
alibre_section_properties.py - Geometry JSON
alibre_section_properties.py
Section analysis
- Analysis entry
section_analysis.py - Geometry merge
section_analysis.py - Property calculation
section_analysis.py - Section plot
section_analysis.py - Results JSON
section_analysis.py
Results presentation
- Results window
results_window.py - Language preference
results_window.py
External runtime
- CPython process
- sectionproperties
- Shapely
- Matplotlib
Other components
- Alibre user
- Alibre Design
- System clipboard
Connections 19
- Alibre user → Alibre Design: selects faces
README.md - Alibre Design → Analysis runner: runs script
README.md - Analysis runner → Face extraction: extracts boundaries
README.md - Face extraction → Alibre Design: reads face API
alibre_section_properties.py - Face extraction → Geometry JSON: writes geometry
README.md - Analysis runner → CPython process: launches analysis
README.md - Geometry JSON → Analysis entry: reads input
section_analysis.py - Analysis entry → Geometry merge: builds geometry
section_analysis.py - Geometry merge → Shapely: merges polygons
section_analysis.py - Analysis entry → Property calculation: computes properties
section_analysis.py - Property calculation → sectionproperties: uses FEM analysis
section_analysis.py - Analysis entry → Section plot: renders plot
section_analysis.py - Section plot → Matplotlib: draws plot
section_analysis.py - Analysis entry → Results JSON: writes results
README.md - Results JSON → Analysis runner: returns results
alibre_section_properties.py - Analysis runner → Results window: opens window
alibre_section_properties.py - Section plot → Results window: supplies plot
README.md - Results window → Language preference: reads and writes
results_window.py - Results window → System clipboard: copies table
README.md