brokkr_kitbash: roll, aim and reach pose an attached part in place, solved in closed form (cut kit-roll-aim) #29

Merged
eureka merged 3 commits from nibu/kit-roll-aim into main 2026-12-02 03:53:33 +00:00

2026-12-02

Meta Vens
brokkr_kitbash: aim's floor matched to float32 scenes; reach takes the edge of its circle and refuses a socket on the pin
AIM_FLOOR 1.5e-9 was set against float64 rounding, but a scene's matrices and an action's fields are float32:
the pin's own direction, as the scene holds it or typed at 6 or 4 decimals, was aimed at and swung the part to
an arbitrary roll. The floor is 1e-3, the geometric mean of the 4 decimal reading (6.2e-5) and a direction
1 degree off the pin (0.0175).

reach takes a height up to REACH_EDGE (1e-5 m, HELD) past the top or bottom of the circle as the top or bottom,
so the range a refusal names (now 6 decimals) can be typed back; a socket on the pin, or a direction along it,
is refused instead of dividing by a zero swing. Half a turn is pinned as 180.

Soul's verdict cut-kit-roll-aim.s1: findings aim-floor-below-float32-noise and
reach-exact-edge-refused-and-unpinned; survivors S6, S7, S8.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 04:31:37 +01:00
Meta Vens
kitbash_pose.py: each metric read before its check, bounds by the margin rule; live result files
Bounds set from the shipped readings and nine mutants applied once each to a scratch copy (R1 atan2(A, B), R2 the
farther root, R3 roll without the seat, R4 no closures, R5 no aim floor, R6 left-handed roll_terms, R7 attach's
inline write kept, R8 the dot without its hypot, R9 sockets swapped in write_connection): every one fails a
unit test or a live check by name. kitbash, kitbash_assembly and kitbash_pose result files from Blender 5.3.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 03:55:39 +01:00
Meta Vens
brokkr_kitbash: roll, aim and reach pose an attached part in place, the roll solved in closed form
write_connection is the one writer of a connection (parent, seat, kit_socket, kit_parent_socket, kit_roll);
attach's inline write moves into it. roll states an attached part's roll where it hangs; aim and reach solve
it from core.roll_terms (d . p = A cos + B sin + C): aim_roll = atan2(B, A), reach_roll = atan2(B, A) +- acos,
the root nearer the current roll. Each reports closures as set_params does and never seats one.

PoseTests pin the solves against core.mate; tests/live/kitbash_pose.py exercises the three operators and their
refusals through run_intent. Cut kit-roll-aim (aetheria-release:cut_spec:cut-kit-roll-aim.r1).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 03:53:49 +01:00