← back to pin list

DWG input support

kerfmaster pin list · Done

recordStates what the code does today. Auditable against the code — this is the only type that can go stale.

Content last changed 2026-08-02 — computed from the item itself, not typed.

Contract — Intake stage

This contract describes the code as it runs today.

takes customer-file

makes raw-geometry

fails if A .dwg that converts silently wrong — conversion is a step, not a read.

Contract last changed 2026-08-06 — computed, not typed. Dated separately from the text above, so neither date can speak for the other.

Done 2026-07-24. LibreDWG 0.13.3 dwg2dxf built from source (Ubuntu noble doesn’t package it) and installed to ~/.local/bin; dxf_io.parse auto-detects .dwg (extension or AC10xx magic), converts to a temp DXF, parses, and cleans up. Rebuildable via cadmaster/setup_dwg.sh (built at -O0 to dodge the 20-min/-O2-file wall; rm-wrapper to survive the trash shim). Verified end-to-end on ex7.dwg: 13 source lines → healed at 0.61 thou, board built.