Floorplan Catalog Management
The Floorplans Page (/floorplans) manages the library of apartment unit templates used by the simulation engine for floorplate generation.
Page Features
Unit List
- Display all
CatalogUnitrecords from the backend - Filter by BHK type (1BHK, 2BHK, 2.5BHK, 3BHK, 4BHK)
- Filter by entrance direction (N, S, E, W)
- Filter by corner unit status
- Sort by area, type, or date
Unit Details
Each card shows:
- Unit ID and BHK classification
- Area in square meters
- Entrance direction
- Corner unit badge
- Geometry preview (rendered from CAD data)
Upload Flow
- Admin uploads a DXF floorplan file
- Backend processes it via
process_floorplan_dxf.py - Extracted units appear in the catalog with geometry data
- Admin can review, edit, or delete individual units
Unit Actions
- View geometry — Visual preview of the unit layout
- Edit metadata — Update BHK type, area, entrance direction
- Delete — Remove unit from catalog
Integration with Simulation
When a user creates a project variant with a product mix, the simulation engine:
- Queries matching catalog units (by BHK type)
- Uses unit
dims(dimensions) for floorplate arrangement - Uses unit
geometryfor visual rendering in solutions - Considers
entranceDirectionandisCornerfor placement constraints