brokkr_kitbash.ram: a ram and linkage solver across a hinge: direct, four-bar, bell crank (cut kit-ram-core) #34
Loading…
Reference in a new issue
No description provided.
Delete branch "nibu/kit-ram-core"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cut
aetheria-release:cut_spec:cut-kit-ram-core.r1.brokkr_kitbash/ram.py(numpy and the standard library, standalone) seats and checks a ram across one hinge: a direct ram, a four-bar (the excavator bucket linkage) and a bell crank. No action calls it in this PR; nothing in main changes behaviour.pose,length,extension: pure functions of the mechanism record and the hinge angle. The linkage loop is solved in closed form on the rest pose's branch; rates (dphi/dtheta, dL/dtheta) are closed form.fit: gates in order: assembly, stroke, toggle and arm, coupler pin load, clearance. A refusal is aRamErrornaming kind, gate, angle or pin. Transmission angles are reported, not gated.clearance: a distance oracledistance(body, points), every member carried into every body's rest frame but its own; need = radius + gap + spacing / 2.search,record/from_record,swept.What the tests show (tests/test_ram.py, 31 tests, about 2.5 s)
For the reviewer
tests/test_kitbash.py: one line, the package's pinned file list admitsram.py. PRs 32 and 33 edit the same line; whichever merges later takes all the names.docs/kitbash.md: one hunk, a new section before "The actions".🤖 Generated with Claude Code
🤖 Generated with Claude Code
c19a12403ftoe1682c34117dd1de35feto941e146bc6