Files
supergeometry.app/tests
superGeometry 4f93cfbf83 Undo inside a tool; a thread cut with clearance; the phone's sketch line in two rows; undo / redo the bar's height; a sketch's steps in History pick what they made (asked for, six points: "when I want to subtract a thread and I put clearance, it always fails ... on mobile, when I hit sketch ... I have to scroll right in a box that is only a button wide. Maybe you can make that option window 2 buttons tall? ... in sketch, if I close a shape, it should automatically exit the line type ... the undo and redo buttons should be the same as the ones on the bottom bar. Same bar height ... in history, if I make changes in a sketch, I want those changes to be selectable from that history action so I can edit them ... when I ... select a vertex and I move it around, and I hit undo, that undo should change the last modification, not go back to the extruding action ... I want full history control").
- Undo. With a tool open (Move Vertex, Move Edge or Face, Extrude, Fillet, Move/Rotate, any of them), Undo closed the tool - all of what was done in it gone - and then took back the step before it as well. Each change made in an open tool is a step of its own now (a drag of its handle, a value typed, an option, something more picked): Undo takes the last one back, Redo puts it back, and the handles go with them. With nothing left to take back in the tool, Undo closes it; the next is the project's.
- Thread and clearance. The kernel cannot grow a thread's helical faces, so Subtract with a clearance round a threaded body failed every time. Such a body is grown another way: its grooves filled back in (what it was before its thread), that grown, and the same thread cut on it again - over the same stretch, from the same start, its V that much less deep so its sides stand the clearance off the first thread's sides (out by the clearance alone they stood half of it). tests/threadclearance.test.ts, 9 checks: an M10 bolt through a block, clearances 0.1, 0.2 and 0.4 - cut, sound, the bolt untouched, and the hole exactly that far from the bolt at its nearest (0.0999, 0.1998, 0.3996).
- A phone held upright, in a sketch with a tool's own parts on the line (Line on, a point placed): two rows of buttons, a picture over its name each, all in view. It was one row to slide, a button and a half wide.
- Undo and redo are the bar's height on every screen (49 to 61; they were 52, 48 on a phone), and sit on its line.
- History: each step listed under a sketch remembers the curves it made or changed. Tapped, the sketch opens with them picked, their sizes on the line to change.
- Closing a shape: looked at, and already so - the drawing tool is put down and the sketch stays open (line, rectangle, circle, polygon, ellipse, by touch).
In the app: a corner dragged three times with its gimbal, then Undo, Undo, Redo, Undo, Undo (each step back in turn, the gimbal with it), Undo again (the tool closes), Done after another drag and Undo (that step only); a rectangle and two circles drawn, their steps tapped in History (two circles picked; the rectangle picked and its width typed); the sketch line at 390 wide in two rows; undo against the line at four sizes.
Tests: threadclearance 9, clearance 32, thread 15, sketchtools, constraints, projectlean, exports as before.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 16:14:55 +02:00
..
2026-11-05 01:58:43 +02:00
2026-11-21 01:39:04 +02:00