create-dxf
Create RFQ-ready 2D DXF (and optional SVG preview) files from a strict, validated JSON spec derived from a natural-language design prompt. Use for sheet/plate parts (waterjet/laser/router) like mounti
SKILL.mdai-agent-skills/22-clawhub-skills/create-dxf/SKILL.md
GitHubcreate-dxf
Deterministically generate a manufacturing-friendly DXF from a small JSON spec (center-origin, explicit units). Also emits an SVG preview.
Quick start
- Convert prompt → JSON (see
references/spec_schema.md). - Validate:
python3 scripts/create_dxf.py validate spec.json
- Render:
python3 scripts/create_dxf.py render spec.json --outdir out
Outputs:
out/<name>.dxfout/<name>.svg
Notes
- DXF uses simple entities for compatibility: closed
LWPOLYLINEouter profile +CIRCLEholes. - Default layers are manufacturing-oriented:
CUT_OUTER(outer perimeter)CUT_INNER(holes/slots)NOTES(optional)
Resources
scripts/create_dxf.pyreferences/spec_schema.mdreferences/test_prompts.md