CAD Space Planning
Core Rule
Ground every planning claim in CAD geometry or exact label coordinates. Never infer room identity or boundaries from a rendered screenshot when DXF entities are available.
Workflow
- Preserve the source file. Work on copies.
- Identify available CAD tools. Convert DWG to DXF offline when possible.
- Audit layouts, entity counts, and hidden/frozen layers.
- Enable layers in a copy before rendering. A blank render often means layers are off.
- Extract room labels with exact coordinates. Use them to verify room identity and adjacency.
- Clarify retained elements, editable walls/doors/furniture, occupancy, capacity, circulation, zoning, and expansion.
- Present zoning as a concept only until it is overlaid on the real plan.
- Before detailed design, verify every room against walls, columns, doors, clearances, and circulation.
- Keep new work on dedicated design layers. Never modify retained source geometry.
- Export editable CAD plus PDF/PNG previews and a room/furniture schedule.
Audit Commands
python scripts/audit_cad.py audit plan.dxf --json
python scripts/audit_cad.py labels plan.dxf --contains "办公室" --json
python scripts/audit_cad.py enable-layers plan.dxf visible.dxf
For DWG conversion and rendering options, read references/tooling.md.
For planning checks and deliverables, read references/planning-checklist.md.
Design Gates
Do not call a diagram a detailed plan unless it shows real wall and column boundaries, retained items, permitted new walls and doors, continuous corridors, furniture layouts, key dimensions, and occupancy counts.
Get user approval after:
- verified existing-room map;
- functional program;
- real-plan zoning and circulation;
- detailed furniture and partition layout.
Common Mistakes
| Mistake |
Correction |
| Guessing room positions from PNG |
Extract TEXT/MTEXT coordinates from DXF |
| Blank render treated as empty drawing |
Audit and enable off/frozen layers in a copy |
| Abstract blocks presented as a plan |
Overlay zones on the real drawing first |
| Moving retained walls or doors |
Record immutable geometry before designing |
| Adding rooms without a corridor |
Require every room to open directly to circulation |
| Claiming code compliance |
Require qualified professional review |
Safety
Treat outputs as concept or schematic design unless reviewed by qualified local architecture, fire, structural, MEP, accessibility, and code professionals. Explicitly flag unresolved egress, fire compartment, load, and construction-dimension issues.
1---2name: cad-space-planning3description: Use when a user wants to extract, inspect, redesign, or deepen a DWG/DXF architectural or interior space plan, especially when room positions, retained elements, circulation, zoning, furniture capacity, or CAD/PDF deliverables must be verified against the real drawing.4---56# CAD Space Planning78## Core Rule910Ground every planning claim in CAD geometry or exact label coordinates. Never infer room identity or boundaries from a rendered screenshot when DXF entities are available.1112## Workflow13141. Preserve the source file. Work on copies.152. Identify available CAD tools. Convert DWG to DXF offline when possible.163. Audit layouts, entity counts, and hidden/frozen layers.174. Enable layers in a copy before rendering. A blank render often means layers are off.185. Extract room labels with exact coordinates. Use them to verify room identity and adjacency.196. Clarify retained elements, editable walls/doors/furniture, occupancy, capacity, circulation, zoning, and expansion.207. Present zoning as a concept only until it is overlaid on the real plan.218. Before detailed design, verify every room against walls, columns, doors, clearances, and circulation.229. Keep new work on dedicated design layers. Never modify retained source geometry.2310. Export editable CAD plus PDF/PNG previews and a room/furniture schedule.2425## Audit Commands2627```powershell28python scripts/audit_cad.py audit plan.dxf --json29python scripts/audit_cad.py labels plan.dxf --contains "办公室" --json30python scripts/audit_cad.py enable-layers plan.dxf visible.dxf31```3233For DWG conversion and rendering options, read [references/tooling.md](references/tooling.md).34For planning checks and deliverables, read [references/planning-checklist.md](references/planning-checklist.md).3536## Design Gates3738Do not call a diagram a detailed plan unless it shows real wall and column boundaries, retained items, permitted new walls and doors, continuous corridors, furniture layouts, key dimensions, and occupancy counts.3940Get user approval after:41421. verified existing-room map;432. functional program;443. real-plan zoning and circulation;454. detailed furniture and partition layout.4647## Common Mistakes4849| Mistake | Correction |50|---|---|51| Guessing room positions from PNG | Extract `TEXT`/`MTEXT` coordinates from DXF |52| Blank render treated as empty drawing | Audit and enable off/frozen layers in a copy |53| Abstract blocks presented as a plan | Overlay zones on the real drawing first |54| Moving retained walls or doors | Record immutable geometry before designing |55| Adding rooms without a corridor | Require every room to open directly to circulation |56| Claiming code compliance | Require qualified professional review |5758## Safety5960Treat outputs as concept or schematic design unless reviewed by qualified local architecture, fire, structural, MEP, accessibility, and code professionals. Explicitly flag unresolved egress, fire compartment, load, and construction-dimension issues.