From 683cb3c1805c6b936f1efb57887eb06159e40197 Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Thu, 19 Mar 2026 18:52:07 -0400 Subject: [PATCH] docs: fix file format section in CLAUDE.md to match v2 nest format The documented entries (info.json, drawing-info.json, plate-info.json, plate-NNN) were from the old v1 format. Updated to reflect the actual v2 structure: nest.json, programs/program-N, and bestfits/bestfit-N. Co-Authored-By: Claude Opus 4.6 (1M context) --- CLAUDE.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 9ffef3f..86751db 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -84,11 +84,9 @@ The UI application with MDI interface. ## File Format Nest files (`.nest`, ZIP-based) use v2 JSON format: -- `info.json` — nest metadata and plate defaults -- `drawing-info.json` — drawing metadata (name, material, quantities, colors) -- `plate-info.json` — plate metadata (size, material, spacing) -- `program-NNN` — G-code text for each drawing's cut program -- `plate-NNN` — G-code text encoding part placements (G00 for position, G65 for sub-program call with rotation) +- `nest.json` — single JSON file containing all nest metadata: nest info (name, units, customer, dates, notes), plate defaults (size, thickness, quadrant, spacing, material, edge spacing), drawings array (id, name, color, quantity, priority, rotation constraints, material, source), and plates array (id, size, material, edge spacing, parts with drawingId/x/y/rotation) +- `programs/program-N` — G-code text for each drawing's cut program (N = drawing id) +- `bestfits/bestfit-N` — JSON array of best-fit pair evaluation results per drawing, keyed by plate size/spacing (optional, only present if best-fit data was computed) ## Tool Preferences