Instagram · SCANRoom scan to 3D studio plan: the scan settings, the Claude Code prompts and the framing rules
How I turned one iPhone scan of my studio into a 3D plan with Claude Code and Blender: the scan settings, the prompts, the camera and lens setup, and the rules that decided where the desk goes.
I wanted to plan my recording corner before I moved a single thing. I scanned the room with my iPhone, and Claude Code did the rest in Blender. It measured the room, cut my old furniture out of the scan, built the new corner and put a camera in it with the lens I shoot on. I did this on 29 and 30 October 2026. These are the settings and prompts that worked, plus the mistakes I'd skip next time.
What you need
- An iPhone with a LiDAR sensor. Mine is an iPhone 18 Pro.
- Scaniverse, a free app that scans with that sensor (App Store).
- Blender on your computer (blender.org). I used Blender 5.2.
- Claude Code, opened in a folder with a copy of your scan.
Polycam was my first pick. On my phone it offered paid plans or a 14-day trial, so I switched to Scaniverse.
Scan the room
My first test went wrong. I scanned the gaming room in the dark, under purple LEDs, and got about a third of the room and none of the walls. The app was fine. The pass was too short and the room too dark.
What worked the second time:
- Daylight or white light. Coloured LEDs off.
- A full walk around the room, along every wall.
- Detail processing in the app.
- Export as GLB. The texture travels inside the file, so it's one file to move.
- Two scans of the same room. I kept the one with the fewest loose fragments and the cleanest corner.
Window glass comes out as a hole. That's normal for LiDAR, and you don't need to rescan for it.
Open and measure it with Claude Code
Claude Code doesn't need the Blender window. It writes a Python script, runs Blender in the background and reads back the numbers and the renders. Put the GLB in a folder, open Claude Code there and paste this:
Work on a copy of room.glb and leave the original alone. Write a Blender Python script and run it headless with blender -b -P. Import the GLB, keep the largest connected piece and delete the loose fragments. Put the floor at z = 0 and rotate the room so the walls line up with the X and Y axes, using a histogram of the wall normals. Print the room size between the walls and the ceiling height. Then render a top-down plan and the four wall elevations from the middle of the room, with the far half clipped, so each wall shows its own furniture.
The command it runs looks like this:
blender -b -P measure_room.py
Blender measured my room at 4.90 by 3.70 m, with a 2.46 m ceiling. Check that against a tape measure: mine said about 5 by 4. My first alignment levelled the room from a PCA fit of the floor and left the walls 4.8 degrees off the axes, and the room came out bigger than it is. Aligning by the wall normals fixed it. That's why the prompt asks for the normals.
The first elevations also mixed in furniture from the opposite wall. Clipping the far half fixed that.
Cut out the old furniture
A scan is one mesh. Your old desk and chair are welded into it with the floor and the walls, so Claude Code cuts them out with a box:
Delete the old furniture from the scan mesh: remove every face inside this box, x from 0.5 to 1.8 m, y from 0.25 to 2.5 m, up to 1.35 m high. Patch the floor where it stood. Render the same camera before and after, side by side.
Those are my numbers. Read yours off the plan from the step before. My first box missed the chair, so look at the after render and widen the box if anything is left. Claude Code removed 12,197 faces in the end: an old diagonal desk, its chair and a lamp.
Build the set with your real camera
This is the step that changed my plan. Claude Code built the new pieces as separate objects I can move, and put in a camera with my real focal length and sensor size. I shoot on a C80 in its Super 35 crop with a 35 mm lens, so the Blender camera is 35 mm on a 24.6 mm sensor.
Build my corner as separate objects I can move: a shelf of [width x depth x height] in the corner, wall panels on the left wall, a desk of [width x depth]. Add a seated stand-in for me, 1.70 m tall. Place them in this order from the wall: wall, stand-in, desk, camera. Add a camera with a 35 mm focal length on a 24.6 mm wide sensor, at eye height, aimed at the stand-in. Render the viewfinder at 1920 x 1080 with the 9:16 centre crop drawn on top. Make every position and size a script argument so I can move things and render again.
Swap in your own sizes, height, lens and sensor. On my first run Claude Code placed the camera inside the scan and put the stand-in on the wrong side of the desk. Explicit positions and that order fixed both.
Where the desk goes
In my photos the desk sat about 0.7 m from the wall behind me. Claude Code told me to pull it out: the edge nearest the wall at about 1.55 m, so I sit about 1.4 m in front of the wall. That gives the shot depth, a soft background and no shadow on the wall. I moved the real shelf and desk to match the plan.
The framing rules that came out of the plan:
- Pick the lens before you plan the set. At 35 mm on full frame the shot was wider than my corner, and the white wall or the black wall past the slats came into frame. The Super 35 crop with the same lens, about 51 mm in full-frame terms, fits the corner with nothing extra in it.
- Decide what must stay out of the frame, then check where the frame edges land on the walls. For me it's the black strip past the slats on the right. Ask Claude Code for the edge positions.
- Eyes about 40% from the top of the frame.
- A rim light on a stand ended up inside the 35 mm frame. It has to go high, on a boom or a clamp.
- Check the practical lamp against your head. On the second shelf my lamp hid behind my head, so it moved up. Claude Code worked that out from the angle to the camera.
What to check before you trust it
- The walls are there. If they're missing, scan again with more light and a longer walk.
- The size matches your tape measure, give or take your rounding.
- Each elevation shows that wall's own furniture.
- The after render has nothing left of the old furniture.
- The camera sits in the room at eye height, with your focal length and sensor width.
- The frame edges land where you want them, and no light stand is in the shot.
A photoreal preview, if you want one
The Blender render is the plan. An AI image shows you the look, and it can't measure anything. I gave an image model four references: the render, a photo of the corner, a photo of one wall panel and the shelf's product listing (gpt_image_2_5 on Higgsfield, 0.25 credits). The layout of the render held. It's optional and it's paid, so skip it if the render already answers your question.
On a Mac with Xcode
The idea came from Wes Bos's 3d-model-anything. Its GitHub description reads: "Capture iPhone LiDAR and photos, reconstruct editable Three.js rooms, and explore them in a browser". Its capture app needs a Mac and Xcode, which is why I went the Scaniverse and Blender way. If you have both, look at it first: github.com/wesbos/3d-model-anything. I haven't run it.
About the reel
The voice is a clone of my voice made with ElevenLabs. The presenter is my HeyGen avatar on Avatar V, trained on my own recording. The scan, the Blender renders and the photos of the room are real, from my studio. Clawd is our animation.
Ricardo, SigmaFlowAI