2 weeks ago - last edited 2 weeks ago
Update — FloorPlan6 is now on GitHub (open-source, AGPL-3.0)
Following up on my earlier thread about a floor-plan generator: https://community.graphisoft.com/t5/Parametric-design/Floor-plan-generator/m-p/699587#M2271 is now public and looking for contributors.
Repo: https://github.com/poolpet/floorplan6
What it does
A 4-stage pipeline from a plot polygon (drawn in ArchiCAD) to a complete apartment layout — every output enforces the Polish Building Code (WT 2002, amended 2024-08-01):
1. Plot subdivision — placeholder, open for contributors
2. Volumetric generator — placeholder, open for contributors
3. Floor layout MVP — divides a floor into apartments with a compliant stairwell, 1.4 m corridor and ≤ 40 m walking distance to the nearest stairwell, validated by Dijkstra
4. Apartment layout stable — CP-SAT solver places rooms inside an outline read from ArchiCAD; 7 templates M1–M5; bathroom hard-capped at 5 m²; living room takes 80 % of the excess area; export back to AC as native Zones via Tapir
Tech
Python 3.10+, OR-Tools CP-SAT, Shapely 2, PyQt5, ArchiCAD bridge via [Tapir Add-On](https://github.com/ENZYME-APD/tapir-archicad-automation ).
Works with AC 27 / 28 / 29.
How to help
The biggest help-wanted areas are listed in [CONTRIBUTING.md]https://github.com/poolpet/floorplan6/blob/main/CONTRIBUTING.md
- Stage 1 — plot subdivision (MPZP zoning). Architectural questions
Q1–Q5 in `docs/OPEN_QUESTIONS.md` are still open
- Stage 2 — volumetric generator (storeys + roof to AC slabs)
- Stage 3 — L-shape / U-shape support (current MVP is rectangular)
- Walls + doors export to AC (currently zones only)
License is AGPL-3.0 — feel free to fork, learn from it, or run it on a real project. If you ship a derivative, your modifications stay open-source under the same license.
Happy to mentor anyone who wants to get involved — open a GitHub Discussion, comment here, or DM me.