Files
supergeometry.app/tests
superGeometry 7bac6e1855 Assemblies, a first version: joints between the bodies, dragged by them, followed, pulled apart (asked for: "Can we work now on assemblies? ... Can we develop a system that its in the same theme with the rest of the app and its intuitive and easy to assemble? people build the models with the parts already in place so maybe thats a good start", then, to joints and dragging, linked motion and the exploded view, a pose that goes back to where it was modelled, and no physics: "ok do what you recommend and well start from there").
More > BIM > Assemblies (it was greyed out, "soon"), marked as still being tried out.

- Nothing is put in place: the bodies are where they were modelled. A joint only says how two of them move. Add joint, a face tapped on each of two bodies, and the kind is read off the faces as they stand: on one line (two round faces on one axis, two flat faces one above the other) a Hinge - a Screw of the thread's pitch when one of the two bodies is threaded; two flat faces side by side, a Slide along the first's normal; anything else, Fixed. The Type can be changed. Two faces picked on two bodies have Joint among their tools, which opens Assemblies with the joint made.
- A body dragged moves the way its joint lets it: round the joint's line (by where the pointer is across it, turn after turn; seen from the side, by how far the grabbed point went round), along it, or both at once on a screw. Its Angle or Distance can be typed. Limits keep it between two values. Flip turns the line round. A body held fast to another moves with that one's joint.
- Follows: a joint goes with another by a Ratio (a gear: minus the ratio of the teeth); dragging either moves both.
- Explode: a slider that pushes each body off its neighbour along their joint's line (a fixed joint: from middle to middle).
- Stands still: which body doesn't move (else the first of each group of joined bodies).
- Moving is a pose, not a change to the model: what is drawn of each body is put through its move, nothing is made again. Home, or leaving Assemblies, has every body where it was modelled. Joints are kept in the project (and its .super file), undone and redone like any change; their line follows the faces they were picked by when the model changes.

Not in it: weight, forces, bodies stopping against each other; a ring of joints (its last joint is left out); the pose in exports and drawings; parts from another project put in place by their faces.

A flat face's middle, for a joint's line, is its outline's (the middle of the box round it): a nut's top is a ring whose hole the thread runs out of to one side, its centre of area a quarter of a millimetre off the nut's line - the first try made a Slide of the bolt and nut for that.

tests/joints.test.ts, 26 checks: each kind of joint, limits, which body stands, a chain of two hinges, a ring, a joint following another, exploded, what two picks make. In the app, on the tutorial's M10 bolt and nut: the head's top and the nut's top tapped - a Screw of pitch 1.5; the nut dragged by its side - turned 18.3 degrees and up 0.076 mm; 720 typed - up 3 mm, the same way round; limits 0 to 360 - held at 360; Home; Explode at 60% - the nut off the end of the bolt; Joint from two picked faces; left - the nut home, the joint kept; undone - the joint gone. Not tried: the phone's layout, a touch drag, Follows through the app (its sums are tested).

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