How ebrahimraeyat/civiltools works
civilTools is a FreeCAD-oriented collection of civil-engineering utilities, including ETABS model workflows, seismic calculations, section analysis, and CAD/document exchange. A visible example workflow starts with a user command, opens a diaphragm-forces form, loads project settings, computes factors, and asks the ETABS model to create story files. Other documented capabilities include combined-steel-section conversion and Iranian seismic coefficient calculation. The graph preserves major code and data subsystems; several feature links rely on the source index or README because their implementations were not sampled.
Main entry points: cross_section.py Cross-section analysis · create_load_combinations.py Load combinations · civiltools_config.py Project settings · gui_diaphragm_applied_forces.py Diaphragm command
Components 25
Model tools
- Diaphragm command
gui_civiltools/control/gui_diaphragm_applied_forces.py - Diaphragm forces
py_widget/control/diaphragm_applied_forces.py - Project settings
exporter/civiltools_config.py - Building seismic model
building/build.py - Load combinations UI
gui_civiltools/define/gui_create_load_combinations.py - Load combinations
py_widget/define/create_load_combinations.py
Section analysis
- Combined section conversion
section/sec.py - Section geometry
section/sectionproperties/pre/sections.py - Mesh preprocessing
section/sectionproperties/pre/pre.py - Finite element analysis
section/sectionproperties/analysis/fea.py - Cross-section analysis
section/sectionproperties/analysis/cross_section.py - Section results
section/sectionproperties/post/post.py
CAD exchange
- DXF reader
freecad_obj/dxfReader.py - DXF entities
freecad_obj/dxfImportObjects.py - FreeCAD DXF import
freecad_py/dxf_funcs.py - DWG-to-PDF workflow
py_widget/import_export/export_dwg_to_pdf.py - DWG-to-PDF export
functions/dwg_to_pdf.py
Shared data
- Soil tables
building/soil.py - System factors
building/RuTable.py - Regional city data
db/ostanha.py - Engineering table models
table_model.py - CivilTools resources
civiltools_rc.py
Other components
- FreeCAD user
- ETABS model
- AutoCAD
Connections 25
- FreeCAD user → Diaphragm command: invokes
gui_civiltools/control/gui_diaphragm_applied_forces.py - Diaphragm command → Diaphragm forces: opens
gui_civiltools/control/gui_diaphragm_applied_forces.py - Diaphragm command → Project settings: loads settings
gui_civiltools/control/gui_diaphragm_applied_forces.py - Diaphragm forces → Project settings: loads configuration
py_widget/control/diaphragm_applied_forces.py - Diaphragm forces → ETABS model: creates story files
py_widget/control/diaphragm_applied_forces.py - Project settings → Building seismic model: constructs building
exporter/civiltools_config.py - Building seismic model → Soil tables: uses soil data
building/build.py - Building seismic model → System factors: uses system factors
building/build.py - FreeCAD user → Load combinations UI: invokes
- Load combinations UI → Load combinations: opens workflow
gui_civiltools/define/gui_create_load_combinations.py - Load combinations UI → Project settings: loads settings
gui_civiltools/define/gui_create_load_combinations.py - Load combinations → ETABS model: updates combinations
py_widget/define/create_load_combinations.py - Load combinations → Regional city data: reads regional data
py_widget/define/create_load_combinations.py - Load combinations → Engineering table models: uses table models
py_widget/define/create_load_combinations.py - FreeCAD user → Combined section conversion: uses tool
- Cross-section analysis → Section geometry: uses geometry
section/sectionproperties/analysis/cross_section.py - Cross-section analysis → Mesh preprocessing: uses mesh
section/sectionproperties/analysis/cross_section.py - Cross-section analysis → Finite element analysis: uses analysis
section/sectionproperties/analysis/cross_section.py - Cross-section analysis → Section results: uses results
section/sectionproperties/analysis/cross_section.py - FreeCAD user → FreeCAD DXF import: imports drawing
- FreeCAD DXF import → DXF reader: uses reader
freecad_py/dxf_funcs.py - DXF reader → DXF entities: wraps entities
freecad_obj/dxfReader.py - FreeCAD user → DWG-to-PDF workflow: starts export
- DWG-to-PDF workflow → DWG-to-PDF export: runs exporter
py_widget/import_export/export_dwg_to_pdf.py - DWG-to-PDF export → AutoCAD: controls
functions/dwg_to_pdf.py