How francisreboucas/constructcraft works
ConstructCraft is BIM authoring software: users create or open a project, edit a shared parametric building model through the desktop interface, and inspect generated plans, 3D views, schedules and sheets; they can also save or exchange the model. The graph highlights the UI-to-engine-to-derived-output workflow and preserves major documented branches for IFC/CAD exchange, plugins and scripting, graph-based modeling, and CLI/MCP access. Paths and solid edges are limited to the tree, excerpts and README; some capability links are dashed because their callers were not sampled.
Main entry points: session.rs Engine session · app.rs Desktop app · actions.rs Project actions · home.rs Project home
Components 24
Desktop authoring
- Desktop app
crates/cc_app/src/app.rs - Project home
crates/cc_app/src/home.rs - Command palette
crates/cc_app/src/commands.rs - Modeling tools
crates/cc_app/src/tools.rs - Component workspace
crates/cc_app/src/component_env.rs - CAD import UI
crates/cc_app/src/cad_ui.rs - App state
crates/cc_app/src/state.rs - Project actions
crates/cc_app/src/actions.rs
Model and engine
- Engine session
crates/cc_engine/src/session.rs - BIM document
crates/cc_core/src/document.rs - Building elements
crates/cc_core/src/element.rs - Derived geometry
crates/cc_geom/src/build.rs - Model queries
crates/cc_engine/src/commands/query.rs
Views and exchange
- Drawing views
crates/cc_views/src/lib.rs - 3D rendering
crates/cc_render/src/renderer.rs - Schedules and sheets
crates/cc_views/src/schedule.rs - IFC exchange
crates/cc_ifc/src/export.rs - CAD export
crates/cc_cad/src/flatten.rs
Automation and plugins
- CLI and MCP
crates/cc_cli/src/main.rs - Plugin runtime
crates/cc_plugins/src/plugin.rs - Script runtime
crates/cc_script/src/object.rs - Visual graph engine
crates/cc_engine/src/graph/mod.rs
Other components
- BIM user
- External BIM tools
Connections 24
- BIM user → Desktop app: authors in
README.md - Desktop app → Project home: shows
crates/cc_app/src/app.rs - Project home → Project actions: opens or creates
crates/cc_app/src/home.rs - Desktop app → App state: holds
crates/cc_app/src/app.rs - Command palette → Project actions: dispatches
crates/cc_app/src/commands.rs - Project actions → Engine session: runs commands
crates/cc_app/src/actions.rs - Modeling tools → Engine session: edits model
- Component workspace → Engine session: edits component
crates/cc_app/src/component_env.rs - CAD import UI → Engine session: imports drawing
crates/cc_app/src/cad_ui.rs - App state → Engine session: retains
crates/cc_app/src/state.rs - Engine session → BIM document: updates
- BIM document → Building elements: contains
- Engine session → Derived geometry: builds geometry
crates/cc_engine/src/session.rs - Model queries → Derived geometry: reads derived data
crates/cc_engine/src/commands/query.rs - Engine session → Drawing views: builds drawings
- Engine session → Schedules and sheets: computes schedules
crates/cc_engine/src/session.rs - Desktop app → 3D rendering: renders 3D
- Project actions → IFC exchange: exports IFC
- External BIM tools → IFC exchange: exchanges models
- External BIM tools → CAD export: exchanges drawings
- CLI and MCP → Engine session: runs commands
- Plugin runtime → Engine session: extends commands
- Script runtime → Engine session: automates model
- Visual graph engine → Engine session: evaluates graph