brokkr_kitbash.ram: a ram and linkage solver across a hinge: direct, four-bar, bell crank (cut kit-ram-core) #34

Merged
eureka merged 14 commits from nibu/kit-ram-core into main 2026-12-02 21:04:28 +00:00

2026-12-02

Meta Vens
brokkr_kitbash.ram: a zone is no wider or deeper than its member; between samples in a zone the axis is proved, not sampled; the signed mesh oracle
A zone's radius and depth are refused past the member's pin-to-pin length (by the pins alone) and its depth past
the member's eye on that pin (Ram.eye; at the gate and in from_record, so a world's answer too). Between samples
of which either is in a zone the segment is halved until the readings at its ends prove it holds -depth; at the
floor a part the axis is held outside reads as touched. Signed, three rays by majority, moves here from the
live test.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 20:59:27 +01:00
Meta Vens
2026-12-02 20:33:26 +01:00
Meta Vens
brokkr_kitbash.ram: clearance by parts and what a member may touch; a signed oracle; the barrel derived; a versioned record
The record names parts (part -> body) and touch (member -> parts it may touch): the allowed-collision pairs are
skipped whole and every other member-part pair is checked. The end cuts (e_a, 0.4 e_b, 1.5 link_r) and the
own-body exemption are gone; every body owns a part or the gate refuses. Distances are signed, capped outside
only; nan is refused. search takes world(m) -> (parts, touch, distance), so a candidate's own brackets and
links are its parts; a candidate's eye stands at a's place along the axis. barrel_length derives the barrel;
record holds nothing derived, carries schema, version and a reserved compliance block, and from_record refuses
another version, an unknown key or a compliance block whole. Gate refusals name the angle and the pin.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 20:33:26 +01:00
Meta Vens
tests/test_ram: hand cases, loop closure, rates, the R-3 deep knee, the third body, the bell crank clear of every body
test_kitbash's package file list admits ram.py, which puts it under the package's negative patterns.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 20:33:26 +01:00
Meta Vens
brokkr_kitbash.ram: a ram and linkage solver across a hinge (direct, four_bar, bell_crank)
Every pose quantity is a pure function of the record and the hinge angle; rates are closed form; clearance is a
capped distance oracle met in every body's rest frame (cut kit-ram-core).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 20:33:18 +01:00