brokkr_kitbash.hose: hoses routed between sockets, clamped, through a pin's axis across its roll range (cut kit-hose) #33

Merged
eureka merged 8 commits from nibu/kit-hose into main 2026-12-02 19:17:19 +00:00
Owner

Cut aetheria-release:cut_spec:cut-kit-hose.r1, amended by aetheria-release:ruling:hose-slack-and-skinned.

What lands

  • brokkr_kitbash/route.py (numpy only): grid, wavefront, pull, leg, sag, fillet, verify, frames, passes. Every refusal is a RouteError naming the leg, corner, point or roll.
  • brokkr_kitbash.hose: a bundle of hoses between two sockets (or empties) around every evaluated mesh, over clamps on mount sockets, through a point on one pin's axis across its roll range; rebuilds in place on a hose's name. One mesh object, every tube through core.sweep.
  • Kit: socket type hose (fits); port_cap and port_rod on the actuator's port bosses.
  • tests/test_route.py (16 unit tests), tests/live/kitbash_hose.py (43 checks) and its result; docs section "Hoses between sockets".

Deviations from the spec

  • Slack (ruling hose-slack-and-skinned): field sag, default 1 outside diameter; each free span's middle is lowered by at most half the room measured along it, and a route the sag breaks is made taut instead.
  • No split at the pin (same ruling): one object; docs say it is skinned between the bones either side. The kit has no vertex-group or bone hint (skin weights are brokkr_rig's), so no weights are written: a follow-up.
  • A voxel is free at need plus half a voxel's diagonal, not at need: between two neighbouring voxels at exactly need a step can dip under it beside an edge (test_two_neighbouring_free_voxels_keep_need_between_them).
  • tests/test_kitbash.py is also edited outside the spec's anchors, where the suite pins the package: the source file list (route.py), the list of actions that call evaluable (hose), the integer fields (count).
  • route.thinned drops curve points nearer than 0.05 radii before sweeping: two tangent arcs can leave a straight a micron long, which folds a swept section.
  • Lines: about 1990 added against 1150 estimated.

Known limits

  • A corner that wraps an edge has about 0.87 of a voxel of room, so a stiff bundle is refused under the floor there at the default step; the refusal names the corner, and the docs say what to change. The wavefront does not prefer clearance.
  • lengthChange is inflated by the rule that each roll gets the largest arc at the pin point.

Proof

  • python -m unittest discover -s surfaces/blender/tests: 520 tests OK.
  • Blender 5.3 background, private user dirs: kitbash_hose, kitbash, kitbash_assembly, kitbash_pose exit 0.
  • Mutants on scratch copies: H1 to H12, S1 (sag unbounded), C1 and C2 (clamps) each died; the tests are named in the cut report.
  • Hose on the live knee: 0.50 s, 55 percent of it occupancy.

🤖 Generated with Claude Code

Cut `aetheria-release:cut_spec:cut-kit-hose.r1`, amended by `aetheria-release:ruling:hose-slack-and-skinned`. **What lands** - `brokkr_kitbash/route.py` (numpy only): `grid`, `wavefront`, `pull`, `leg`, `sag`, `fillet`, `verify`, `frames`, `passes`. Every refusal is a `RouteError` naming the leg, corner, point or roll. - `brokkr_kitbash.hose`: a bundle of hoses between two sockets (or empties) around every evaluated mesh, over clamps on mount sockets, through a point on one pin's axis across its roll range; rebuilds in place on a hose's name. One mesh object, every tube through `core.sweep`. - Kit: socket type `hose` (fits); `port_cap` and `port_rod` on the actuator's port bosses. - `tests/test_route.py` (16 unit tests), `tests/live/kitbash_hose.py` (43 checks) and its result; docs section "Hoses between sockets". **Deviations from the spec** - Slack (ruling hose-slack-and-skinned): field `sag`, default 1 outside diameter; each free span's middle is lowered by at most half the room measured along it, and a route the sag breaks is made taut instead. - No split at the pin (same ruling): one object; docs say it is skinned between the bones either side. The kit has no vertex-group or bone hint (skin weights are `brokkr_rig`'s), so no weights are written: a follow-up. - A voxel is free at need plus half a voxel's diagonal, not at need: between two neighbouring voxels at exactly need a step can dip under it beside an edge (`test_two_neighbouring_free_voxels_keep_need_between_them`). - `tests/test_kitbash.py` is also edited outside the spec's anchors, where the suite pins the package: the source file list (`route.py`), the list of actions that call `evaluable` (`hose`), the integer fields (`count`). - `route.thinned` drops curve points nearer than 0.05 radii before sweeping: two tangent arcs can leave a straight a micron long, which folds a swept section. - Lines: about 1990 added against 1150 estimated. **Known limits** - A corner that wraps an edge has about 0.87 of a voxel of room, so a stiff bundle is refused under the floor there at the default step; the refusal names the corner, and the docs say what to change. The wavefront does not prefer clearance. - `lengthChange` is inflated by the rule that each roll gets the largest arc at the pin point. **Proof** - `python -m unittest discover -s surfaces/blender/tests`: 520 tests OK. - Blender 5.3 background, private user dirs: `kitbash_hose`, `kitbash`, `kitbash_assembly`, `kitbash_pose` exit 0. - Mutants on scratch copies: H1 to H12, S1 (sag unbounded), C1 and C2 (clamps) each died; the tests are named in the cut report. - Hose on the live knee: 0.50 s, 55 percent of it occupancy. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
grid, wavefront, pull and leg search a leg; fillet rounds the polyline by each corner's measured room; sag lowers a
span by half its room (ruling hose-slack-and-skinned); passes turns the child's side through a pin's rolls; frames
are rotation minimising. numpy only; tests/test_route.py.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The action is the bpy around route.py: ends and clamps from kit sockets, the crossed pin from the parent chain,
obstacles from every evaluated mesh as two trees split at the pin, one mesh object swept by core.sweep. Each free
span sags a little, bounded by its measured room, and a hose stays one object across a pin (ruling
hose-slack-and-skinned). Row in brokkr_actions.json; tests/live/kitbash_hose.py and its result.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
route.measure replaces sampling at half a voxel: a reading answers for its piece less half the piece's length,
pieces are halved to 1 mm, so no plate stands unseen between two readings and no measurement depends on step.
route.passes measures a range, not a list of rolls: each roll answers for a bin by what a point can move within
it (rho x half width), the bend at the pin has one radius through a bin with its dip added to the need, and a bin
that falls short is halved down to 0.3 degrees. A leg is searched and pulled with 0.29 of the floor beyond need
where a way has it: a line pulled at need grazed what it wrapped and left its corner an accidental room that
changed with step. A corner under the floor says what limits it; a refusal names the sagged and the taut attempt;
another hose through the same pin is an obstacle where it stands and is not measured across the rolls as if rigid.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
CLEAR 0.017: shipped worst 0.032, mutant H4b (verify refuses nothing) 0.0089. KEPT 0.019: shipped 0.028, C1 0.013.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
eureka force-pushed nibu/kit-hose from 38d08f0196 to d3650ce669 2026-12-02 17:51:39 +00:00 Compare
route.tangents gives each corner its floor's tangent before a neighbour gets more, and the pin's corner the
tangent of its sharpest roll (sharpest_turn, exact over a range; passes sizes a bin's bend by it). route.relax
drops, moves and adds a seed's free vertices until every segment has the straight its corners take (strain),
each change proven clear by the oracle. hose searches each leg on three grid origins and then at half the step,
names what it tried when it refuses, and says too stiff only where route.leaves proves no curve of the floor
radius leaves a port.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
eureka merged commit 5b5657977e into main 2026-12-02 19:17:19 +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!33
No description provided.