Create CNC Cut Files with Claude¶
| Category | Creative & Real-World AI Builds |
| Status | ๐ก Partially completed |
| Repo | nextwork-create-cnc-cut-files-with-claude |
| Original NextWork guide | nextwork.ai |
Learning project
Practice work following a NextWork guide, separate from my production projects.
๐ NextWork learning project. This is a practice project I built while working through NextWork's Create CNC Cut Files with Claude guide. It is part of my Learning portfolio and is fully separate from my production projects.
Category: Learning โบ Creative & Real-World AI Builds
Status: ๐ก Partial
Overview¶
This is a flat-pack side table (two slotted legs that cross, plus a round top) described by parameters in inches. It's laid out on one 48 ร 96 in sheet and exported as SVG and DXF for a shop quote. A small coupon lets the shop compare tight, target, and loose slot fits before cutting the full table.
Summary¶
A parametric side table exports full-scale SVG and DXF quote drafts. Every part is checked to fit one 48 ร 96 in sheet, and there's a parts list and the tight/target/loose fit coupon. 4 tests pass. The Claude-from-reference-image step isn't done.
The checks behind this are in docs/verification.txt.
Skills & tools¶
CNC, DXF/SVG, Parametric design, Python, pytest
What I built¶
table.py: parts, sheet nesting, fit report, SVG/DXF writers (LWPOLYLINE on a CUT layer, inches), parts list, and coupon.docs/table.svg,docs/table.dxf,docs/fit-coupon.dxf,docs/quote.json: the generated drafts.QUOTE-REQUEST.md: what to ask the shop to confirm.test_table.py: 4 tests.
How to run¶
pip install pytest
python table.py # writes table.svg, table.dxf, fit-coupon.dxf, quote.json
pytest -q
Verification¶
I ran the verification command on 2026-12-02. The full output is in docs/verification.txt.
python3 table.py && mkdir -p docs && cp table.svg table.dxf fit-coupon.dxf quote.json docs/ && PATH=/workspace/nextwork-portfolio/.venv/bin:$PATH python -m pytest -q -p no:cacheprovider
What isn't done, and why¶
The guide has Claude turn a furniture reference photo into the design and a rotatable 3D preview, and produce a three-picture assembly guide. I used no Claude account, so the silhouette is a simple parametric cross-leg table. There's no 3D preview or pictures, and no shop was contacted.
Original project: https://nextwork.ai/projects/7e626517-fd2a-4dee-8eeb-e4d4ce40604e ยท Part of my NextWork Learning portfolio (hub).
Verification output¶
From docs/verification.txt:
$ python3 table.py && mkdir -p docs && cp table.svg table.dxf fit-coupon.dxf quote.json docs/ && PATH=/workspace/nextwork-portfolio/.venv/bin:$PATH python -m pytest -q -p no:cacheprovider
[
{
"part": "leg_A (slot from top)",
"inside_sheet": true,
"bbox_in": [
16.0,
22.0
]
},
{
"part": "leg_B (slot from bottom)",
"inside_sheet": true,
"bbox_in": [
16.0,
22.0
]
},
{
"part": "top (round)",
"inside_sheet": true,
"bbox_in": [
20.0,
20.0
]
}
]
.... [100%]
4 passed in 0.02s
[exit code 0]