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 active

Sample mini floor plan loaded as structured geometry.

  • · Source: built-in sample
  • · Envelope: 18 m × 12 m
  • · Rooms in source: 5
Geometry parser
Demo active

Extracts wall segments, openings, and the exterior boundary.

  • · 13 wall segments
  • · 7 exterior boundary segments
  • · 4 door openings
  • · 5 window openings
Semantic classifier
Demo active

Tags each raw object as wall / door / window / room / corridor / service.

  • · Walls
  • · Doors
  • · Windows
  • · Rooms
  • · Corridor
  • · Service area
Room detection
Demo active

Groups closed loops into named rooms and detects circulation.

  • · Rooms: 3
  • · Service rooms: 1
  • · Corridors: 1
  • · Total spaces: 5
Object graph
Demo active

Builds 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 active

Deterministic checks against company rules and life-safety basics.

  • · 1 high · 0 medium · 0 low
  • · 7 passing checks
Cost mapper
Demo active

Maps detected objects into cost items using the material library + project rates.

  • · 6 cost lines
  • · 71,080 QAR estimated
Export
Active

Layout 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

Reception24Office24Meeting Room40MEP Room12Corridor30D-001D-002D-003D-004W-001W-002W-003W-004W-005

Semantic classifier output

Raw objectDetected typeConfidenceReasonMapped object
Rectangular closed loopRoom96%Enclosed loop with labelReception
Line segment groupWall98%Boundary geometryExterior wall
Gap + arcDoor91%Opening between corridor and roomD-002
Thin segment on exterior wallWindow88%Exterior-facing openingW-001
Small service room labelMEP Room94%Service keyword + adjacency to corridorMEP Room
Long thin polylineCorridor92%Aspect ratio + connects multiple roomsCorridor

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

ItemSource objectsBasisRateTotalStatus
FlooringReception, Office, Meeting Room, CorridorArea sum (sqm)QAR 160QAR 18,880Needs review
DoorsReception – door, Office – door, Meeting Room – door, MEP Room – doorCount (each)QAR 750QAR 3,000Supplier confirmation
Windows / GlazingReception – storefront, Office – storefront, Office – storefront, Meeting Room – storefront +1Length / count (m)QAR 650QAR 14,040Needs confirmation
Internal partitionsPartition wall, Partition wall, Partition wall, Partition wall +2Length sum (m)QAR 200QAR 7,200Needs review
Exterior wall envelopeExterior wall, Exterior wall, Exterior wall, Exterior wall +3Length sum (m)QAR 380QAR 15,960Needs review
MEP AllowanceMEP RoomZone allowance (each)QAR 12,000QAR 12,000Needs 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.