docs/kitbash.md: Rams and linkages: a zone's part is of a body its pin joins; the record is version 2; the rays held from inside
Clearance states the body rule and what it gives up (among the joined bodies' parts a whole-member zone still lets the axis in; a third body's plate is never zoned; a four-bar's eye is let near no coupler part). The record is version 2 and holds nothing of a cylinder's settle. Readings: the 29 inside points and the mutants' counts, and that overlapping closed pieces given as one shell are mis-signed (1,906 of 38,448) where piece by piece none are. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
parent
3c1344d776
commit
fd1f4ed2c2
1 changed files with 29 additions and 13 deletions
|
|
@ -944,7 +944,10 @@ body whose rest frame it turns with), and `touch`: for each member (`barrel`, `r
|
|||
bell crank's `rocker arm`), zones `(part, pin, radius, depth)`. Every member meets every part. A zone changes what
|
||||
the member's samples keep from one part, and only within `radius` of the axis of `pin`, measured across the hinge
|
||||
axis; the pin is one the member rides (the ram `a` and its eye, the rocker its pivot and `p`, the coupler `p` and
|
||||
`c`, the arm the pivot and `d`). Inside the zone a sample may come as near the part as `-depth`; beyond it the
|
||||
`c`, the arm the pivot and `d`), and the part is one of a body that pin joins: `a` the parent; the rocker's pivot
|
||||
the parent and the rocker; `p` the rocker and the coupler; `c` the coupler and the child; a direct ram's `b` the
|
||||
child; `d` the rocker (`JOINS`). A zone naming a part of any other body is refused by the record, whatever its
|
||||
radius and depth. Inside the zone a sample may come as near the part as `-depth`; beyond it the
|
||||
pair is checked like any other. Nothing is exempt by a name, by a length cut from a member's end, or by the
|
||||
member's own body: the barrel runs from its back end, the rod to the eye, a bar from pin to pin. Every body of the
|
||||
kind owns at least one part, or the gate refuses the record.
|
||||
|
|
@ -964,7 +967,9 @@ to pin: a bar's length between its pins, and for the barrel and the rod the base
|
|||
the centre the eye turns about, added. A `Mechanism` refuses a zone past that from its pins alone. Its depth is
|
||||
also no more than the member's eye on that pin (`Ram.eye`: `e_a` at the base, `e_b` at the rod's eye, `link_r` on
|
||||
a bar), which `from_record` and the gate refuse, so a world's answer is held to it as well. The record holds no
|
||||
plate widths, so the radius has no tighter bound than the length.
|
||||
plate widths, so the radius has no tighter bound than the length, and two zones of half a member's length about
|
||||
its two pins cover it whole. What the record does hold is which body a part turns with: a member is let near only
|
||||
what is pinned where it is pinned.
|
||||
|
||||
Between two samples of which either is in a zone the gate does not rely on the spacing. A distance changes by no
|
||||
more than the way between two points, so along a segment it is at least (g(a) + g(b) - length) / 2. Where that
|
||||
|
|
@ -975,7 +980,12 @@ samples' readings stand, so a burial is read to spacing / 128. This asks of the
|
|||
than the true distance.
|
||||
|
||||
What it gives up: inside a zone the gate holds only the member's axis `depth` from the part, not its surface a
|
||||
gap from it, so a link may graze the plate it scissors with anywhere within the stated radius. The members are
|
||||
gap from it, so a link may graze the plate it scissors with anywhere within the stated radius. Among the parts of
|
||||
the bodies a pin joins the gate still cannot tell a member's own plate from another: a zone over the whole member
|
||||
lets its axis `depth` into any of them. A part of a third body is never zoned, so a plate stacked on a pin from a
|
||||
body the pin does not join is refused where it stands; it is stated as a part of a body the pin joins. A four-bar's
|
||||
eye rides `d`, which joins the rocker alone, though it stands on `p`: the ram is let near the coupler's plates
|
||||
there by no zone. The members are
|
||||
round bars; a plate's flat sides are not modelled, which is why stacked plates need a zone at all. The proof
|
||||
between samples costs oracle calls: a depth stated with no slack over the burial (a bar's own plates at `link_r`)
|
||||
is halved to the floor along the whole zone. And it is along the axis at each checked angle; between two angles
|
||||
|
|
@ -996,20 +1006,20 @@ about R, and `d` about R for a bell crank, the eye standing at `a`'s place along
|
|||
least arm; a miss returns the tally by gate and the nearest miss. Clearance takes `world(m) -> (parts, touch,
|
||||
distance)`: a linkage's brackets and links are the candidate's own, so each candidate that reaches the gate is met
|
||||
with the parts its own pins place. What `world` returns is read as a record's: anything but the three, a part on
|
||||
no body of the kind, a zone that is not a part, a pin the member rides, a radius and a depth, or a zone wider or
|
||||
deeper than its member is refused.
|
||||
no body of the kind, a zone that is not a part, a pin the member rides, a radius and a depth, a zone of a body
|
||||
its pin does not join, or a zone wider or deeper than its member is refused.
|
||||
`swept` gives the ram's swept surface in any body's frame, for a recess.
|
||||
|
||||
### The record
|
||||
|
||||
`record` and `from_record` carry a mechanism as JSON: `schema` (`brokkr.ram`), `version` (1), `kind`, `hinge`,
|
||||
`pins`, `offsets`, `ram`, `parts`, `touch` (member -> zones, each `{part, pin, radius, depth}`), and `compliance`.
|
||||
It holds what is authored; barrel, closed length and link lengths are derived by the reader. `compliance` is
|
||||
reserved for a load-path ram's settle (stiffness, damping, travel); version 1 writes it null and solves none. A
|
||||
record of another schema or version (the integer 1: 1.0 and true are not it), with a key version 1 does not know or
|
||||
without one it does (at the top, in `ram`, `hinge`, `pins` or a zone), with a compliance block, or with a value
|
||||
that is not its field's (a finite number, the bore over 0, three numbers for a point), or with a zone wider or
|
||||
deeper than its member is refused whole, as a
|
||||
`record` and `from_record` carry a mechanism as JSON: `schema` (`brokkr.ram`), `version` (2), `kind`, `hinge`,
|
||||
`pins`, `offsets`, `ram`, `parts` and `touch` (member -> zones, each `{part, pin, radius, depth}`).
|
||||
It holds what is authored; barrel, closed length and link lengths are derived by the reader. It holds nothing of
|
||||
how a load-path cylinder settles: that is a slide joint's, in the joint's own record. A
|
||||
record of another schema or version (the integer 2: 2.0 and true are not it), with a key version 2 does not know or
|
||||
without one it does (at the top, in `ram`, `hinge`, `pins` or a zone), or with a value
|
||||
that is not its field's (a finite number, the bore over 0, three numbers for a point), or with a zone of a body
|
||||
its pin does not join, or wider or deeper than its member, is refused whole, as a
|
||||
`RamError` that names the field: a reader never reads past what it cannot solve. A `Ram` built by hand refuses the
|
||||
same numbers.
|
||||
|
||||
|
|
@ -1025,6 +1035,12 @@ for the side. One ray that runs through an edge or a vertex miscounts and signs
|
|||
clear of. `tests/fixtures/ram_rays.json` holds the ray count: the rocker plates as the joint library builds them
|
||||
and 24 points between the plates, each on the first ray short of an edge or a vertex. One ray signs all 24
|
||||
inside; three sign none. Three rays are not a proof: of 146 such points one ray missigned, two rays missigned 16.
|
||||
The same file holds 29 points inside the plates, where the gate's proof between samples needs the sign: the oracle
|
||||
as it is made reads each inside; two rays read 16 outside, one ray 10, the second ray set to the first 10, the
|
||||
second and third along x and y 6. Most stand where a side's two bars overlap, and the fixture gives the four bars
|
||||
as one shell: there the parity of a ray counts two skins, and three rays read 1,906 of 38,448 inside grid points
|
||||
outside. With each bar its own shell, as `Signed` takes a part's shells and as the live knee builds them, they
|
||||
read none outside: a part whose closed pieces overlap is given piece by piece.
|
||||
|
||||
| drive | reading |
|
||||
| --- | --- |
|
||||
|
|
|
|||
Loading…
Reference in a new issue