Skip to content

kerfkit 0.1.0

Choose a tag to compare

@junixlabs junixlabs released this 04 Dec 09:24
· 11 commits to main since this release

First public release of kerfkit: check, fix and fit laser cutting files before they waste a sheet.

kerfkit check, fix and re-check

What's in it

  • kerfkit check: 15 checks on SVG and DXF: units (the 72 vs 96 DPI trap), colour to layer mapping, live text, stray nodes, zero-length and tiny segments, open paths (slits and holding bridges told apart), double and overlapping cut lines, self-intersections, islands, minimum bridge width, minimum hole, bed fit, slot width against your thickness and kerf, finger depth. Locations in mm, JSON output, exit code 1 on failure.
  • kerfkit fix: the repairs that have one right answer: real millimetres, zero-length segments and stray nodes removed, colours mapped to cut/score/engrave, fill-only shapes to cut outlines, double cuts merged, gaps up to 0.2 mm closed, optional kerf compensation. Bridges, holes and slot widths are never changed.
  • kerfkit slot / kerfkit kerf: draw slot = thickness − kerf + clearance; kerf from a square hole and its drop-out, a part, a hole, a comb or a slot gauge.
  • kerfkit refit: redraws closed rectangular slots for your sheet and kerf.
  • kerfkit gauge / kerfkit testsheet: a slot gauge with key and a 115 × 47 mm test sheet with a kerf square.
  • kerfkit-mcp: a stdio MCP server with seven tools, no extra dependencies.
  • Claude Code plugin + skill: /plugin marketplace add junixlabs/kerfkit then /plugin install kerfkit@junixlabs.

Install

pip install git+https://github.com/junixlabs/kerfkit@v0.1.0
# or, for MCP clients
uvx --with ezdxf --from git+https://github.com/junixlabs/kerfkit@v0.1.0 kerfkit-mcp

Known limits

SVG out only (DXF is read, not written). refit moves closed rectangular slots only; edge notches, tabs and finger joints are reported, not moved. fix writes a new flattened SVG; groups and layer names are not kept. These are geometry checks, not a test cut: cut the test sheet first.

Next: jig board generator and batch names from CSV (v0.2), DXF out and LightBurn export (v0.3).

Made by MocMakes. Free browser tools on the same logic: MocMakes Fit.