brokkr_rig: rig a fused generated mesh for spring-bone tendrils (cut whale-rig-builder) #23

Merged
eureka merged 4 commits from nibu/whale-rig-builder into main 2026-12-01 08:19:45 +00:00
Owner

Executes aetheria-fauna:cut_spec:cut-whale-rig-builder.r1 (base 82196e5, range 82196e5..62e7897).

brokkr_rig, a host add-on beside brokkr_mesh_polish: brokkr_rig.body, .tendrils, .colliders, plus a glTF2ExportUserExtension that writes VRMC_springBone through Brokkr's unchanged exportGltf. It imports the polish package's operator base and arithmetic; cut_parts' root formula moved into core.boundary_root. No copy of the runtime's refusals, no brokkr_bridge import, no second exporter (negative patterns pinned by a test).

Proof:

  • python -m unittest discover -s surfaces/blender/tests: 417 tests OK (14 new in test_rig.py; two mutants checked to fail them).
  • tests/live/rig.py (Blender 5.3, private user dirs): 25 checks, all ok; rig.result.json is that run.
  • Acceptance, Aetheria SpringRigVerify.VerifyGlb at 195e11c9c (branch nibu/whale-rig-glb-check): PASS on the live test's GLB (bones 57, bodies 7, chains 5, spring joints 50, colliders 7) and on the rigged leviathan (bones 424, bodies 12, chains 75, spring joints 412, colliders 12).
  • Leviathan (Asset Sources/organic spaceship 3d model.glb, copy), tau/band/dilate .04: 12 body bones (8 spine, jaw, two sacs, a fin), 75 chains, 412 spring bones, 67 rigid branches, 32 veins folded, 27 shells attached (1588 vertices unreached), 12 colliders (8 capsules, 4 spheres, 10 shrunk).

Spec gaps decided here, for review: the implicit spine part competing with seed parts in grow_parts; fold test on the tree's farthest vertex; weight ramp from bone k-1 starting at joint k; ring parent by the shortest-path predecessor; tendrils rerun fills the body weights of former tendril vertices from the nearest body vertex.

Fix batch for Soul s1 (range now 82196e5..HEAD): reruns restore the body weights kept on the mesh (round trip tested exactly); body on its own armature clears chain bones; spine seed only on thick triangles; collider shrinks and a chain-share warning in receipts; seven surviving mutants now killed; VerifyGlb PASS again on both GLBs (bones 57/424, chains 5/75, joints 50/412, colliders 7/12).

Fix batch for Soul s2 (head 804863c): tendrils on a mesh with no thin part reports 0 chains instead of raising (the crash was an empty ring index; also the shape-diameter ray reach was half the longest side, so a body wider than that read thin: it is the longest side now, leviathan counts unchanged: 75 chains, 412 joints); gauges, spine seed and shrink fraction moved into core and pinned; five mutants killed; stale colliders and the no-thin-part mesh pinned live. The hull warning's limit (submarine, many small plate chains) is documented. VerifyGlb PASS again (57/424 bones, 5/75 chains).

🤖 Generated with Claude Code

Executes aetheria-fauna:cut_spec:cut-whale-rig-builder.r1 (base 82196e5, range 82196e5..62e7897). `brokkr_rig`, a host add-on beside `brokkr_mesh_polish`: `brokkr_rig.body`, `.tendrils`, `.colliders`, plus a `glTF2ExportUserExtension` that writes `VRMC_springBone` through Brokkr's unchanged `exportGltf`. It imports the polish package's operator base and arithmetic; `cut_parts`' root formula moved into `core.boundary_root`. No copy of the runtime's refusals, no `brokkr_bridge` import, no second exporter (negative patterns pinned by a test). Proof: - `python -m unittest discover -s surfaces/blender/tests`: 417 tests OK (14 new in test_rig.py; two mutants checked to fail them). - `tests/live/rig.py` (Blender 5.3, private user dirs): 25 checks, all ok; `rig.result.json` is that run. - Acceptance, Aetheria `SpringRigVerify.VerifyGlb` at 195e11c9c (branch nibu/whale-rig-glb-check): PASS on the live test's GLB (bones 57, bodies 7, chains 5, spring joints 50, colliders 7) and on the rigged leviathan (bones 424, bodies 12, chains 75, spring joints 412, colliders 12). - Leviathan (`Asset Sources/organic spaceship 3d model.glb`, copy), tau/band/dilate .04: 12 body bones (8 spine, jaw, two sacs, a fin), 75 chains, 412 spring bones, 67 rigid branches, 32 veins folded, 27 shells attached (1588 vertices unreached), 12 colliders (8 capsules, 4 spheres, 10 shrunk). Spec gaps decided here, for review: the implicit `spine` part competing with seed parts in `grow_parts`; fold test on the tree's farthest vertex; weight ramp from bone k-1 starting at joint k; ring parent by the shortest-path predecessor; `tendrils` rerun fills the body weights of former tendril vertices from the nearest body vertex. Fix batch for Soul s1 (range now 82196e5..HEAD): reruns restore the body weights kept on the mesh (round trip tested exactly); body on its own armature clears chain bones; spine seed only on thick triangles; collider shrinks and a chain-share warning in receipts; seven surviving mutants now killed; VerifyGlb PASS again on both GLBs (bones 57/424, chains 5/75, joints 50/412, colliders 7/12). Fix batch for Soul s2 (head 804863c): tendrils on a mesh with no thin part reports 0 chains instead of raising (the crash was an empty ring index; also the shape-diameter ray reach was half the longest side, so a body wider than that read thin: it is the longest side now, leviathan counts unchanged: 75 chains, 412 joints); gauges, spine seed and shrink fraction moved into core and pinned; five mutants killed; stale colliders and the no-thin-part mesh pinned live. The hull warning's limit (submarine, many small plate chains) is documented. VerifyGlb PASS again (57/424 bones, 5/75 chains). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Rigs a fused generated mesh for the spring-bone runtime: spine and seed-part
bones with weights, tendril chains grown from shape diameter and geodesic
bands, body colliders shrunk to clear every spring joint, and VRMC_springBone
written by Blender's own glTF exporter through a user extension. Imports
brokkr_mesh_polish instead of copying it; acceptance is Aetheria's
SpringRigVerify.VerifyGlb.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
tendrils starts from the body weights kept on the mesh instead of the vertex
groups a past run rewrote; body on an existing armature removes the chain
bones; the spine seed stays off tendrils; tendrils reports the biggest chain's
share, fused contacts and a warning; colliders report each shrink; mutants of
stiffness taper, hit radius, shell bone, main path and fold rule are killed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
tendrils on a mesh with no rings reports zero chains instead of raising. The
shape-diameter ray reach was half the longest side, so a body wider than that
read thin; it is the longest side now. chain_gauges, seed_triangle and
shrink_fraction move into core with tests; the live test pins stale colliders
and the no-thin-part mesh.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
eureka merged commit 88a3806daa into main 2026-12-01 08:19:45 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Brokkr!23
No description provided.