kerfkit

Laser cutting file checker and fixer: validate and repair SVG/DXF for laser cutters (open paths, double lines, tiny segments, kerf and slot fit), generate slot gauges and test sheets. CLI, Python, MCP server and Claude plugin.

GitHubReleases · MIT licence

kerfkit checking, fixing and re-checking a laser SVG in a terminal

Install

pip install git+https://github.com/junixlabs/kerfkit
kerfkit check panel.svg --thickness 3 --kerf 0.15
kerfkit fix panel.svg -o panel.fixed.svg
Before: a panel with an open hole, a double line, a stray node and pixel units
Before: 4 failures found
After kerfkit fix: millimetre units, red hairline cuts, black engrave
After kerfkit fix: pass

Use it from Claude

/plugin marketplace add junixlabs/kerfkit
/plugin install kerfkit@junixlabs

Or add the MCP server to any client: uvx --with ezdxf --from git+https://github.com/junixlabs/kerfkit kerfkit-mcp

FAQ

How do I check an SVG before laser cutting?
kerfkit check file.svg reports units, layers, open paths, double lines, stray nodes, thin bridges, small holes and bed fit, each with its location in mm.
How do I find my laser's kerf?
Cut kerfkit testsheet -o test.svg --thickness 3, measure the 20 mm square hole and the square that drops out, then kerfkit kerf square HOLE SQUARE.
Why are my slots too loose?
The slot was drawn at the nominal thickness and the beam widened it by the kerf, or the sheet is thinner than its label. Draw slots at measured thickness − kerf + clearance: kerfkit slot --thickness 2.9 --kerf 0.15.
Why does my SVG import at the wrong size?
Its size is in pixels or missing, and apps disagree on 72 vs 96 pixels per inch. kerfkit fix writes real millimetres.

Made by MocMakes

kerfkit is the open-source core of the checks behind MocMakes. Free browser tools on the same logic: MocMakes Fit (slot fit, box generator, jig board generator). Checked files to cut: free laser files.