v0.2.8
--script now defaults to the declarative Sheet DSL. The editable script the CLI writes is the beautiful-Python surface — one commentable line per feature — for both STEP and build123d-object input.
Changed
draftwright … --scriptnow emits the declarativeSheetscript by default (was the imperative edit-verb reconstruction). The imperative reconstruction is still available via--script --style imperative. For prismatic parts the generated script reproduces the same drawing as a direct build; a turned shaft's centre lines and base-diameter style are not yet identical (the remaining validity gap, #472).--style imperativenow errors clearly on amodule:attrobject spec (it reads a STEP file; use the defaultsheet). The Sheet DSL doesn't yet model the title-block / layout aspects the imperative script embeds, so--script --style sheetwarns when--drawn-by,--tolerance,--scaleor--pageis set rather than silently ignoring it (#474).
🤖 Generated with Claude Code