Skip to main content
Back to Projects
Real Estate & ConstructionNext.jsthree.jsReact Three Fiberweb-ifcPropTech

CAD Interior Studio

Turns an architect's IFC or GLB file into a walkable 3D home that customers furnish from a real product catalog. A proof of concept built for a client: Sameem worked on it as a full-stack engineer.

CAD Interior Studio
React Three Fiber
3D
IFC · GLB
Files
Browser
Runs in
Proof of concept for a client
Engagement

Facts about the build and who it was for. Any figure here is shown on a public store listing or site linked on this page. See how we present portfolio work.

Walkthrough

1½-minute walkthrough: the sample apartment, furnishing from the catalog, AI concepts, auto-style, a walkthrough and a real IFC file.1:37

Screens

Project Story

The Challenge

Home buyers struggle to picture a space from drawings, and design firms lose time turning ideas into quotes. The client wanted customers to design their own interiors in 3D from the real building files, with every item a catalog product a quotation can be built from, and AI used for inspiration without ever passing a picture off as something you can buy.

What Was Built

IFC and GLB files parsed in the browser with web-ifc (WebAssembly) and split into rooms, with nothing uploaded; an orbit view and an eye-height walkthrough with the keyboard; click-and-place catalog furniture with collision checks, drag, rotate, floor and wall finishes, undo and redo; AI style concepts kept apart from the buildable design and labelled as inspiration; auto-style that refurnishes a room using only catalog products, as a single undo step; and a before-and-after result with a 2× export, designs saved in the browser and a phone layout.

The Result

Live proof-of-concept demo with a sample apartment, which can also open a real IFC file, with a 1½-minute walkthrough recorded on it. It has no AI keys, so its concept images are labelled demo renders.

Project Details

CAD Interior Studio turns an engineer's IFC or GLB building file into a 3D building in the browser, room by room, that customers walk through and furnish with catalog products. The file is parsed on the visitor's device and never uploaded, AI style concepts are kept apart from the buildable design, and auto-style refurnishes a room from the catalog alone. It is a proof of concept built for a client: Sameem worked on it as a full-stack engineer, on Next.js 15 with React Three Fiber, three.js and web-ifc. It has no database and no logins. The live demo is linked from this page, with a 1½-minute walkthrough recorded on it.

Tech Stack

Next.js 15 + React 19
React Three Fiber + three.js
web-ifc (WebAssembly)
Zustand + zundo (undo/redo)
Try the live demo

Opens the project’s page on the demo hub in a new tab, with any logins the demo needs.

Category

Next.js & three.js Proof of Concept
Written by DevoraXReviewed by Sameem Amjad, Founder & Lead Architect EngineerLast updated Based on project records and public sources (engineering write-up)

CAD Interior Studio is a browser app that turns an architect's CAD/BIM export, an IFC or GLB file, into a 3D building that customers walk through and furnish room by room. CAD Interior Studio is a proof of concept built for a client: Sameem worked on it as a full-stack engineer. It was made for an interior-design and quotation platform, and has no database, no logins and no live product. The building file is converted on the visitor's device and never uploaded. Customers orbit or walk through the building, place catalogue furniture with collision checks, change finishes, undo and redo, and compare the room before and after. AI style concepts are kept apart from the buildable design, and auto-style uses catalogue products only. The demo is at demoprojectsforclients.sameemamjad.com/projects/studio, and a 1½-minute walkthrough video is on this page.

What you can check

  • Live proof-of-concept demo, no sign-in: demoprojectsforclients.sameemamjad.com/projects/studio (open the sample building or drop an IFC or GLB file)
  • A 1½-minute walkthrough video on this page: the sample apartment, catalogue furnishing, AI concepts, auto-style, a walkthrough and a real IFC file
  • The demo's result view compares the room before and after with a draggable divider and has a 2× image export; its catalogue has no prices by design

Each item points to something public: a store listing, a live site or a demo build. See our terms for how we present portfolio results.

What problem was CAD Interior Studio built to solve?

A floor plan shows walls and dimensions, but most people struggle to see from it how a sofa will sit or whether a room will feel crowded once furnished. Design firms meet the other end of the problem: turning a customer's ideas into a quote takes time, because ideas arrive as pictures rather than as items that can be priced.

CAD Interior Studio is a proof of concept for an interior-design and quotation platform, built for a client; Sameem worked on it as a full-stack engineer. It shows the building files architects and engineers already produce as a 3D building in the browser, and lets customers design the interiors themselves. Every item they place is a catalogue product, something a quotation can be built from. AI is there for inspiration and never passes a picture off as something a customer can buy.

There are no prices anywhere in it, on purpose: the proof of concept ends where the quotation engine would begin.

How does an IFC file become a 3D building in the browser?

The common exchange format between the BIM tools architects and engineers use is IFC, an open standard maintained by buildingSMART. An IFC file describes a building as typed elements such as walls, slabs and spaces, whose 3D shapes must be generated before anything is drawn.

CAD Interior Studio does that in the browser with web-ifc, an open-source IFC library compiled to WebAssembly. GLB files are read with three.js. Either way the file is converted on the visitor's device and never uploaded, which matters when architects' drawings can be commercially sensitive.

Real IFC files bring practical traps. They are often placed far from the origin to match real-world coordinates, which costs graphics precision, so the model is moved to the origin on load. Site and zone volumes carry geometry that would hide the building as a solid block, so they are not drawn. The rest is merged by colour and position, which keeps rendering light without losing track of where each piece sits.

How does the app work out where the rooms are?

Nearly everything in the studio happens per room, from furnishing to auto-style. IFC has an element for rooms, IfcSpace, which describes a room's volume. Where a file includes spaces, CAD Interior Studio uses them as the rooms, largest first.

Many files leave spaces out, and the proof of concept does not guess them. It makes one room per storey instead, named “Whole floor” or by level. A guessed room labelled “Kitchen” that turns out to be a hallway would mislead a customer; an honest whole floor only asks them to do a little more. GLB files carry no room information, so rooms come from a small companion file listing each room's bounds where one exists, and otherwise the whole model is one room.

The demo's sample apartment is generated in code rather than read from a file.

How do customers move around the building?

The orbit view circles the building from above, like a dollhouse. Orbiting a real floor plan usually means staring at the outside of a box, so the app hides the wall pieces between the camera and the selected room, a cutaway that keeps the room readable from any angle.

The second view, the walkthrough, puts the camera at eye height inside the room, moved with the keyboard and turned with the mouse. There is no physics engine. Before each step the app casts a short ray in the direction of travel and stops at a wall, testing the two floor directions separately, so walking into a wall at an angle slides along it instead of stopping dead. Architectural walkthroughs commonly work this way, since the aim is the feel of a room.

How does furniture placement stay believable?

Choosing an item in the catalogue arms it. A translucent copy follows the pointer across the room's floor with a ring beneath it, blue when the spot is clear and red when it would overlap something already placed. A click or a tap places it. Placed items can be dragged, rotated and removed, and each room's floor finish and wall paint are chosen from swatches.

The collision check is deliberately simple: the app compares each item's footprint rectangle after rotation, and ignores rugs, which furniture is meant to stand on. Items stay inside the room, and moves and turns snap to steps the settings give as 5 cm and 15°. An overlap shows as a warning but is still allowed, since a hard refusal tends to frustrate more than it protects.

Undo and redo cover the design only, and a drag is recorded once, on release, so one gesture is one undo step.

Why are AI style concepts kept apart from the buildable design?

What an image model draws is not a list of products, and a quotation cannot be built from a picture. So the concepts sit in their own panel, apart from the design, labelled as inspiration: the panel states that items shown are not products.

With an image key, the flow works image to image: the app captures the current view and asks for a restyled version that keeps the room's architecture, camera angle, windows and proportions, changing only furniture, materials and lighting mood. The styles are Modern, Japandi, Scandinavian and Luxury, and a customer can add a short direction.

The demo runs without AI keys and says so. In place of model output it shows four style-graded views of the customer's own render, each marked as a demo render rather than AI.

How does auto-style furnish a room from the catalogue alone?

Auto-style is where AI acts on the real design. It refurnishes the selected room in the chosen style under one rule: everything must come from the catalogue. The server drops any item or finish it does not recognise, and the browser checks again before applying anything, so an invented product cannot reach the design. As is usual when a language model acts on real data, the model proposes and ordinary code decides what is allowed.

The new room lands as a single change, so one undo restores the old one. With keys, Claude proposes the plan. Without them, as in the demo, a built-in planner picks catalogue items whose style tags match and lays them out with the editor's own placement maths: sofas and storage against a wall facing into the room, other pieces spread out from the centre, avoiding overlaps where the room allows. A message says which of the two ran.

What does the before-and-after view show, and where are designs kept?

In the result view, the before is a copy of the room taken when the customer entered it, and both versions are rendered from the same camera either side of a draggable divider, so the change is judged from one angle. Beside them sit a summary of the room and a 2× export that saves the view as a high-resolution image.

There is no database and no account. Designs are saved in the browser, matched to the building, and return when that building is opened again; the save button also downloads the design as a file that can be reopened. The design is a small document of rooms, each holding its finishes and its items, every item a catalogue reference with a position, which is what a quotation would need. Browser storage can be cleared, so products of this kind usually keep designs on a server.

Where can you see CAD Interior Studio?

There is no live product: CAD Interior Studio is a proof of concept, with no database and no logins. The demo is at demoprojectsforclients.sameemamjad.com/projects/studio and needs no sign-in. A visitor can open the sample building or drop their own IFC or GLB file, converted on their device, then furnish rooms from the demo catalogue, try finishes, generate concepts, run auto-style, walk through, and compare before and after. It works best on a computer or tablet, and has a phone layout. Because the demo has no AI keys, concept images are marked as demo renders and auto-style uses the built-in planner.

This page also carries a 1½-minute walkthrough video. It shows the sample apartment, furnishing from the catalogue, AI concepts, auto-style, a walkthrough and a real IFC file.

Why this stack

  • Next.js 15 + React 19: the proof of concept is one app with no separate backend. The studio runs in the browser, and two small server routes exist only to keep AI keys out of the browser and call the models, so it deploys as a single unit.
  • React Three Fiber + three.js: three.js is the established WebGL library for 3D on the web. React Three Fiber writes the 3D scene as React components that render from the same store as the panels, so a placed item appears everywhere from one change. Per-frame work such as walkthrough movement stays outside React's render cycle.
  • web-ifc (WASM): generating geometry from IFC is heavy work over a large schema. Compiled to WebAssembly, web-ifc runs at close to native speed in the browser, which is what lets a building file stay on the visitor's device. The cost is a WebAssembly download before the first file opens, and very large models depend on the visitor's machine.
  • Zustand + zundo: Zustand holds the design and the editor state in one small store. zundo adds undo and redo as a history of that store and can track only the design document, which keeps camera moves out of the history and lets auto-style land as one undo step.
  • TypeScript: the design document is shared across the editor, auto-style and saving, and an auto-style plan crosses from server to browser. Types, with runtime validation of anything read from storage or the network, stop a renamed field or an unknown catalogue id from reaching the scene.
  • Tailwind CSS v4: the interface is a dense editor with sidebars, sheets and a phone layout. Utility classes keep spacing and colour consistent, and responsive variants handle the switch to a bottom bar on small screens. Version 4 is configured in CSS, so the design tokens live in one stylesheet.

Start with a free 30-minute call

Tell us where the app is stuck and what has to happen by when. We tell you whether an audit makes sense.

Book your free call