vflow2 Documentation

IFC Analysis Tools ← Back to App

Systems Architecture

vflow2 has five major systems beyond basic IFC analysis tools:

1. Connection Graph

Files: tools/_connection_graph.py + tools/connection_graph.py

See: 02_connection_graph.md

2. MEP Cable Routing

Files: tools/_mep_utils.py + tools/_spatial_graph.py + tools/mep_routing.py

See: 03_mep_routing.md

3. DIN 18015-3 Installation Zones

Files: tools/_wall_zones.py + tools/_ceiling_zones.py

See: 04_wall_zones.md

4. Project App Shell + 3D/2D Viewer

Files: templates/viewer.html

Detail view

See: 05_viewer.md

5. Roombook

Files: tools/_roombook.py

Roombook view

How They Connect

IFC File
  ├── Connection Graph  → topological nodes + edges for all elements
  │     └── used by MEP Routing (future: replace waypoint graph with connection graph)
  ├── MEP Routing       → light/switch placement + cable paths
  ├── Wall/Ceiling Zones → forbidden/allowed/preferred areas on walls + ceilings
  ├── Roombook          → IfcSpace fields + persistent manual overrides
  └── Project App Shell → Detail / 3D / Roombook views sharing one IFC download
        ├── /project-info endpoint  → file sizes + cache flags in one response (Detail)
        ├── /spaces endpoint        → space containers + coordinate mapping detection
        ├── /connection_graph       → graph overlay
        ├── /analyze (mep_routing)  → route overlay
        ├── /wall_zones             → zone overlay
        └── /roombook endpoints     → roombook table with override persistence

The connection graph provides the topological foundation. Wall zones constrain where cables can go. MEP routing uses both to compute valid paths. The viewer visualizes everything.