The house in 3D, the second time
There’s a tab on the wall tablet called Floor plan. It shows the property in 3D: the house, the garage, the apartment over the garage, the pool. Every light is a little bulb you can tap. Rooms glow warm when their lights are on and blue when something’s moving in them. Locks and garage doors are green when they’re shut and red when they’re not.
I built the first version in an evening at the end of September. It looked good. It was also wrong, and it stayed wrong for six weeks, because a 3D model of a house looks convincing to everyone except the people who live in it.
Version one: boxes
The house came with a book of construction drawings, and the first model was built from one sheet of it. I read room sizes off the plan, made each room a rectangle, stacked the rectangles into a house, and placed the house on the lot using the plot plan.
When I finally looked at it properly, with the plan open next to it, my verdict was “really terrible”, and that was generous. The whole layout was rotated against the real house. Room shapes I couldn’t read off the sheet had been filled in with whatever fitted. And one misread number moved the entire building: the plan has a 77-foot dimension along the side of the house, and I’d taken it as the house alone. It includes the front porch. So the house sat nine feet closer to the garage than it really does, and the gap between them, which is where the pool is, was nine feet too short.
None of this was visible to me. All of it was obvious to someone who walks through those rooms every day.

Version two: walls
The fix was to stop modelling rooms and model walls.
I went back to the plan sheet at 300 dpi, which works out to 39 pixels per foot, and wrote
a Python script that traces it wall by wall: every wall with its real thickness, every
window with its sill height, every door as a gap, and the round entry hall as a run of
short facets around its curve. That all goes into one file, plan.json, which ends up
holding 58 walls, 23 windows, 17 doors and 21 rooms. Everything else is generated from
that file. If something is wrong, it’s fixed there, once.
The trace checks itself. The plan’s own dimension strings say the house is 68 feet by 45, and the traced walls have to add up to that. They do.
But a construction plan is the design. Houses get built a little differently from their drawings, and ours had changes ordered at the design studio before it was built. I wanted to measure what’s actually there.
Scanning the rooms
Polycam has a Room mode that uses the iPhone’s LiDAR sensor and Apple’s RoomPlan framework. You walk the room slowly with the phone, and it gives you back walls, windows and doors as real objects, not just a mesh. The export that turned out to be useful is the floor-plan zip, and specifically the DXF inside it: every wall, window and door as a shape on its own layer, already in feet. A short importer reads those layers and drops them onto the trace in the same coordinates.

The master suite got a careful scan of its own first. The plan says 18’-7” by 15’-5”. The scan says 18’-7.3” by 15’-6”. Front and side walls landed within an inch of the trace. Where they didn’t, the scan won: a closet wall seven inches lower than I’d drawn it, an angled door jamb, an opening I’d missed, and all five windows shifted to where they really are.
Then a whole-house pass, which was more interesting for what it got wrong. It came out uniformly about 2.2% small in both directions, and room by room it drifted by up to a foot. The master read more than a foot shallower than in its own scan. RoomPlan can’t do curved walls, so it drew the round hall as flat facets. And one wing of the house broke up completely, with a bedroom, a bathroom and the hall merging into a single blob.
So the whole-house scan is good for which walls and openings exist, not where they are exactly. It still earned its keep: it found an arched opening between the living room and the gallery that isn’t on the plan at all.
Back on the wall

The Home Assistant card is a custom card, about 500 lines of JavaScript on top of three.js. It now draws the traced walls for the main house instead of a box per room. Windows show as glass with a sill, doors are gaps, and the house is nine feet further from the garage than it used to be. The garage and the apartment are still boxes for now.
The point of all that accuracy is that the model is live. Here’s the master suite, the same rooms as the scan above, up close. Every pin is a real light. Tap one and it toggles, and the room fills with a warm tint when its lights are on.

A couple of things carried over from the first version that are worth keeping. The card only renders when something changes. An earlier version ran a 60-frames-a-second loop, and the wall tablet’s browser, which is not a powerful machine, didn’t enjoy it. And the layout itself lives in the dashboard config, behind Home Assistant’s login, not in the public folder Home Assistant serves files from without asking. A floor plan of your house isn’t something to leave lying on an open web server.

Blender, not Unreal
The same plan.json is meant to feed something prettier than a dashboard: photoreal
stills of each room and 360-degree panoramas for a web page. I looked hard at Unreal for
that, mostly because there are now MCP servers that let an AI agent drive it. In the
end it lost to Blender, for boring reasons.
Unreal’s strength is real-time walkthroughs, and getting a real-time walkthrough into a web page means streaming video from a machine with an NVIDIA GPU, one stream per viewer. I don’t have that box. For stills and panoramas, Blender’s Cycles renderer is just as photoreal, it runs headless on the Mac, and the whole scene can be built from a script. That matters more than it sounds: the build should be re-runnable from the plan file, not something that was chatted together once and can’t be reproduced. Unreal comes back into it only if a live, free-roam walkthrough becomes the point.
The lesson
The first model wasn’t wrong because the tools were wrong. It was wrong because it started from rooms, and I’d guessed at the rooms. The second one starts from walls, and every wall is checked twice: against a drawing that has to add up, and against a phone that has been in the room. A model that only has to look right will happily be wrong. Give it something to agree with.