Units
A DXF names its unit in the header, and the header is often wrong: drawings in millimetres regularly declare inches. Tekton measures the drawing in each candidate unit and asks which one gives walls of sensible thicknesses. The header is overruled only when the walls favour another unit clearly. When the walls fit two units equally, the header decides.
Layers
Every layer is given a role: wall, door, window, furniture, fixture, annotation and a few more. Names do most of the work, because almost every office has a layer with “wall” or “door” in it. When a drawing puts everything on layer 0, the geometry decides instead: how much of the layer’s length runs in parallel pairs at the drawing’s wall thickness.
Lines inside a block keep the layer they were drawn on, the way AutoCAD shows them, unless the block is a door or a piece of furniture placed on its own layer.
Walls
A wall face arrives as many short segments. They are merged into runs along one line, and a wall is two runs facing each other at one of the drawing’s thicknesses. The sample flat has two, 230 and 115 mm.
Multilines are expanded element by element, polyline bulges are read as the arcs they are, and a curved wall is two arcs on one centre, a wall’s thickness apart.
Doors and windows
From each end of a piece of wall, Tekton follows the wall’s line across its full thickness to the first thing that stops it. That distance is the opening, jamb to jamb, at its narrowest. What stands in the gap decides what it is: door geometry reaching both jambs makes a door, glass makes a window, and nothing makes an open archway.
The door symbol never sets the width. Its swings say only whether it is single or double and which room it opens into. A door whose jambs cannot be measured is shown on the plan without a width.
Rooms
A wall face broken by an opening is joined back across it, because both pieces lie on the same line. Each doorway is closed with a piece of wall as thick as the wall it sits in. A line that stops a few millimetres short of the one it was meant to meet is carried on to it, never past it. The result is split at every crossing and traced into faces, and the faces are the rooms.
Nothing is joined by guessing at a gap. A rectangle crossed by an X, the usual mark for a shaft or a void, is held out of the rooms and never billed as floor. Hatching drawn as loose lines is recognised by its spacing and set aside.
Quantities
Area and perimeter come straight from each room’s outline. Wall area is the perimeter times the ceiling height, less every door and window that opens onto the room. An internal door comes off both rooms it joins; a window comes off the one inside.
A plan carries no heights, so ceiling, door and window heights are inputs. They start at 3,000, 2,100 and 1,200 mm, and you change them against the schedule.
Known limits
- DXF only. Drawings saved as DWG need exporting to DXF first, and scanned plans or PDFs cannot be read.
- Doors are looked for on door layers. A door drawn on a furniture or wall layer may be missed.
- Walls drawn as a single line have no thickness to measure across, so fewer of their openings are found.
- Doors and windows set in curved walls are not found yet.