brokkr_kitbash joint records: DOF from the socket type, limits, slide, the joints report; hose reads its range from the pin (cut kit-joint-records) #39
Loading…
Reference in a new issue
No description provided.
Delete branch "nibu/kit-joint-records"
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-joint-records.r1, rebased on main2864e9f(after kit-freeze, PR 37).What changes
dof(revolute|prismatic; absent is rigid).pivotis revolute inmechanicalandframe;mechanicalgains the prismaticslidetype and two parts cut from the actuator at its gland,ram_barrelandram_rod(slide 0 is closed, the slide is the extension).core.mateandcore.residualtake a slide:S_parent @ T(0, 0, slide) @ Rz(roll) @ FLIP @ inv(S_child).core.withinis the one rule for a value inside limits;aim_rollandreach_rolltake limits. Two kits mate a type only when match and dof agree.kit_slide,kit_min,kit_max,kit_mechanism,kit_compliance.write_connectionis its one writer and checks limits before it writes;detachclears it.brokkr_kitbash.joint,.slideand.joints(thebrokkr.jointsv1 report: axis, origin and order derived, never stored).joint.range. A crossed pin is a revolute connection and its roll range is that connection's limits; a pin without limits and a slide between the ends are refused.Structural delta: 14 files, +1513 / -137 (the spec estimated +620 / -30; 478 of the added lines are regenerated live result files, 168 the pose live test). No dependency, target or process added. Formats added:
socketTypes[..].dof, five connection properties,brokkr.jointsv1. Format removed: hosejoint.range.Proof (build host and target: this Windows workstation, Python 3.13 and Blender 5.3 with private user directories)
python -B -m unittest discover -s surfaces/blender/tests: 620 tests OK (20 skipped), on the rebased tree.kitbash_pose95 checks 17.3 s,kitbash_hose75 checks 56.5 s,kitbash_assembly154 checks 42.5 s,kitbash99 checks 3.4 s.test_a_slide_stands_the_child_along_the_parent_socket_z,test_a_rod_in_its_barrel_is_the_actuator_at_that_extensionand the live slide checks; J2test_within_is_the_value_s_representative_inside_the_limits; J3test_aim_inside_limits_takes_the_best_roll_they_hold; J4test_reach_inside_limits_takes_a_root_they_hold; J5 the live refusals (scene changed); J6test_two_kits_mate_a_type_only_when_its_dof_agrees; J7 the live parent-joint check; J8 the live min/max check; J9kitbash_hose's pin-with-no-limits refusal; J10 the live detach check; J11 (added: joints rows in the world's frame) the live joint frame bound.Departures from the spec, for Soul
set_paramsreseats throughseat()with the slide passed, as before, not throughwrite_connection: it writes no connection property, and routing it through the limits check would refuse a rebuild after the mesh is written.core.LIMIT_SLACK): an action's roll and slide are float32 fields, so a value typed as an end of its own limits would otherwise be refused."range":kitbash_hose.pykeeps one, the request that proves a joint stating its own range is refused by shape. Patternkit_axis|...: present intest_kitbash.pyonly as the ownership pattern and its planted text.🤖 Generated with Claude Code
🤖 Generated with Claude Code