3 Commits

Author SHA1 Message Date
superGeometry 2433833eef A thread's clearance on a bolt with a head; a lifted spline split keeps its heights; printing a drawing from a phone; STEP files of several solids, tested (asked for: "ok do all you can" - of the list of what to test next: undo inside each tool, 3D splines beyond Sweep, picking with every tool, thread clearance on awkward bolts, STEP files of several bodies, Print / PDF of drawings).
- Thread clearance. A bolt with a head, cut from a block with a clearance: the hole's thread ran into the bolt's (0.027 off it, not the 0.2 asked). The thread put back on the grown body was measured from that body's own round face, whose centre and direction are the kernel's choice and differ from the bolt's: the turns started somewhere else. It is measured from the first thread's own point and axis now, over its own stretch. The grooves are filled back in by taking the threaded stretch out and putting a clean ring in (filling them one by one left edges the kernel could not grow). tests/threadclearance.test.ts, 13 checks: the plain bolt at 0.1, 0.2, 0.4; a headed bolt; its head chamfered after the thread; a rod cut by a threaded nut; clearance taken from the bolt, and from both - each the gap asked (0.1998 to 0.2000).
- A spline with points off the plane, split or trimmed: its pieces keep their heights (they fell flat on the plane). A loft along a lifted spline as its guide: tested. tests/spline3d.test.ts, 22 checks.
- Print / PDF of a drawing, of all drawings, and of the Technical Sheet: the page was put back the moment print() returned. On a phone it returns at once, before the preview has drawn anything - a blank page, or the app. It is put back when printing is over.
- tests/stepimport.test.ts, 12 checks: a STEP of four solids (two touching, one sunk in another) comes in as four bodies, each its size, sound; the same file in metres and in inches; Windows line ends; one then moved, one cut by another, one deleted; two files in one project; forty solids; a file cut short, not STEP, empty - said in plain words. Nothing to fix.
In the app: undo and redo inside Offset Face, Extrude, Fillet, Chamfer, Shell, Move/Rotate Face, Edge and Body, Scale, both patterns, Thread, Subtract, Revolve - each step back in turn, nothing to fix; every tool started from every kind of pick (216 starts): none failed to open, no errors; Print / PDF pressed with the print window held: the sheet (420 x 297) in the page until printing is over, then gone, twice in a row the same.
Tests: threadclearance 13, thread, clearance 32, spline3d 22, sketchtools, exports 25, projectlean 29, stepimport 12, drawing.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 17:29:38 +02:00
superGeometry aece06984b A sweep along a spline through space, looked at in a project built by hand: what was wrong with it, mended (asked for: "check ... and see how the sweep tool built the shape that was based on the new spline system").
The project: a spline of five points on an upright plane, each 22 to 31 mm up or down off it; a plane put on the curve at its end; a circle of radius 10 on that plane; the circle swept along the spline. The tube followed the curve through space and was sound, but lumpy, and 1.4 % short of its section times the curve's length. Two things:
- Plane on Curve went by the spline's shadow on its sketch's plane: it stood 25 mm off the curve and 22 degrees askew to it (the circle had been moved 25 across by hand to meet the curve). It goes by the curve where it is in space now: on it, square to it there. So does what is fitted to the view or isolated with a sketch in it.
- The curve bends tighter than the tube is thick: a radius of about 3 mm at its second point and 8 at its third, against a tube 10 from its middle. A body swept round such a bend folds over itself on the inside of it. That is the shape, not a fault of the build - and it is said now: a note on the sweep with both sizes ("The path bends tighter (a radius of about 3 mm) than the profile reaches from its middle (10 mm) ..."), for any path, flat or not.
Also: a point dragged a round number with the gimbal lands on it (163, not 162.99999957): the pull that keeps a drag near where it began is next to nothing now.
tests/spline3d.test.ts, 16 checks now: that path as drawn says its bend; with gentler rises and a rod of radius 3 on a plane square to the curve's end, the rod is as thick all the way (4,823 against 4,825, its section times its length) with nothing said. In the app: On Curve at Point on a lifted spline's end is at that end in space, its normal along the curve there. Sweep tests as before: doorhandle 13, drill 208 steps, bodyparity.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 11:41:05 +02:00
superGeometry d666e27dc8 A spline's points can leave the sketch's plane (asked for: "if I select a point of a spline line, and the move gimbal appears, I want to be able to move that point in 3 dimensions, not just 2").
- Each point of a spline has a height off the plane (z, one for each point; none: flat as before). The curve runs through those heights by the same rule as through their places, so it is as smooth up and down as it is across.
- Tap a spline, then one of its points: the pick is that point (it was the curve with the point), and the gimbal has its third arrow, off the plane. Dragged, the point goes up or down with it, in grid steps (Shift: free); the label says how far off the plane. Several points of a spline picked go together. The two in-plane arrows slide it as before, the gimbal staying up where the point is. Its card has Height, typed; several points: Flat on the plane. Seen straight on the arrow points at the eye, so the guide says to turn the view.
- Drawn, picked and its points tapped where it is in space, in the sketch and out of it.
- A sweep's path, a loft's guide or rail made of it follows it through space.
- In the plane it is its shadow: the shapes it closes, constraints, snapping, DXF and SVG. Moved, turned or mirrored in the sketch it keeps its heights; scaled, they scale; run the other way, they turn with it. A curve that follows a body's edge has no third arrow.
- Not done: a spline split or trimmed comes out flat.
- While at it: a point dragged a round number by the gimbal ended a hundred-thousandth short (39.99999 for 40): the pull that keeps a drag near where it began is a tenth of what it was.
tests/spline3d.test.ts, 13 checks: heights in step with the drawn curve and through its points; kept when moved, scaled by a scale, left by the solver; a round rod swept along a flat spline is a straight rod, along one lifted 30 it rises 30, is sound, and is as long as the curve through space. In the app: the third arrow dragged up 20 and down 15, undone and redone; Height typed; the lifted point tapped where it is drawn; the in-plane arrow with the gimbal staying up; two points together; no third arrow for a line's end or a mixed pick.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 11:22:13 +02:00