How boubawade/archidesigner works
This is a desktop architectural-planning studio: users create and edit multi-level floor plans, furnish and configure a project, inspect it in 2D/3D and sections, then export or share the result. The React app hosts the workspace and specialist panels; project state coordinates edits and connects to Tauri persistence. Separate feature areas cover AI-assisted design, roofs, presentation, renovation estimates, shopping, and document/export workflows. The README is only a Tauri/React template, so product capabilities are inferred from the source index and sampled imports; links to unsampled feature internals are omitted where call relationships are not evidenced.
Main entry points: projectStore.ts Project state · App.tsx Studio app · FloorPlanCanvas.tsx Floor-plan canvas · PropertiesPanel.tsx Property inspector
Components 29
Studio workspace
- Studio app
src/App.tsx - Project state
src/stores/projectStore.ts - Property inspector
src/components/properties/PropertiesPanel.tsx
Plan and building design
- Floor-plan canvas
src/features/floor-plan/FloorPlanCanvas/FloorPlanCanvas.tsx - Canvas interactions
src/features/floor-plan/FloorPlanCanvas/useFloorPlanInteractions.ts - Plan renderer
src/features/floor-plan/FloorPlanCanvas/useFloorPlanRenderer.ts - Blueprint drawing
src/features/floor-plan/architecturalBlueprintDrawer.ts - Floor layout
src/features/floor-plan/floorPlanLayoutEngine.ts - Roof properties
src/components/properties/sections/RoofProperties.tsx - Roof design
src/features/roof/RoofModal.tsx - Area calculator
src/features/roof/carrezCalculator.ts - 3D scene
src/features/scene/SceneViewport/SceneViewport.tsx - Section analysis
src/features/section/sectionEngine.ts - Facade elevation
src/features/section/facadeElevationEngine.ts
Design assistance
- AI design panel
src/features/ai/AiDesignerPanel.tsx - Restyling engine
src/features/ai/reStylingEngine.ts - Photo analysis
src/features/ai/PhotoAnalysisModal.tsx - Ergonomics audit
src/features/ai/ergonomicsInspector.ts
Presentation and outputs
- Export service
src/features/export/exportService.ts - PDF dossier
src/features/export/pdfDossierGenerator.ts - Web sharing
src/features/share/webViewerGenerator.ts - Presentation mode
src/features/presentation/PresentationHUD.tsx - Shopping list
src/features/shopping/ShoppingListModal.tsx
Application runtime
- Tauri API
src/lib/tauri.ts - Native commands
src-tauri/src/commands/mod.rs - AI providers
src-tauri/src/ai/provider.rs - Project database
src-tauri/src/database/connection.rs - Domain models
src-tauri/src/models/project.rs
Other components
- Designer
Connections 31
- Designer → Studio app: uses
- Studio app → Floor-plan canvas: hosts
src/App.tsx - Studio app → Property inspector: hosts
src/App.tsx - Studio app → AI design panel: hosts
src/App.tsx - Studio app → Photo analysis: hosts
src/App.tsx - Studio app → Presentation mode: shows
src/App.tsx - Studio app → Shopping list: hosts
src/App.tsx - Floor-plan canvas → Canvas interactions: handles input
src/features/floor-plan/FloorPlanCanvas/useFloorPlanInteractions.ts - Floor-plan canvas → Plan renderer: renders plan
src/features/floor-plan/FloorPlanCanvas/useFloorPlanRenderer.ts - Plan renderer → Blueprint drawing: draws elements
src/features/floor-plan/FloorPlanCanvas/useFloorPlanRenderer.ts - Floor-plan canvas → Floor layout: organizes levels
src/features/floor-plan/floorPlanLayoutEngine.ts - Canvas interactions → Project state: updates
src/features/floor-plan/FloorPlanCanvas/useFloorPlanInteractions.ts - Property inspector → Project state: edits
src/components/properties/PropertiesPanel.tsx - Property inspector → Roof properties: selects
src/components/properties/PropertiesPanel.tsx - Roof properties → Area calculator: calculates area
src/components/properties/sections/RoofProperties.tsx - Project state → Tauri API: loads projects
src/stores/projectStore.ts - Tauri API → Native commands: invokes
src/lib/tauri.ts - Native commands → Project database: persists
- Native commands → Domain models: uses models
src-tauri/src/commands/mod.rs - AI design panel → Project state: reads design
- AI design panel → AI providers: requests AI
- Project state → Restyling engine: applies restyling
src/stores/projectStore.ts - Photo analysis → AI providers: analyzes image
- Plan renderer → Ergonomics audit: checks layout
src/features/floor-plan/FloorPlanCanvas/useFloorPlanRenderer.ts - 3D scene → Project state: views model
- Section analysis → Facade elevation: supports elevation
src/features/section/facadeElevationEngine.ts - Export service → Project state: exports project
src/features/export/exportService.ts - Export service → Web sharing: generates viewer
src/features/export/exportService.ts - PDF dossier → Project state: builds dossier
- Presentation mode → Project state: presents design
- Shopping list → Project state: uses furnishings