Parser demo
Small-scale demonstration of how drawings become structured building data.
This demo uses simplified geometry and generated layout data. Production parsing connects DXF/DWG/IFC files to a CAD worker.
Input source
Loads the built-in mini floor plan and runs the full pipeline.
Pipeline
Input file
Demo activeSample mini floor plan loaded as structured geometry.
- · Source: built-in sample
- · Envelope: 18 m × 12 m
- · Rooms in source: 5
Geometry parser
Demo activeExtracts wall segments, openings, and the exterior boundary.
- · 13 wall segments
- · 7 exterior boundary segments
- · 4 door openings
- · 5 window openings
Semantic classifier
Demo activeTags each raw object as wall / door / window / room / corridor / service.
- · Walls
- · Doors
- · Windows
- · Rooms
- · Corridor
- · Service area
Room detection
Demo activeGroups closed loops into named rooms and detects circulation.
- · Rooms: 3
- · Service rooms: 1
- · Corridors: 1
- · Total spaces: 5
Object graph
Demo activeBuilds the node/edge graph that links rooms to walls, doors, windows, materials, and cost items.
- · 32 nodes
- · 74 edges
- · 22 cost-linked objects
Rule engine
Demo activeDeterministic checks against company rules and life-safety basics.
- · 1 high · 0 medium · 0 low
- · 7 passing checks
Cost mapper
Demo activeMaps detected objects into cost items using the material library + project rates.
- · 6 cost lines
- · 71,080 QAR estimated
Export
ActiveLayout JSON, object graph JSON, parser report CSV, cost mapping CSV available now. Production CAD worker adds DXF, IFC, FreeCAD, and DWG export.
- · Layout JSON
- · Object Graph JSON
- · Parser Report CSV
- · Cost Mapping CSV
2D mini plan
Semantic classifier output
| Raw object | Detected type | Confidence | Reason | Mapped object |
|---|---|---|---|---|
| Rectangular closed loop | Room | 96% | Enclosed loop with label | Reception |
| Line segment group | Wall | 98% | Boundary geometry | Exterior wall |
| Gap + arc | Door | 91% | Opening between corridor and room | D-002 |
| Thin segment on exterior wall | Window | 88% | Exterior-facing opening | W-001 |
| Small service room label | MEP Room | 94% | Service keyword + adjacency to corridor | MEP Room |
| Long thin polyline | Corridor | 92% | Aspect ratio + connects multiple rooms | Corridor |
Object graph
Nodes
32
Edges
74
Rooms
3
Doors
4
Windows
5
Cost-linked
22
Sitesite
- ↳ Reception (contains · room)
- ↳ Office (contains · room)
- ↳ Meeting Room (contains · room)
- ↳ MEP Room (contains · service_area)
- ↳ Corridor (contains · corridor)
Receptionroom
- ↳ Exterior wall (contains · wall)— Exterior blockwork / cladding
- ↳ Partition wall (contains · wall)— Gypsum / blockwork partition
- ↳ Meeting Room (adjacent_to · room)
- ↳ Partition wall (contains · wall)— Gypsum / blockwork partition
- ↳ Reception – door (has_door · door)— Commercial internal door
- ↳ Meeting Room (connected_to · room)
- ↳ Reception – storefront (has_window · window)— Glass storefront / curtain wall
Officeroom
- ↳ Exterior wall (contains · wall)— Exterior blockwork / cladding
- ↳ Partition wall (contains · wall)— Gypsum / blockwork partition
- ↳ Meeting Room (adjacent_to · room)
- ↳ Exterior wall (contains · wall)— Exterior blockwork / cladding
- ↳ Partition wall (contains · wall)— Gypsum / blockwork partition
- ↳ Office – door (has_door · door)— Commercial internal door
- ↳ Meeting Room (connected_to · room)
- ↳ Office – storefront (has_window · window)— Glass storefront / curtain wall
Meeting Roomroom
- ↳ Partition wall (contains · wall)— Gypsum / blockwork partition
- ↳ Partition wall (contains · wall)— Gypsum / blockwork partition
- ↳ Partition wall (contains · wall)— Gypsum / blockwork partition
- ↳ Reception (adjacent_to · room)
- ↳ Exterior wall (contains · wall)— Exterior blockwork / cladding
- ↳ Partition wall (contains · wall)— Gypsum / blockwork partition
- ↳ MEP Room (adjacent_to · service_area)
- ↳ Exterior wall (contains · wall)— Exterior blockwork / cladding
MEP Roomservice_area
- ↳ Partition wall (contains · wall)— Gypsum / blockwork partition
- ↳ Partition wall (contains · wall)— Gypsum / blockwork partition
- ↳ Office (adjacent_to · room)
- ↳ Exterior wall (contains · wall)— Exterior blockwork / cladding
- ↳ Exterior wall (contains · wall)— Exterior blockwork / cladding
- ↳ Partition wall (contains · wall)— Gypsum / blockwork partition
- ↳ Meeting Room (adjacent_to · room)
- ↳ MEP Room – door (has_door · door)— Commercial internal door
Exterior wallwall
- ↳ Exterior blockwork / cladding (uses_material · material)
- ↳ Reception – storefront (contains · window)— Glass storefront / curtain wall
Partition wallwall
- ↳ Gypsum / blockwork partition (uses_material · material)
Exterior wallwall
- ↳ Exterior blockwork / cladding (uses_material · material)
- ↳ Office – storefront (contains · window)— Glass storefront / curtain wall
Partition wallwall
- ↳ Gypsum / blockwork partition (uses_material · material)
- ↳ Office – door (contains · door)— Commercial internal door
Exterior wallwall
- ↳ Exterior blockwork / cladding (uses_material · material)
- ↳ Office – storefront (contains · window)— Glass storefront / curtain wall
Partition wallwall
- ↳ Gypsum / blockwork partition (uses_material · material)
- ↳ Reception – door (contains · door)— Commercial internal door
Exterior wallwall
- ↳ Exterior blockwork / cladding (uses_material · material)
- ↳ Meeting Room – storefront (contains · window)— Glass storefront / curtain wall
Partition wallwall
- ↳ Gypsum / blockwork partition (uses_material · material)
- ↳ Meeting Room – door (contains · door)— Commercial internal door
- ↳ MEP Room – door (contains · door)— Commercial internal door
Exterior wallwall
- ↳ Exterior blockwork / cladding (uses_material · material)
- ↳ Meeting Room – storefront (contains · window)— Glass storefront / curtain wall
Partition wallwall
- ↳ Gypsum / blockwork partition (uses_material · material)
Exterior wallwall
- ↳ Exterior blockwork / cladding (uses_material · material)
Exterior wallwall
- ↳ Exterior blockwork / cladding (uses_material · material)
Partition wallwall
- ↳ Gypsum / blockwork partition (uses_material · material)
Rule review
PASSReception has access door.
PASSOffice connects to corridor.
PASSMeeting Room connects to corridor.
PASSMEP Room connects to corridor with service access.
PASSExterior boundary classified correctly (not a room).
PASSDoors sit on wall segments.
PASSWindows placed on exterior-facing walls.
WARNINGEmergency exits not marked.
SUGGESTIONAdd emergency exit if occupancy is high.
WARNINGMeeting Room window size requires confirmation.
Cost mapping
| Item | Source objects | Basis | Rate | Total | Status |
|---|---|---|---|---|---|
| Flooring | Reception, Office, Meeting Room, Corridor | Area sum (sqm) | QAR 160 | QAR 18,880 | Needs review |
| Doors | Reception – door, Office – door, Meeting Room – door, MEP Room – door | Count (each) | QAR 750 | QAR 3,000 | Supplier confirmation |
| Windows / Glazing | Reception – storefront, Office – storefront, Office – storefront, Meeting Room – storefront +1 | Length / count (m) | QAR 650 | QAR 14,040 | Needs confirmation |
| Internal partitions | Partition wall, Partition wall, Partition wall, Partition wall +2 | Length sum (m) | QAR 200 | QAR 7,200 | Needs review |
| Exterior wall envelope | Exterior wall, Exterior wall, Exterior wall, Exterior wall +3 | Length sum (m) | QAR 380 | QAR 15,960 | Needs review |
| MEP Allowance | MEP Room | Zone allowance (each) | QAR 12,000 | QAR 12,000 | Needs engineer review |
Exports & handoff
Small-scale demo meaning: this page shows the same pipeline a production CAD worker would run on larger DXF/DWG/IFC files. The demo uses simplified structured geometry so the workflow is visible: objects are detected, classified, connected into a graph, reviewed by rules, mapped to cost items, and exported. Engineering and QS approval is still required for any production output.
