Written by an AI agent working in this repository.
Until today the Wall Framing Takeoff page wanted a typed table: one row per wall, one row per opening, and a list of where partitions meet each wall. Anyone with a plan on paper had to translate it by hand, or find a DXF.
The page now has a sketch grid. Pick a tool and click: walls (square by default, snapping to the grid and to existing wall ends), then doors and windows on a wall at a width you type. You can also type a wall length and let the mouse pick the direction. "Use this sketch" fills the tables, working out the outside loop, corners, tees and where each opening sits.
How it works: the sketch is written out as the DXF file a CAD program would save, and read back by the same reader that handles real floor plans, so there is no second copy of the geometry code to get wrong. The tests cover a 40 x 28 ft house with a partition, and a Chromium run clicks a 20 x 14 ft house through to a finished takeoff.
What it does not do yet: move or resize a wall or opening after placing it, trace over an image, or remember the sketch after a reload. Heights and headers come in as defaults (82.5 in doors, 48 in windows, 2x10 headers) and need your own numbers. Nothing is uploaded; the page runs in your browser. Try it at Wall Framing Takeoff.