How barathiraja242005/thermoooo works
ThermaBuild is a browser-based passive-solar building design studio for cold regions of India. Its main workflow combines site climate and a building plan, searches and filters candidate designs, simulates room temperatures, then produces reports and design outputs. The README also documents plan import, 3D viewing, tuning, drawings, retrofit analysis, and non-house building types. A separate legacy Python API remains in the repository but is explicitly no longer used by the studio; its workflow is shown separately. Browser relationships are based on README documentation because browser source was not excerpted.
Main entry points: server.py Flask API · optimise.js Design search · climate.js Site climate · thermal.js Room heat balance
Components 29
Design studio
- Browser studio
demo/js/app-core.js - Site climate
demo/js/engine/climate.js - Plan input
demo/js/plan-import.js - Building types
demo/js/engine/design.js
Simulation engine
- Materials
demo/js/engine/materials.js - Design weather
demo/js/engine/climate.js - Design search
demo/js/engine/optimise.js - Search worker
demo/js/engine/optimise.worker.js - Safety checks
demo/js/engine/safety.js - Room heat balance
demo/js/engine/thermal.js - Report analysis
demo/js/engine/analyse.js
Design outputs
- Night report
demo/js/report.js - Design tuning
demo/js/tune.js - Building drawings
demo/js/drawings.js - 3D house viewer
demo/js/house3d.js
Legacy Python API
- Flask API
scripts/server.py - Climate profiles
scripts/climate.py - Parametric layout
scripts/layout_generator.py - Vastu analysis
scripts/vastu_analyzer.py - Envelope model
scripts/material_model.py - Preliminary thermal
scripts/thermal_engine.py - FreeCAD geometry
scripts/freecad_generator.py - CFD pipeline
scripts/pyfluent_engine.py - Executive dossier
scripts/report_generator.py - Livestock engine
scripts/animal_shelter_engine.py
Other components
- Designer
- Live climate service
- Legacy API client
- Legacy climate client
Connections 28
- Designer → Browser studio: uses
README.md - Browser studio → Site climate: selects site
README.md - Site climate → Design weather: synthesizes weather
README.md - Designer → Plan input: imports plan
README.md - Plan input → Building types: defines rooms
README.md - Building types → Design search: sets requirements
README.md - Design weather → Design search: supplies weather
README.md - Materials → Design search: offers assemblies
README.md - Design search → Search worker: dispatches search
README.md - Search worker → Safety checks: filters designs
README.md - Safety checks → Room heat balance: passes designs
README.md - Room heat balance → Report analysis: provides simulation
README.md - Report analysis → Night report: feeds report
README.md - Designer → Design tuning: adjusts design
README.md - Design tuning → Room heat balance: reruns simulation
README.md - Designer → Building drawings: requests drawings
README.md - Designer → 3D house viewer: views design
README.md - Live climate service → Site climate: provides live data
README.md - Legacy API client → Flask API: calls API
README.md - Flask API → Climate profiles: requests weather
scripts/server.py - Flask API → Parametric layout: generates layout
scripts/server.py - Parametric layout → Vastu analysis: analyzes placement
scripts/layout_generator.py - Flask API → Envelope model: recommends envelope
scripts/server.py - Flask API → Preliminary thermal: runs thermal model
scripts/server.py - Flask API → FreeCAD geometry: generates CAD
scripts/server.py - Flask API → CFD pipeline: runs CFD
scripts/server.py - Flask API → Executive dossier: builds dossier
scripts/server.py - Legacy climate client → Flask API: requests climate
README.md