Deterministically generate a manufacturing-friendly DXF from a small JSON spec (center-origin, explicit units). Also emits an SVG preview.
1) Convert prompt → JSON (see references/spec_schema.md).
2) Validate:
python3 scripts/create_dxf.py validate spec.json
3) Render:
python3 scripts/create_dxf.py render spec.json --outdir out
Outputs:
out/.dxf out/.svg LWPOLYLINE outer profile + CIRCLE holes.CUT_OUTER (outer perimeter)CUT_INNER (holes/slots)NOTES (optional)scripts/create_dxf.pyreferences/spec_schema.mdreferences/test_prompts.md共 1 个版本