brokkr_kitbash follows: a driven joint derived from its driver, by ratio or by closing a loop; joints v2 (cut kit-follows-2) #44
Loading…
Reference in a new issue
No description provided.
Delete branch "nibu/kit-follows-2"
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-follows-2.r1(base main396f428).A driven connection's value is derived from its driver's, by a ratio or by closing a two-unknown planar loop.
core.close_loop: Newton on a closure's in-plane error over two joints in series, analytic Jacobian. Refuses a loop that is not planar, a dead centre, no convergence, an axial miss.LIMIT_SLACKmoves to its measured midpoint, 2.4e-7.follows(kit_follows,kit_follows_driver).write_connectionschecks every entry before writing any;set_paramsseats through it (its direct seat loop is deleted), so a hand-edited out-of-limit roll or stray slide is refused with nothing changed.joint_recordreads null for whatrecord_refusalwould refuse.brokkr_kitbash.followstates and clears a ratio or a loop.pose()refuses a follower and derives a driver's followers in the driver's own action: ratios, then loops in dependency order, the driver stepped so a loop keeps its assembly branch.brokkr.jointsversion 2:drivenrows,unlimited,after/nextpaging, the root's own row.Verification (Starfire, Windows, Python 3.13; Blender 5.3 with private user directories):
python -B -m unittest discover -s surfaces/blender/tests: 670 tests, OK (20 skipped), 188 s.kitbash_follows65 checks 49.6 s,kitbash_pose95 checks 19.6 s,kitbash_assembly154 checks 45.1 s,kitbash_hose75 checks 67.3 s,kitbash99 checks 2.9 s.FollowTests; the rest intests/live/kitbash_follows.py. Also T1 (tolerance at HELD), S1 to S3 (LIMIT_SLACK at 1.9e-8, 2e-6, 2.9e-6) and R1 (ratio from the driver's old value): all died.Where this departs from the spec's text (each in the cut report):
rod_end_back. Two arms from the barrel's pin cannot face the rod's own pin: a strut's two pins face one way.🤖 Generated with Claude Code
Which joints are a loop's drivers is read in one place, loop_drivers. one_driver refuses a write by it; follows_report and the joints report read the scene as it stands by it, so a second driver no action wrote (limits widened by hand, a saved file) reads holds false on both followers, naming both drivers, and is listed as {loop, drivers} in manyDrivers beside unlimited and rigid. Finding two-driver-loop-reported-nowhere. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>