Cindy Zhu.
Free guides
Building & apps Claude

How to turn your floor plan into 6 architect drawings with Claude Code

Hey, it's Cindy 🌱 Here are the 7 Claude Code commands from my video. Give Claude a photo of any floor plan and it draws it six ways, all in code.
btw the waitlist for AI System Club is now open! If you're keen on using AI to automate your content, video editing, job search, business or build AI agents, feel free to sign up (only if you want to hehe). Ps. the waitlist gets first dibs:)
how it works

One plan, six drawings, no image generator

Each command is a small text file that becomes a slash command in Claude Code. You type /zones plan.png and Claude reads your plan, writes the drawing as code (an SVG file) and opens it. The first command you run saves your plan as plan.json, and every other command reuses it, so all six drawings match.

  1. 💻 Install Claude Code. It runs in your terminal or in the Claude desktop app's Code tab. Any paid Claude plan works.
  2. 📁 Make a folder for your house and put a photo, screenshot, PDF or even a hand sketch of your floor plan in it. Write the room sizes on it if you know them.
  3. 📝 Inside that folder, make a folder called .claude, and inside it a folder called commands. Save each command below as its own file there, with the name shown above it (for example zones.md).
  4. 🌱 Open Claude Code in your house folder and type a command with your plan's file name, like /axono plan.png. Run the other five the same way, then /sheet last.
What I found when I tested it. I gave /zones a rough sketch with only room names and sizes, no doors or windows. It still drew a proper zoning plan to scale with every area, the zone table and the percentage bar on the first try, and it listed every guess it made (door positions, wall thickness) so I could correct them. If something is off, tell Claude, then rerun the command.

the 7 commands

Copy each one into its own file

1. /axono Exploded axonometric: floor, walls, roof. The floor, the walls and the roof pulled apart in 3D, so you can see the whole house at once.

save as .claude/commands/axono.md
Draw an exploded axonometric of my floor plan: the floor slab at the bottom with each room tinted and labelled, the walls in the middle extruded to 2.7 m with door and window openings cut out, and a flat roof floating on top, the three layers pulled apart vertically with thin dashed guide lines between them. 30 degree axonometric view, soft grey shading on the side faces.

Plan input: $ARGUMENTS (a photo, screenshot, PDF or sketch of a floor plan). If plan.json already exists in this folder, reuse it so every drawing matches. If not, read the plan first and write plan.json: every room (name, x, y, width, depth in metres), external and internal walls (start, end, thickness), doors (position, width, swing), windows, the north arrow and the overall size. Where a dimension is not readable, assume a sensible one and list it under "assumptions". Draw everything in code as one SVG file (no image generator), true to scale, with a scale bar, a north arrow, a title block and a short notes box listing the assumptions. Use a clean architectural style: thin grey lines, one accent colour, a sans serif font. Save the file, then open it.
Save as 01-axono.svg.

2. /section Schematic section: sun and air. A slice through the house with ceiling heights, a person for scale, the summer and winter sun and how fresh air moves through.

save as .claude/commands/section.md
Draw a schematic section through my floor plan, cut through the longest run of main rooms (mark the cut line AA on a small key plan in the corner). Show walls and floor cut in solid black, a 2.7 m ceiling and the roof, room names and areas along the cut, a person for scale, the summer and winter sun angles for my location coming through the windows (ask me the city if I have not said it, otherwise assume one and note it), and blue arrows showing how fresh air crosses the house through the windows and doors.

Plan input: $ARGUMENTS (a photo, screenshot, PDF or sketch of a floor plan). If plan.json already exists in this folder, reuse it so every drawing matches. If not, read the plan first and write plan.json: every room (name, x, y, width, depth in metres), external and internal walls (start, end, thickness), doors (position, width, swing), windows, the north arrow and the overall size. Where a dimension is not readable, assume a sensible one and list it under "assumptions". Draw everything in code as one SVG file (no image generator), true to scale, with a scale bar, a north arrow, a title block and a short notes box listing the assumptions. Use a clean architectural style: thin grey lines, one accent colour, a sans serif font. Save the file, then open it.
Save as 02-section.svg.

3. /circulation The routes, measured in metres. Your everyday walks (morning, guests, shopping) drawn through the real doors, each measured in metres.

save as .claude/commands/circulation.md
Draw a circulation diagram of my floor plan in pale grey with three everyday routes drawn as thick rounded coloured lines that pass through the real door openings: a morning route (bedroom, bathroom, kitchen), a guest route (front door to the living room and the toilet) and a shopping route (front door to the kitchen). Measure each route along its path in metres and show the length on the line and in a legend, and number every door passed with a short list of which doors each route uses.

Plan input: $ARGUMENTS (a photo, screenshot, PDF or sketch of a floor plan). If plan.json already exists in this folder, reuse it so every drawing matches. If not, read the plan first and write plan.json: every room (name, x, y, width, depth in metres), external and internal walls (start, end, thickness), doors (position, width, swing), windows, the north arrow and the overall size. Where a dimension is not readable, assume a sensible one and list it under "assumptions". Draw everything in code as one SVG file (no image generator), true to scale, with a scale bar, a north arrow, a title block and a short notes box listing the assumptions. Use a clean architectural style: thin grey lines, one accent colour, a sans serif font. Save the file, then open it.
Save as 03-circulation.svg.

4. /poche Poché plan: black walls, white space. The classic architect plan: solid black walls, pure white rooms, nothing else.

save as .claude/commands/poche.md
Draw a poché plan of my floor plan: every wall filled solid black at its true thickness, everything else pure white, door swings as thin arcs, windows as thin double lines, no colour, no furniture and no room fills. Only small room names. Outdoor areas get a very light hatch.

Plan input: $ARGUMENTS (a photo, screenshot, PDF or sketch of a floor plan). If plan.json already exists in this folder, reuse it so every drawing matches. If not, read the plan first and write plan.json: every room (name, x, y, width, depth in metres), external and internal walls (start, end, thickness), doors (position, width, swing), windows, the north arrow and the overall size. Where a dimension is not readable, assume a sensible one and list it under "assumptions". Draw everything in code as one SVG file (no image generator), true to scale, with a scale bar, a north arrow, a title block and a short notes box listing the assumptions. Use a clean architectural style: thin grey lines, one accent colour, a sans serif font. Save the file, then open it.
Save as 04-poche.svg.

5. /zones Day, night, services and the areas. Every room coloured by use with its area in square metres, plus a table and the share of the house each zone takes.

save as .claude/commands/zones.md
Draw a zoning plan of my floor plan: colour each room by use, orange for day (living, kitchen, dining), blue for night (bedrooms), green for services and circulation (bathrooms, toilet, laundry, hall, entrance), with outdoor areas left white. Write each room's name and area in square metres inside it, and add a table below with every room grouped by zone, a subtotal per zone, the total area, and a bar showing what percentage of the house each zone takes.

Plan input: $ARGUMENTS (a photo, screenshot, PDF or sketch of a floor plan). If plan.json already exists in this folder, reuse it so every drawing matches. If not, read the plan first and write plan.json: every room (name, x, y, width, depth in metres), external and internal walls (start, end, thickness), doors (position, width, swing), windows, the north arrow and the overall size. Where a dimension is not readable, assume a sensible one and list it under "assumptions". Draw everything in code as one SVG file (no image generator), true to scale, with a scale bar, a north arrow, a title block and a short notes box listing the assumptions. Use a clean architectural style: thin grey lines, one accent colour, a sans serif font. Save the file, then open it.
Save as 05-zones.svg.

6. /shadows Shadows on 21 June, hour by hour. The shadow your house casts at 8 am, 12 pm and 6 pm, with the sun angle for every hour.

save as .claude/commands/shadows.md
Draw a sun and shadow study of my floor plan for 21 June (ask me the city if I have not said it, otherwise assume one and note it). Calculate the sun altitude and azimuth for my location every hour from sunrise to sunset, assume a 2.7 m wall height and a flat roof, and draw the shadow the house casts at 8 am, 12 pm and 6 pm as see-through coloured shapes with the time, altitude and azimuth written next to each. Add a table with every hour's altitude, azimuth and shadow length.

Plan input: $ARGUMENTS (a photo, screenshot, PDF or sketch of a floor plan). If plan.json already exists in this folder, reuse it so every drawing matches. If not, read the plan first and write plan.json: every room (name, x, y, width, depth in metres), external and internal walls (start, end, thickness), doors (position, width, swing), windows, the north arrow and the overall size. Where a dimension is not readable, assume a sensible one and list it under "assumptions". Draw everything in code as one SVG file (no image generator), true to scale, with a scale bar, a north arrow, a title block and a short notes box listing the assumptions. Use a clean architectural style: thin grey lines, one accent colour, a sans serif font. Save the file, then open it.
Save as 06-shadows.svg.

the plan

Put all six on one sheet

7. /sheet All 6 drawings on one A3 sheet. All six drawings laid out on one A3 page, numbered, ready to print or share.

save as .claude/commands/sheet.md
Put all six drawings of my plan on one A3 portrait sheet in a 2 by 3 grid: 01-axono.svg, 02-section.svg, 03-circulation.svg, 04-poche.svg, 05-zones.svg and 06-shadows.svg from this folder (if any are missing, make them first with the same plan.json). Title it "6 drawings, 1 single plan" with the subtitle "Drawn in code by Claude Code", number each drawing, add a thin frame, and a footer line with the plan name and the assumptions. Save it as 00-sheet.svg and also export 00-sheet.pdf if a converter is available, then open it.
💡 No plan yet? Ask Claude to make one first: "Design a single storey 3 bedroom house of about 130 square metres and save it as plan.json." Then run the commands on it. The house in my video is a made up plan, drawn on the first try, with heights and the roof assumed.
💡 Your sun is different from mine. /section and /shadows use your city for the sun angles. Say it when you run them, for example /shadows plan.png Singapore.
Want the systems behind this? Inside AI System Club I share the AI workflows I use to run my content and business, step by step. 🌱 Join the waitlist
the waitlist is now open

AI System Club is launching soon

Build AI systems with me through recorded lessons you can follow at your own pace. Join the waitlist for first access and the founding price.

btw this list gets first dibs
the moment doors open :)