YouMind
Sign in

How I Turn Any Sketch Into a 3D House You Can Walk Through

@Nyxera0x
ENGLISHNov 24, 2026
562K
519
49
20
1.9K

TL;DR

This guide details a workflow using Claude Code and Blender to transform 2D sketches into complex 3D houses, covering prompts for building structures, rendering visuals, and creating animated films with synchronized sound.

I gave Claude Code a pen sketch. It built the house on top of the drawing from 2,444 parts, every board, tatami mat and shoji strip its own object, then walked me inside. Below: the free skill, every prompt and every fix.

Nyxera - inline image

The sketch on the desk. The camera spirals down, the frame, floors, walls, shoji and roof land on the paper in white clay with a counter, then a wave from the maple turns the paper into a hillside and the clay into cedar and stone

Every AI render I tried gave me a pretty picture of a house that doesn't exist. Ask for one wall to move and you get a different house.

So I stopped asking for pictures. I asked Claude Code to build the house the way a carpenter would: footings, posts, beams, rafters, every floor board, every tatami mat, every strip of wood in every shoji. In Blender, as code.

The input was a pen sketch: 14 by 14 metres, a courtyard with a maple in the middle. Claude read the numbers off it, built 2,444 parts and filmed them landing on the paper.

Then I ran it on 2 more houses with 2 other kinds of input.

Nyxera - inline image

A pen sketch, 4 reference images and a floor plan from a sales brochure, and the 3 houses Claude built from them

At the end there's a free Claude Code skill with all 3 houses inside, and every prompt is below.

What You're Building

One Blender script per house and a film made from it. 6 parts:

  • The numbers. The input read into rooms, walls, openings and furniture, in metres.
  • The look. 3 or 4 reference images that fix the materials, the light and the furniture.
  • The house. Every part a separate object, tagged with its stage: foundation, frame, floors, walls, shoji, interior, roof, garden.
  • The stills. Rendered next to the references until nothing differs.
  • The film. It opens on the input itself, builds the house on top of it, brings it to life and walks inside.
  • The sound. A sound on every part that lands, and music cut so its swell hits the reveal.

What You Need

  • Claude Code on any plan that includes it. I ran everything on Opus 5.5.
  • Blender 4.2 or newer. Free. I used 5.2.
  • A graphics card helps. Mine is an RTX 2060 SUPER with 8 GB, and Step 9 is how it fits.
  • Python 3 and ffmpeg. Claude Code installs both if you ask.
  • Optional: an ElevenLabs key for the music. Without it you get the sound effects alone.

Step 1. Install the Skill

text
1npx skills add Nyxera0x/blueprint -g -a claude-code

Then fetch the free materials once:

text
1python ~/.claude/skills/blueprint/houses/courtyard/fetch_assets.py

Open Claude Code and type /blueprint.

Step 2. Get the Input

If you have a sketch, a plan or a photo of one, skip this. I didn't, so the sketch came from an image model:

text
1/blueprint Write me an image prompt for [a hand-drawn floor plan of a single-storey Japanese courtyard house, 14 x 14 m, a 7 x 7 m courtyard with a maple]. Black pen on off-white paper, shot straight down on a desk. Dimension lines with numbers, room labels in English capitals, sliding doors drawn on the courtyard side. Sparse, like an architect's quick sketch.

A photo of your own napkin works the same way.

Step 3. Read It Into Numbers

text
1/blueprint Read this plan into numbers before you build anything: [the sketch].
21. Find the scale. Trust the dimension labels over the pixels.
32. List every room with its corners in metres, every wall with its thickness, every door and window with its width and height.
43. List the furniture the drawing shows and where it stands.
54. Tell me what doesn't add up.

The drawing wasn't square. The image model drew the same 14 metres 745 pixels wide and 670 pixels tall. Claude went with the labels and built a true 14 by 14.

For the apartment it traced the walls off the plan's grey fill, at 86 pixels to a metre from the scale bar. The doors it read by hand on a metre grid. The automatic pass had put doors across the middle of rooms.

Step 4. Pin the Look

text
1Write 3 image prompts for the finished house, one per view I'll render: [high over one corner], [inside the tatami room looking out at the maple], [along the veranda after rain]. The same materials in all 3: [charred cedar, pale plaster, a dark standing-seam roof, tatami, washi, wet stone, a red maple on moss].

I generated the 3 images and gave them back. From here on they decide every material, every lamp and every cushion.

Step 5. Build It Like a Carpenter

text
1Build the house in Blender as one Python script. Every part is its own object: [footings, sills, joists, posts, plates, tie beams, rafters, roof strips, cladding boards, floor boards, tatami mats with their black edging, shoji frames with every kumiko strip, glass doors, furniture, garden stones].
2Tag every part with its stage so a film can fly them in by stage and count them.
3Use free CC0 materials and plants from Poly Haven.
4Build the 4 wings with one function: address each by its side and (u, v), so the roof's hips and valleys fall on the diagonals.
Nyxera - inline image

All 2,444 parts on the paper: 557 in the timber frame, 609 floor boards and tatami, 477 in the shoji and glass, 364 in the walls, 264 on the roof

Every tatami mat is a box turned to its own direction, so the weave turns with it. Every shoji is a frame, a sheet of washi and 8 kumiko strips. The roof is 4 wings, one function.

Step 6. Render It Next to the References

text
1Render each view at 960x540 and 32 samples. Put the reference next to it and list what differs: proportions, materials, light, what's missing, what pokes through. Fix the list and render again. Stop when the list is empty.
Nyxera - inline image

The tatami room: the reference from the image model on the left, the Blender render on the right

6 rounds of drafts. What came up:

  • The light curve. AgX turned the villa's sunset beige. Khronos PBR Neutral kept the orange.
  • The view. 3 posts stood in the middle of the tatami room's opening. Claude took them out and let one beam span 5.4 m.
  • The cliff. Rocks from the cliff face showed through the bottom of the villa's pool.
  • The roof. Tie beams poked 5 cm through the metal and showed as dots from above.
Nyxera - inline image

From above: the tie beam ends through the roof, then lowered 15 cm

Step 7. Pick the Light

My first version was blue hour, like the references. It came out gloomy. One flag switches the whole scene:

text
1Add a --look flag. [dusk] keeps the references' blue hour. [day] is a bright day after rain: a pale sky with clouds, a low sun from the south-east, wet boards, the room lights at half. Render both from the same camera.
Nyxera - inline image

The same corner, dusk on the left, day on the right

Step 8. Film It Building Itself

text
1Open the film on the input: [the sketch] as a plane on the desk, mapped so its plan is the real 14 x 14 m, seen straight down through a 200 mm lens so the first frame is the photo.
2- the camera spirals down while the lens shortens: the plan keeps its size and the perspective opens
3- the parts fly in by stage onto the paper in white clay, each stage flashing its own colour as it lands: [foundation, frame, floors, walls, shoji, interior, roof, garden]
4- a counter in the corner counts every part
5- then a wave runs out from [the maple]: paper to hillside, clay to real materials, the sky to [day], the lights on
6- a slow hold, a dive over the roof into the court, in through the open glass, then turn round to the garden and pull back to the seat
7Never face a blank wall up close. Write timeline.json with every landing.

The cliff villa from its 4 references: in over the sea, the villa builds itself from tiles and blocks, the pool fills, the lights come on, a dive in through the open glass to the sunset

The first cut walked into the tatami room facing the back wall. For half a second the whole screen was plaster. Now the camera turns round in the opening and backs into the room.

Step 9. Make It Fit an 8 GB Card

The first frame with motion blur died: out of GPU memory.

text
1Find what eats the memory. List the meshes by polygon count and the textures by size, then fix the biggest ones for the film only.

32 million polygons in the scene, 30 million of them in 9 conifers from Poly Haven. Claude decimated them 8 times for the film and kept the full trees for the stills. The bevels made Cycles treat every flying part as a deforming mesh and store every vertex per blur step, so it baked them into the meshes before keying anything. The peak fell to 5.5 GB.

Over the desk a frame takes 3.5 seconds. Inside the house, 20 to 50, at 64 samples.

Step 10. Score It

text
1Score it from timeline.json: [stone knocks for the footings, hollow wood for the posts and beams, paper for every sheet of washi, thin metal for each roof strip, a rustle as the maple grows, rain arriving with the wave]. Get a music track from ElevenLabs with its sections cut to the film's beats, find its swell and offset it onto the wave. Master to -14 LUFS.

1,335 sounds in 24 seconds. The track's swell came out at 14.0 seconds and the wave starts at 13.4, so the music starts 0.65 seconds in.

Bonus. Swap the House

text
1/blueprint Same pipeline for [this floor plan from a sales brochure]. Trace the walls from the plan's fill at its scale bar, read the doors and windows on a metre grid, build the furniture from the plan's symbols. The film: a dollhouse view, then walk through [the living room to the kitchen].

The 3-bedroom apartment from the brochure plan: the walls and furniture build up as a dollhouse, the camera circles it and walks in

Everything ships inside the skill, free and open source:

  • The 3 houses with every line of code, from the sketch, the references and the plan to the finished film.
  • A breakdown of each one: how it was read, built, lit and filmed, and what broke on the way.
  • The film and sound pipeline: the build on the input, the wave, the dive inside, the score on the film's clock.
  • The method for your own house: hand it a sketch, a plan or 3 images and type /blueprint.

github.com/Nyxera0x/blueprint

Remix in YouMind

Turn one viral article into a full content workflow

Collect the source, decode the pattern, create assets, draft the story, and distribute from one AI workspace.

Explore YouMind
For creators

Turn your Markdown into a clean 𝕏 article

When you publish your own long-form writing, images, tables, and code blocks make 𝕏 formatting painful. YouMind turns a full Markdown draft into a clean, ready-to-post 𝕏 article.

Try Markdown to 𝕏

More patterns to decode

Recent viral articles

Explore more viral articles