← back to pin list

2a. .ai / SVG / PDF vector input

kerfmaster pin list · Big capabilities

recordmixedStates what the code does today. Auditable against the code — this is the only type that can go stale.

Content last changed 2026-08-03 — computed from the item itself, not typed.

Contract — Intake stage

This contract describes the code as it runs today.

takes customer-file

makes raw-geometry

fails if A Bézier flattened into line segments; a fit demanded tighter than the format itself carries; a tangent taken from the chord at a corner handle.

Contract last changed 2026-08-06 — computed, not typed. Dated separately from the text above, so neither date can speak for the other.

2 open questions block this pin

Built 2026-08-01. The PDF/.ai reader and the Bézier→arc fitter described here now exist and are measured — see item 2c for what was built, the verified numbers, and the resume point. SVG is still unwritten. The size/units blocker below is unchanged.

A modern .ai is a PDF (EAGLES.ai = %PDF-1.6, AI 25.2; MVT-ICONtest.ai = AI 29.1). SVG is plain XML with the same path ops plus a native A arc command we’d preserve like a DXF bulge. So one front-end reads all three.

The crux: Illustrator has no arc primitive — every circle/curve is cubic Bézier (MVT-ICONtest: a circle drawn as 4 Béziers). Generic converters flatten Béziers into hundreds of tiny lines — the exact ‘polylined curve’ we exist to undo. So the job is NOT ‘convert to DXF’; it’s extract the true Bézier paths and re-fit them into real G2/G3 arcs within tolerance. Ignore clip paths.

What a cut-ready file looks like

Refined from three examples:

So the guideline is: a cut-ready file is a clean, flattened, single-color silhouette with knockout holesfills are fine, even preferred, as long as they’re crisp closed shapes. We cut the fill outlines including interior holes. The real reject criterion is traced-raster art, NOT ‘has fills’.

Customer upload guidelines (documented in CLAUDE.md)

  1. Strokes only OR a clean flattened single-color silhouette — no traced rasters.
  2. No stroke color / thickness — sanity-check with Illustrator outline view (Cmd+Y).
  3. Every cut path closed; holes as knockouts.
  4. Outline/expand all text (Type → Create Outlines).
  5. No doubled/overlapping lines.

Open questions (need Aristide’s call before build)

Added 2026-07-24; samples EAGLES.ai, interactivegaragecover.svg, MVT-ICON.svg, MVT-ICONtest.ai.