Skip to content

Project Detail - Drawings viewer (CAD/DWG layers + classification)

StageBuilding
StatusPartial
Design statusIn progress
Estimate2w (L)
ConfidenceLow
LinearPIN-148 ↗ PIN-212 ↗
Linear statusDone
CycleC15
DesignDesign ↗
Linear epicProject Management & Controls
ModuleProgress Drawings ↗

Priority: High · Route: /projects/:id/detail?tab=drawings

Scope

CAD/DWG drawing viewer on Project Detail rendering DXF files with a toggleable layer panel, backed by a rules engine that auto-classifies layers into AIA disciplines (Mechanical/Plumbing/Electrical/Structural/Architectural/Fire Protection/Misc). Includes an admin rule-management UI, a per-firm classification-coverage dashboard, and one-click promotion of a manual override into a permanent rule. (Source: PIN-148, PIN-212.)

Acceptance criteria

  • DXF drawings render in-browser with zoom-to-fit on load
  • Layer panel lists layers with visibility toggles and discipline classification (Mechanical/Plumbing/Electrical/Structural/Architectural/Fire Protection/Misc)
  • Clicking a discipline chip filters the canvas to that discipline
  • Layers are auto-classified by a rules engine seeded with 45+ baseline naming-convention rules
  • User can override a layer's classification inline; overridden layers show an indicator
  • Admin can manage classification rules and one-click promote a recurring override into a permanent rule
  • Per-firm coverage dashboard shows classification coverage, MISC%, and override rate

Conor's comments

This requires a lot of design discussion. When working on it we should have a discussions about the layer calssifcation.

Notes

Under-tested; triple-check before launch

Open question for Conor

Confirm DWG-only filter (currently shows all file types)

Reference

  • Linear: PIN-148 (DXF web viewer component with layer toggle); PIN-212 (layer classification rules)