
Point Cloud & Plans
2026 · 7 tools
Two rooms, one drawing
A handheld scan of two offices, taken through to a vector floor plan — and a measured test of what a pretrained segmentation model can and cannot contribute.
scroll ↓
01 / the problem
A floor plan drawn from a raw scan looks convincing and is usually wrong in the places that matter.
- The full-building scan produced broken walls, no closed rooms and a drawing no reviewer would accept
- Glass façades return almost no points, so one side of each room reads as a gap rather than a wall
- A single slice at 0.9–2.2 m also captures desks and screens, which turn into lines
- General-purpose segmentation models are trained on other buildings, in other countries
02 / approach
What decided the result
Clean and crop the cloud before vectorising anything
Slice at wall height, rasterise, close the sampling gaps, trace centrelines
Measure wall thickness from the cloud instead of choosing a stroke width
Infer glazing from the per-side point density
Treat the segmentation model as a prior to be tested, not as an authority
03 / workflow
How it runs in the field
Extract the two rooms from the raw scan, keeping full point density
Voxel the extract to 2 cm, centre it, keep colour
Slice 0.85–1.75 m above the floor, rasterise at 3 cm, close and thin
Vectorise to polylines, simplify, snap to orthogonal
Measure thickness, detect the glazed side, compute room areas
Run PTv3 over the same cloud and compare labels against the geometric result
04 / implementation
How the drawing was made
Point preparation
20.1 M points reduced to 695 k at a 2 cm voxel, centred in X and Y, colour preserved — the resolution an indoor scene can actually support.
Wall slice and raster
A 0.85–1.75 m band isolates walls from desks and screens. Rasterised at 3 cm, then closed to bridge sampling gaps and opened to drop isolated points.
Vectorisation
Centrelines traced from the skeleton, simplified with Douglas–Peucker at 3 cm, and edges within 8° of an axis snapped straight — the regularisation that makes the linework look drawn rather than traced.
Thickness and glazing
Wall thickness comes from the distance transform (240 mm here). The glazed side is the one whose point density falls to roughly a quarter of the others — 8,376 against 26,000–37,000 points per square metre.
Semantic comparison
PTv3 with S3DIS weights ran over the same 695 k points in six 4 m tiles on a rented RTX 4090, about two minutes of inference. Its labels were then compared cluster by cluster with the geometric furniture.
Sheet assembly
A3 layout with title block, scale bar, north arrow, dimension line and room labels, written as SVG and printed to PDF so line weights survive.
results
- 20.1 M
- points in the extract
- 695 k
- after 2 cm voxel
- 240 mm
- wall thickness, measured
- 21.4 + 37.6 m²
- two rooms, from the drawing
05 / inside the scan
What the scanner actually saw


Geometry vs a pretrained model
Two methods, six questions, no overall winner
Both were run on the same 695,629 points. The interesting result is not which one is better — it is that they fail in opposite directions, which is why the drawing uses each for different decisions.
Geometry
141 m² floor
measured by plane fitting in 39 seconds on a laptop, for nothing
PTv3
0.09% floor
predicted by the network after a run on a rented RTX 4090
Floors and ceilings
Found by counting coplanar points. The floor is the largest plane in the room, so it wins regardless of vocabulary.
Floor 1.4%, ceiling 0.0%. Desks and raised floor tiles face upwards with similar local geometry, so they are absorbed into table.
Walls and thickness
Vertical planes with a measured 240 mm thickness from the distance transform, so the drawing matches the cloud.
55% of points called wall — far more than exists — and glass partitions land in the same class.
Naming objects
Silent. A horizontal patch is a desk, a shelf, or a windowsill; nothing in the maths prefers one reading.
The only method here that can say table or chair at all, which is exactly why it was worth a dollar to test.
Tables and chairs
Outlines yes, names no: four desk patches and three chair-sized clusters, clean but anonymous.
Table 3.8% scattered across 68 fragments, chair 1.5% in 24. Agreement with geometry: one desk in four, one chair in three.
Reproducibility
A three-parameter hypothesis with a distance threshold. Anyone can recompute the inliers and get the same answer, on any machine.
Deterministic on the same card and version, but the answer depends on which checkpoint, which commit and which tile size you used.
Cost of being wrong
Fails visibly: a gap where the glass is, a wall that stops early. Easy to spot and fix by hand.
Fails plausibly: the coloured picture looks confident even when 28% of a two-room floor plan has been labelled sofa.
The rule that came out of this: measure with geometry, name with the model, and draw only what the two agree on. A plane is a measurement — the network's opinion about that plane is not evidence.
09 / interactive
The two rooms, class by class
Drag to orbit. Scroll to zoom.
Areas are measured on the closed polygons of the drawing, with the glazed side treated as a boundary rather than an opening. Wall thickness is a measured median, not a nominal value. The PTv3 comparison used the S3DIS 13-class model without fine-tuning, so its class names describe an American office vocabulary applied to a Hong Kong one — which is exactly why the agreement rate is reported instead of the class percentages alone.
next project