Commit Graph

6 Commits

Author SHA1 Message Date
superGeometry 07dad071d3 Speed: a rebuild sends and draws only the bodies it changed. Every rebuild (each move of a cut or extrude drag too) sent every body's triangles from the geometry worker to the page, and the view rebuilt them all for the graphics card - 3.8 MB a move on the jet engine for one body changed (0.9 MB now). Meshes have a key: an unchanged one goes across as its key only, and the view keeps what it drew for it. Join / cut checks work out a body's volume, gaps and hair-thin faces once per shape (the target's volume was measured twice and the result's three times, and the body before the step was checked again on each drag move - slow on a freeform's curved faces)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 20:47:24 +02:00
superGeometry 7b96f2f0fe 3MF and STL as smooth as a print can show: round faces followed within 0.01 mm and a facet per 3° (the 3MF used the view's coarse mesh, so a slicer showed round faces as polygons). Test: tests/threemfmesh.test.ts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 22:55:45 +02:00
superGeometry 91a32c393f Second interface round from your list:
- A sketch shape (or flat face) tapped: Extrude's arrow as before, and beside it in the column Revolve, Sweep and Loft from the same shape — drag the arrow for Extrude, tap one of them for that tool (the card's "Revolve instead / Sweep instead" are gone)
- A freeform's face, edge or point picked: only what applies to it (Edit Freeform, Move/Rotate Body, Mirror, Patterns, Delete Body) — fillet, chamfer, offset face… were listed too
- Every list of what can be done with what's picked has its groups apart with a dim line (picking, moving / patterns, making, combining, construction, colour, delete)
- Cards: their own actions (Select all, Add detail…) in a row of their own inside the card — they shared the Cancel / Done row and were pushed out of it; the card's values, actions and Cancel / Done apart with a dim line
- Freeform: two facing faces picked → Symmetry puts the mirror midway between them; the symmetry plane is kept with the shape (there again, and shown, the next time it's edited), with the symmetry mark at its corner
- Freeform surface: points on its open border picked → Extend surface: a face beyond each border edge between them, outwards in the surface, as long as the edges; the new points are picked, ready to drag (tests/extendborder.test.ts)
- Construction planes carry a mark at a corner for how they were made: offset ⇡, midplane ⇹, 3 points ∴, on curve ∿, perpendicular ⊥, at an angle ∠, parallel ∥ (older projects: told from the name)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 13:30:29 +02:00
superGeometry 25c3b361e1 Thread tool: tap a round face (or a hole's rim, which is what a finger hits in a small hole) → Thread. A shank drawn at the nominal size gets an outside thread, a hole drawn at the tap-drill size an inside one; the pitch starts at the ISO coarse pitch and the panel says what that makes (M10 × 1.5 outside thread); left-hand as an option; editable from History. The kernel cuts an ISO 60° V groove swept along an exact helix (a line wound on a cylinder: fitted spline helices drift and fail past ~20 turns), stopping just short of both ends (a groove running out through an end face made OpenCascade cut nothing, or the whole rod), and checks the cut against the groove's exact volume, trying another start angle if OpenCascade trips on one. Tests: screw and nut, left hand, too-coarse pitch, flat face refused, and M3–M24 rods and nuts in both hands (40 cases)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 20:35:49 +02:00
superGeometry 1fd3a949c9 Arrows always follow the finger (exact point on the arrow's line under it, any zoom); fillets: never pushed straight through, put back or the edge left sharp with a note in History; phones: a line's next point follows the finger and is placed on lift, a pinch cancels it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 09:04:00 +02:00
superGeometry fd5ca47813 supergeometry.app
A free, open-source CAD modeler that runs in the browser on any device.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 01:58:43 +02:00