How did an AI agent design a housing estate? Eight buildings in one BIM model
With an AI agent, I wanted to turn the layout of eight buildings from my capacity study into a design and a BIM model of the estate. I called the first attempt awful. On data, checks, a fresh reviewer, my red-pen marks and a model populated with IFC parameters.
In the first post of this series I worked out with an AI agent how much can be built on a plot in Kraków. It left me with a layout of eight buildings and the numbers. I was curious whether, with an agent, such a layout could be turned into a real design and a BIM model of the estate.
This post describes that experiment. What interests me most is how a building comes into being when an agent draws it and I judge it. The estate shows how far that went.
The site plan, drawn on the model.
Why
A capacity study says how much fits on a plot. The layout I started from had eight buildings of 19.80 × 13.00 m, 108 flats and 5,623 m² of usable floor area of flats (PUM, short for the Polish powierzchnia użytkowa mieszkań, the measure of sellable flat area). It said nothing about how you enter the staircase, where the sofa stands or what the building looks like.
So I set the agent a goal. This layout was to become a design and a BIM model.
The first attempt
The agent began with a pilot. With a script it modelled one four-storey building in BIMCraft, an open, command-driven alternative to Revit. The tool worked and the IFC export passed without errors. A detailed version also got cornices, rustication and a bay window.
My verdict was short. "Awful, very ugly, so generic. You can see it was modelled without any thought." The staircase did not work either. "You can't get into this staircase. It's drawn wrong. Calculate these stairs."
The design began with that verdict.
The first attempt beside today's building.
How we did it
I pointed the agent towards buildings and estates I like, so that it would analyse them and read about those developments. The same day the agents prepared reports on award-winning projects, flat layouts, rules of composition, the plot's neighbourhood and furniture dimensions.
The plot's neighbourhood in Dębniki.
The agent calculated the core straight away, before the reports. The two-flight staircase has 18 steps with a 16.7 cm rise and a 29 cm going, flights 1.20 m wide and landings 1.50 m deep. Only then did the agent draw it.
The work was divided like this. I set the goal and the criterion, judged the drawings, gave design rules and made the decisions. The orchestrator, Claude in T3 Code, designed and drew. Separate agents did the research, and a modelling agent built the BIM model. A fresh reviewer, an agent without the context of the conversation, looked at the sheets before I saw them.
Who did what.
Here a storey plan is data in a script, and the script checks it itself. It counts doors, furniture, kitchens and shafts, and checks daylight and 0.90 m clear passages from the entrance to every room. Every sentence on a sheet takes its numbers from the same data.
At first the reviewer did not see the sheets before I did. The third version of the plans reached me with 27 errors, which the reviewer found an hour later. From then on every sheet went to the reviewer first.
Six versions of the plans were made in one day. On the fifth I drew a red line through the sofa, the coffee table and the television. "Also line up the tables with the axis of the sofa, so the room has one clean axis." I also suggested a kitchen island. A separate study with three drawings showed that only a block of 1.20 × 0.60 m fits, so I dropped the island. I accepted the sixth version that same night.
The storey plan in its seventh version. It differs from the accepted sixth in its wardrobes, which now reach the wall. Five of the eight buildings have this layout.
The first version of the ground floor with the fresh reviewer's notes.
From then on every stage followed the same route:
- the data the drawing is made from
- a check in the script
- a fresh reviewer
- my judgement.
The massing
Flat elevations said little, so I asked the agent to start sculpting the building from the outside. The agent sculpted the same plan in two ways, as larch balconies with a set-back pavilion and as a large roof. The reviewer judged both versions correct but not beautiful, because the entrance side remained generic. Both versions were reworked before I saw them.
I wrote back that it already looked very good, and added an idea of my own. "Let's do the façade in sand-coloured clinker brick slips, with clear divisions between the storeys. Maybe with a cornice at the height of the lower sills. Then the balconies can be lowered, so they form that division too."
The windows of the upper storeys reach the floor, so the lower sill lies on the floor line and that is where the top of the band is. A storey of 3.00 m breaks down into 30 courses of slips up to the lintel, a soldier course and a band of 0.30 m. The edge of a balcony is the same band that runs round the walls. The research found a building that does exactly this, Fünf Morgen in Berlin.
The building from the garden and from the entrance.
Four elevations of the building with three flats per storey, generated in Proposition Studio from the model's elevations.
A new agent built the model in BIMCraft. It read numbers from the accepted plan and from the massing I had been shown, not a picture. Before I was shown the model, 31 measurements were passing, and the fresh reviewer still found 12 defects that none of them measured. The ground-floor windows stood 0.90 m too high, and the lower flight of stairs had only 1.67 m of headroom. After the corrections I wrote back, "This model looks really solid."
The estate
The eight buildings are two models, five buildings with three flats per storey and three with four. Each is one of those models, rotated and moved. The zoning plan requires the top storey to step back on the park side, so five buildings have a terrace there. E, F and G got a terrace on the garden side, because I wanted the top-storey flats to have one. The whole estate is in one IFC file with 5,657 elements.
The estate from above, with the top-storey plans on the buildings.
At first I told the agent to leave the site out, then I changed my mind. "I think it's necessary for us to have paths and routes to the buildings too." The site plan was made like the floor plans, data and checks first, the drawing after. The script keeps every path as a line with levels at its ends, and calculates gradients, distances from windows and the route from every entrance to the street. Of 140 check rows 99 pass, none fails, and 41 are notes without a verdict. The building footprint covers 29.8% of the area against a permitted 30%.
The site also corrected the buildings. The balconies of building C hung over the park strip, so the building moved 1.11 m towards the garden. The terrain model was made in white in Rhino, with six sections that a script cuts from the solids of the model.
Section through a building and the garden. The dashed line is the height limit of the zoning plan.
For a long time the ground floor was where the model lied. The entrance shown in the massing led into the dressing room and bedroom of one of the flats. Now it leads through a vestibule beside the lift, and its wall stands exactly where the room's window begins. The ground floor has 27 flats, as many as an upper storey, and 59 m² less floor area.
The top storey was a shell in the model. I suggested larger flats, even two of 100 m² each, but with a terrace. The agent calculated that two such flats do not fit, and brought three finished plans on one sheet. The real roof thickened inwards, the steep slopes from 0.10 to 0.37 m and the low-pitched roof from 0.20 to 0.45 m, because on the outside only 5 cm is left to the plan's height limit. I accepted the dormer in one sentence once the sheet showed it beside the one I had seen.
Ground floor and top storey of the building with three flats per storey.
The estate now has 97 flats and 5,689 m² of PUM, including 16 flats on the top storey. The capacity study gave 5,623 m² in 108 flats. These are two different measures. In the study PUM was an estimate, equal to 0.70 of the gross floor area, and here it is the sum of measured rooms. I described the method of that estimate in the first post.
Flats and areas of the estate. PUM (powierzchnia użytkowa mieszkań) is the Polish measure of the usable floor area of flats, here the sum of measured rooms. Balconies and terraces are given as floor areas.
Daylight obstruction and sunlight were worked out with the same calculation as in the capacity study. With a notional sill height of 0.90 m, as in the study, 97 of 97 flats pass. When the height is measured from the floor, because the windows of the upper storeys reach the floor, one bedroom in building E falls 0.27 m short. In a stricter reading of the regulations, with the height taken from the lowest windows of the building and with balconies and window reveals counted, 70 flats pass.
A model with IFC parameters
Once the model was built, I asked for the families in this project to be given as much information as possible. So every element records which building it belongs to, the windows have a manufacturer and thermal values, and the slips are counted. Among other things the file holds:
- 127,803 clinker brick slips
- 280 windows and 54 balconies
- 1,204 m of stone bands, not counting balcony edges
- 2,270 m³ of concrete, not counting foundations.
The data also led to decisions. Research on manufacturers showed that 170 mm of mineral wool lamellas, the only insulation that suits the slip system, gives a U-value of about 0.214 where 0.20 is required. I asked what options we had, and the agent proposed solutions. Graphite EPS in the same 0.40 m wall gives 0.166.
This model is well populated with IFC parameters. How it answers questions in my prototype that reads a building model is something I will write about in a separate post, which I am already preparing.
This is still not a building-permit design. No structural engineer has checked the structure, and there are no building services in the model.
In closing
It began with a building I called awful. Three days later I had eight buildings in one model, with plans I had accepted and clinker I had come up with myself. The agent calculated the stairs, checked the regulations and found plenty of its own mistakes. Whether this building is good remained mine to judge.
It is fascinating how we make this. More visualisations will come from this model. I am showing the first one here already, and the rest is a subject for another post. This first one was made in Proposition Studio, my browser app for architectural visualisation, from the same frame as the cover.
A visualisation from the cover's frame, generated in Proposition Studio. The surroundings come from the GUGiK orthophoto, and the façades of the neighbouring buildings are notional.
The photographs on the neighbourhood board come from Wikimedia Commons and were cropped: Lasocki Palace by Mateusz Giełczyński (CC BY-SA 4.0), the palace, side front by Daniel.zolopa (CC BY-SA 3.0 PL), Dębnicki Park by ImreKiss (CC BY 3.0), Czarodziejska Street and Tyniecka Street by Mach240390 (CC BY 4.0), the seminary on Tyniecka Street by Mach240390 (CC0), housing on Praska Street by Slawojar (CC BY-SA 4.0) and the Norbertine convent by Marcin Konsek (CC BY-SA 4.0). Orthophoto: GUGiK.