Xentim Book a demo
Case study

Digital twin from a 3D scan: an office rebuilt from clean models

Two weeks ago we split a scan of our office into movable objects. They looked like the scan because they were the scan, blur and holes included. This time we did the opposite: the scan is used only for measuring, and everything you see is a clean 3D model. We compared every one of them with the laser measurement.

Piotr BuczkowskiPiotr Buczkowskifounder of Xentim·
The same frame built from clean modelsScan of the larger room seen from the balcony doorScanModel
Drag the slider. Left: the scan. Right: the same frame built from clean models. There is not a single scan point in the model.
  • Site: the same two rooms as in the first attempt, 17.4 and 11.0 m², ceiling 2.55 m
  • Scan: handheld XGRIDS L2 Pro, 3 minutes 58 seconds of walking in those two rooms only, 22 minutes of processing at the highest quality
  • Measurement: 49 million laser (lidar) points, 1.62 million image points (splats), 81% of them in the two rooms
  • Result: 275 objects in seven groups. Walls, desks and shelves sit 7 to 9 mm from the measurement (median), chairs and equipment about 2 cm

Why we did it again

The first version answered one question: can a scan be taken apart into things you can move? It can. But every object took its own piece of the scan along, and with it the scan's flaws. Edges were soft, thin objects blurred, and once you moved the sofa there was a hole in the floor, because the scanner never saw what was under it.

That is fine for looking around in a browser. It is not fine for work with a client. When someone zooms in on their own desk in a meeting and sees a ragged smudge, the conversation moves from planning to questions about quality. So we set a different bar: only models in the frame, as tidy as if a person had built them, with the scan kept in the background as a measuring tape.

A new scan: shorter, but only where it matters

The first time I walked the scanner through the whole office. This time only through the two rooms that were going into the twin. That came to just under 4 minutes instead of five and a half, and still 81% of the image points landed in those two rooms, against 55% before. The scanner software processed it at its highest quality in 22 minutes.

The scan is not equally sharp everywhere. It looks best from the places I walked through. From above or from behind a wall it turns into a blur, because the scanner never looked from there. Window panes are blown out, and thin things such as monitor arms, cables and fairy lights dissolve into haze. Those were exactly the parts that had to disappear from the picture.

The same view with the room outlines found from the measurementScan of both rooms from above, ceiling removedScan from aboveMeasured outline
Drag the slider. Both rooms from above, ceiling removed. From above the scan is blurred, because the scanner never looked from there. Right: the room outlines the software found from the laser.

Step one: walls from the laser, in five seconds

The software first slices the laser point cloud and looks for a band at about 2.2 m where the space is empty. That is where the scanner was carried, so that is the middle of a room, and the edges of that band are the walls. From 49 million points it found two rooms, 17.4 and 11.0 m², 28.4 m² together, and a ceiling at 2.55 m.

In the first attempt we tripped over an alcove in the larger room: we assumed a rectangle, and the room is not one. This time the software found the alcove by itself, along with the door reveals.

Skeleton of both rooms: walls, floor and openings, no furniture
The measured skeleton: walls and floor of both rooms. The alcove and reveals came from the laser, nobody drew them.

Step two: a measured mesh we never show

The laser knows where surfaces are, not what they are. We turned its points into a dense mesh: each scanner ray says the space was empty up to a certain distance and solid beyond it. Average millions of such rays and you get the shape of the whole interior. This mesh has 1.77 million triangles, and half the laser points lie within 8.5 mm of it.

Accurate, and impossible to show. Flat things look fine, but plants, chairs and glass fall apart into shreds. So in the finished twin it is invisible. It serves as collision geometry, as the ground for people in a simulation and above all as the reference every model is compared with.

Three rows of frames: the scan, the bare shape of the measured mesh and the mesh with the scan image, with ragged plants and glass
Left: the scan. Middle: the bare shape of the measured mesh. Right: the same mesh with the scan image. Accurate, but plants, glass and thin things are left in shreds.

Step three: seven groups of models, each checked against the measurement

We split the interior into seven groups: walls with floor and ceiling, windows and doors, desks, seating, shelving, equipment on the desks, and plants, pictures and lights. Each group was built by its own AI agent, a program that writes the model's code in Blender. It takes dimensions from the laser and appearance from scan frames and from photos taken by the scanner's cameras. They worked in parallel, three at a time.

An agent cannot call a model finished because it looks right. After every round we compute how far the laser points lie from the model's surface and compare that with the same figure for the invisible measured mesh. The model has to be at least as close to the measurement as the mesh. If it is not, it goes back for another round or gets an exception explained with numbers.

GroupMedian distance: modelMeasured meshWhat is in it
Walls, floor, ceiling8.1 mm8.0 mm14 walls textured from the scan, a beam, skirting, reveals of 8 openings
Windows and doors11.2 mm10.5 mm3 windows, a balcony door, 2 doors, 2 glass panes, radiators
Desks7.5 mm8.2 mm4 desktops, a sit-stand desk, 2 drawer units with sliding drawers, a shelf
Shelving9.1 mm8.2 mm2 shelves with books and binders, a built-in wardrobe with 3 doors
Plants, pictures, lights7.2 mm9.7 mm2 plants, 7 pictures, 3 tracks with 9 spotlights, an air conditioner, fairy lights
Seating18.5 mm8.9 mmsofa, chaise, cushions, coffee table, office chairs, stool, folding chairs
Equipment21.8 mm10.4 mm4 monitors on arms, a computer, printer, speaker, lamps, small items on the shelf

Five groups came out level with the measured mesh or better. Two are clearly worse, and we know why. The laser sees chair legs, castors and columns as a thick, blurred cloud, so the points sit a few centimetres from a thin tube even when the tube stands in the right place. The agent could have thickened the tubes to improve the numbers, but the chair would then be wrong, so it did not. Around the monitors the laser returns a cloud 27 cm thick, and no arrangement of screens gets close to those points. The sofa upholstery is smooth in the model and creased in reality, which adds a few more millimetres.

First wave: walls, windows and desks next to the scan from four camerasWindows, doors and radiators: scan, bare shape and modelDesks: bare model shape next to the scanShelves with books and the wardrobe next to the scanSeating: scan, bare shape and modelDesk equipment next to the scan after corrections
The model groups in the order they were built, always next to the scan. Click a picture to enlarge it.

What went wrong

The thing that stood out most was the chair in the smaller room. The agent fitted it to the laser and the numbers looked decent, but the backrest came out as a thick blob bulging on both sides, and the fabric carried stains copied from the scan. The real backrest is a thin, shaped shell and the fabric is a plain grey. The fix took one round. Position and heights stayed as measured; the shape changed.

The chair in the smaller room in the scanThe chair in the model before the fix: thick, egg-shaped backrest and stainsThe chair after the fix: thin backrest and plain fabric
The same chair three times, switch with the buttons. The measurement was right from the start; the shape was not.

The equipment went the same way. In the first version the agent drew its own textures instead of taking them from the scan, and the speaker became a golden box with a logo while the keyboard turned into a bright rainbow. The lower pair of monitors overlapped the upper one. After the fix the fronts and screens carry images from the scan, and the monitors hang the way they do in reality, in two rows with a gap.

The long desk in the scan: printer, speaker, pen cupsThe model before the fix: golden speaker with a logo, hand-drawn texturesThe model after the fix: dark speaker and printer front from the scan
The long desk in the smaller room. Hand-drawn textures looked like a cartoon; textures from the scan match the rest.

Some things only came out during measurement, which is the point. We were sure the glazed wall between the rooms had glass doors. It does not: it is two plain panes in a masonry wall, and the door you see through the glass leads from the smaller room to the hallway. My list of objects had three plants in the larger room. The laser found two pots, and the green in the third spot turned out to be book spines on the black shelf. The picture above the white shelf cannot be shown in full, because objects standing on the shelf hide its lower part from every angle in the scan. So we cropped it to the part that can actually be seen instead of inventing the rest.

The result

The finished twin has 275 objects. Every piece of furniture is a separate thing with its own pivot: doors and wardrobe doors open, drawers slide, chair seats turn and monitor arms bend at the joints. No pixel in the frame comes straight from the scan. The scan image returns only as texture on flat surfaces: the floor, walls, book spines and posters.

The same frame from modelsScan of the smaller room from the door: desk with four monitorsScanModel
Drag the slider. The smaller room from the door: the desk with four monitors, the long desk by the navy wall, the built-in wardrobe.
The larger room in the scan: bookshelf, chaise, plantThe same frame, bare model shapes without colourThe same frame, models with colour and texture
The larger room in three layers from one camera. The middle one shows the bare model shapes, without colour or texture.
A flight through both rooms. In each, the frame wipes from the scan to the bare model shapes and to the finished model. Labels are in Polish.

How accurate is this twin

Every number in this text says how closely the model follows the scanner's measurement. None of them says how closely it follows reality. Those are different things. In the first attempt we checked two pieces of furniture with a tape measure: the white shelf differed from the model by 2 to 4 cm, the coffee table by 1 cm. The scanner has its own error too: in this scan the image and the laser cloud disagree by 1.1 cm (median).

What is that good for? For layout planning, checking passages, placing cameras and simulating how people move, it is more than enough. For ordering made-to-measure furniture you still need a tape or the maker's catalogue, with the position taken from the scan.

What it cannot do yet

What this means for a site owner

The first attempt gave a twin that looks like a scan. This one gives a twin that looks like a designer's model, has real dimensions and can be shown to a client up close. Any object can be moved without leaving a hole in the floor, because the floor is a model too. On a twin like this you can check what a camera sees, which way people leave during an alarm and what changes when a machine moves. That is how we work with sites, see the digital twin page. Real people moving through a twin are shown in our courtyard case study.

Questions and answers

How is a digital twin built from models different from a 3D scan?

A scan records appearance: millions of points that blur up close and have no idea what is a chair and what is a wall. A twin built from models is made of separate, clean objects with dimensions taken from the measurement. Each can be selected, measured and moved, and moving it leaves no hole.

How do you check that a model matches the scan?

We compute the distance from every laser point to the model's surface and compare it with the same figure for a mesh built directly from the measurement. In this office walls, desks and shelves sit 7 to 9 mm from the measurement (median) and chairs and equipment about 2 cm, because the laser blurs thin parts.

How long does it take to build a twin like this?

Scanning two rooms took 4 minutes, processing the scan 22 minutes, and the software found the walls and rooms in seconds. Seven groups of models were built in parallel by AI agents, each in 10 to 30 minutes plus one round of corrections. From scan to finished scene took one afternoon.

Is a twin like this good enough for ordering made-to-measure furniture?

It does not replace a tape measure. The numbers in this test say how the model matches the scan, not reality. In the first attempt furniture checked with a tape differed from the model by 1 to 4 cm. That is enough for layouts, passages and cameras, not for manufacturing furniture.

What about windows and glass the laser passes through?

We measure window and door frames with the laser, because the rays bounce off frames. The glass itself and the division of the sashes come from scan frames and from photos taken by the scanner's cameras. That is also how we found out the glazed wall between the rooms has no door, although we were sure it did.

All numbers come from our own scan and measurements of 30 November 2026. Tools: XGRIDS L2 Pro scanner with LCC Studio 2.7, our own twin engine in Python, Blender 5.3. The models were built by AI agents following our rules, and every result was compared with the laser measurement. The scan and the office are ours.

Read also
Case study: from a five-minute room scan to a digital twin you can rearrangeCase study: what one camera told us about how people use a courtyardThe case was dropped because no one had time to watch the footageNight shift, two people, forty camerasA sofa bed by the bins and four days of footageThe trail camera took the photo. Who will look at it?A car stalls on the tracks. The signaller knows within secondsThe security queue builds at 5:40, and only two lanes are openHow many spaces are free? The camera already knows