drawing-geometry

Interprets construction drawing lines into measurable room geometry for quantity takeoff.

Updated Aug 21, 2026
One-click install
npx skills add https://github.com/dohcivil-ui/naichangmoo.com --skill drawing-geometry-dohcivil-ui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drawing-geometry
Source: https://github.com/dohcivil-ui/naichangmoo.com/tree/main/.claude/skills/drawing-geometry
Command: npx skills add https://github.com/dohcivil-ui/naichangmoo.com --skill drawing-geometry-dohcivil-ui

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Construction drawings contain three visually identical line types—wall surfaces, column faces, and symbols—that must be treated differently when tracing room boundaries. Treating them as one produces silently wrong area measurements: flood fill leaks through door openings, symbols inflate or distort boundaries, and numbers that look plausible hide geometrically wrong shapes. ## Core Features & Use Cases - Line classification before tracing: Separates wall surfaces (long parallel pairs), column faces (short structural segments), and symbols (labels, door swings, level triangles, fixtures) so only structural lines act as barriers. - Rectilinear outline tracing: Traces pixel-boundary outlines with horizontal and vertical segments only, snapping edges to the inner face of wall ink and collapsing staircase artifacts into right-angle corners. - Deterministic measurement: Forbids language models in the click-to-number path so the same room always yields the same area, with coordinates stored in page points independent of zoom level. - Use Case: A user clicks a hospital floor plan room in the ESTIMETR app; the skill guides tracing the boundary along inner wall faces, detouring around columns, ignoring tile grids and fixtures, and converting pixels to metres for a reliable area figure. ## Quick Start Use the drawing-geometry skill to trace the boundary of the room I click on this floor plan and compute its area in square metres.

Frequently Asked Questions about drawing-geometry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trace room boundaries from a construction floor plan?

Classify lines first: wall surfaces and column faces act as barriers while symbols like labels, door swings, and fixtures are ignored. Then trace a rectilinear outline along pixel boundaries and snap each edge to the inner face of the wall ink.

Why does flood fill leak through door openings in floor plans?

Flood fill on raw pixels escapes through any gap in the wall lines, producing areas far larger than the real room. Openings must be closed by classifying structural lines and building a barrier mask before filling, not checked afterward.

Should I use Douglas-Peucker to simplify traced outlines?

No. Douglas-Peucker replaces pixel staircases with diagonal segments, which eats column corners while keeping area numbers plausible. Building outlines must be horizontal and vertical by algorithm structure, traced along pixel boundaries instead.

Can a language model measure room area from a drawing?

No. The same room must return the same area on every click, which a language model cannot guarantee. Models are only acceptable in steps where a human confirms each suggestion, such as proposing floor finish types from labels.

Why does a correct area number not guarantee a correct shape?

Missing and excess regions can cancel out by coincidence, yielding a plausible area from a wrong polygon. Always overlay the traced shape on the drawing visually rather than trusting the number alone.