Skip to content

Add the parametric sketch workspace with multi-source tool bins#14

Open
jaak0b wants to merge 70 commits into
masterfrom
sketch-workspace
Open

Add the parametric sketch workspace with multi-source tool bins#14
jaak0b wants to merge 70 commits into
masterfrom
sketch-workspace

Conversation

@jaak0b

@jaak0b jaak0b commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Summary

A parametric 2D sketch workspace so tool outlines can be drawn instead of photographed, integrated into the existing tool bin pipeline, plus the data-model rework it motivated.

  • Sketch editor on the PlaneGCS constraint solver (WASM, LGPL notice in the README, wasm ships as a separate asset): lines, arcs, tangent arcs, circles, rectangles, slots, mirror lines, construction geometry, undo/redo, CAD constraint glyphs.
  • Fusion-style dimensions: place-at-label flow with witness lines and angle arcs, length/distance/point-line/radius/diameter/angle kinds, horizontal/vertical/aligned flavors, angle quadrant picking, driven (reference) dimensions with an over-constrain keep-as-reference offer.
  • Region extraction: planar arrangement (analytic intersections, DCEL face traversal) shades every enclosed area for picking, so overlapping geometry (a line across a circle) yields usable outlines.
  • Multi-part tools: several picked regions become one rigid tool (alignment-pin patterns keep their constrained spacing); overlapping pockets across tools now merge with a non-blocking warning.
  • Multi-source bins: per-tool origin (photo trace, sketch, primitive), trace sessions per photo sheet, several sheets plus sketches in one bin, source-card list stage; plan file v11 with v10/legacy migrations.
  • Fusion-canvas reference photos: multiple images, manipulator handles, two-click calibrate (pure uniform scale), per-image opacity.

Verification

  • 1417 unit tests and the production build green (CI runs the same).
  • Every task and each feature wave passed an independent review pass; all findings fixed and re-reviewed.
  • Owner checks still owed before merge: browser pass over the new UI and an Orca Slicer check of an exported multi-part bin.

🤖 Generated with Claude Code

jaak0b and others added 30 commits July 24, 2026 23:32
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…tribution.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…lay.

Co-Authored-By: Claude <noreply@anthropic.com>
…nstraints.

Co-Authored-By: Claude <noreply@anthropic.com>
…ecovery.

Co-Authored-By: Claude <noreply@anthropic.com>
…dd drag-to-merge coincident points.

Co-Authored-By: Claude <noreply@anthropic.com>
…shold.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
… still work.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…te the saved plan.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
jaak0b and others added 30 commits July 25, 2026 05:05
… tools to the sketch store.

Co-Authored-By: Claude <noreply@anthropic.com>
…e length/angle readout on the sketch canvas.

Co-Authored-By: Claude <noreply@anthropic.com>
…space, fix the mirror hint and Escape chain-clearing, and commit dimension edits on blur.

Co-Authored-By: Claude <noreply@anthropic.com>
…w follow-ups.

Co-Authored-By: Claude <noreply@anthropic.com>
… the radius/diameter toggle, slot width cancel, region selection staleness, grouped undo steps, and startNewSketch resets.

Co-Authored-By: Claude <noreply@anthropic.com>
… bigger constraint glyphs with a delete badge, and auto-return to select after a tool completes.

Co-Authored-By: Claude <noreply@anthropic.com>
…entry.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…e flow with witness-line graphics and draggable labels.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…-constrain choice.

Co-Authored-By: Claude <noreply@anthropic.com>
…sketch dimensions.

Co-Authored-By: Claude <noreply@anthropic.com>
… while dimensioning.

Co-Authored-By: Claude <noreply@anthropic.com>
…ared vertex.

Co-Authored-By: Claude <noreply@anthropic.com>
… pocket overlaps.

Co-Authored-By: Claude <noreply@anthropic.com>
…tch tool UI.

Co-Authored-By: Claude <noreply@anthropic.com>
…bugs.

Co-Authored-By: Claude <noreply@anthropic.com>
…nsion label placement lands.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…with a manipulator, exact-entry fields and pure-scale calibration.

Co-Authored-By: Claude <noreply@anthropic.com>
…ce canvas.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…ng entities stay selectable.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
… hint.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant