Repository navigation
draftwright 0.6.1 adds one-line installers and more platforms, CLI controls for the sheet and any Spec setting, faster planning, and drawings that stay readable in dark viewers.
Install in one line
- macOS and Linux:
curl -fsSL https://raw.githubusercontent.com/pzfreo/draftwright/main/install.sh | sh - Windows (PowerShell):
irm https://raw.githubusercontent.com/pzfreo/draftwright/main/install.ps1 | iex
Both verify the release's SHA-256 checksums, install to your user directory (no admin needed) and can pin a version with DRAFTWRIGHT_VERSION.
New binaries: Linux ARM64 and Intel Mac. The Linux builds now need only glibc 2.17 (was 2.35), so they run on most distributions from the last decade.
CLI
--size,--max-sizeand--scalechoose the sheet and scale (scale accepts2,0.5or1:2).- Repeatable
--set PATH=VALUEsets any Spec value from the command line, for single drawings and packs. - Refusals print as a plain
error:line on stderr, with the choices when there are any. Successful results stay JSON on stdout. Exit codes are unchanged.
Python
Drawing.views()takescolour=(orcolor=) for shaded pictorials andbelow=for the view from below.Drawing.render(dpi=...)sets PNG resolution.
Faster planning: about 28% fewer instructions across our 68-part survey, with every plan identical to 0.6.0.
Dark viewers: every SVG sheet now has an opaque white background, so drawings stay readable in GitHub dark mode, chat apps and dark image viewers.