brokkr_kitbash: lathe and repeat-about-an-axis shapes; nozzle, tank and tee rebuilt; a reducer (cut kit-shape-vocabulary) #26

Merged
eureka merged 3 commits from nibu/kit-shape-vocabulary into main 2026-12-01 17:30:42 +00:00
Owner

Cut aetheria-release:cut_spec:cut-kit-shape-vocabulary.r1, base cd8302f.

Two shapes join brokkr.kit.v0, three parts of the mechanical kit are rebuilt on them, a tenth part is added, and the three Low findings of verdict cut-chassis-kit-assembly.s1 are closed. No action, row or socket type changes.

What lands

  • core.py, lathe: a profile of [r, z] points revolved about +z into one closed shell. An open profile's end on the axis is a pole, an end off it gets an n-gon cap; loop joins the last point to the first. Refused, naming the point: a negative r, an r of 0 inside a profile, a repeated point, and a profile not listed out along the bottom and up the outside.
  • core.py, repeat: around (an axis) with center, in place of step: copy k is turned k * 360 / count degrees about the axis.
  • Kit: the nozzle's 15 tube shells, the tank's 13 and its weld-band repeat, and the tee's 7 tubes and six bolt pairs are gone. Nozzle 24 shells to 9, tank 20 to 6, tee 19 to 14. Sockets are unchanged; the six other parts build byte-identical arrays against cd8302f.
  • The tee's branch hub is 1.2*pipe_r against the run hub's 1.3: a box cut from it now leaves 0 non-manifold edges (14 with the hubs equal, read below the Bevel).
  • reducer: a cone between a big flange (0.16 to 0.6, a ribbed cylinder's range) and a small one (0.048 to 0.14, the plumbing's).
  • link() reads a kit_roll that is not a finite number as roll None: the report says roll: null, holds: false, and set_params on the child or its parent refuses it and leaves it as written.
  • apply gives faces a cutter made from an empty slot of its own the part's first slot (they came out at index -1).

Boolean cost

Exact with self-intersection, a 0.3 x 3 x 0.3 box cut from each part at its defaults, base and head alternating, 7 rounds of 3, medians, Blender 5.3:

part cd8302f head ratio
tank 1532 ms (20 shells, 740 faces) 508 ms (6, 764) 0.33
nozzle 1253 ms (24, 1312) 398 ms (9, 994) 0.32
pipe_fitting 307 ms (19, 278), 9 bad edges 241 ms (14, 436), 0 0.79

Verification

  • python -m unittest discover -s surfaces/blender/tests: 459 tests OK (20 skipped as on main).
  • Blender 5.3 background with private user directories: tests/live/kitbash.py 64 checks, tests/live/kitbash_assembly.py 79 checks, both exit 0; both result files committed.
  • Mutants K1 to K16, each applied once to a scratch copy: all die.

Notes for review

  • The nozzle keeps its three hoops, as bumps in the profile (40 points, 994 faces). The spec's 288 ms and 706 faces were measured on a prototype bell with no hoops.
  • The barrel is one shell now, so the old test cut (a box through the barrel wall) no longer tells self-intersection from none. The tank is cut where a cradle, the pad, a strap and the barrel overlap: 0.2508 m3 against 0.0060 without, CUT = 0.039.
  • The nozzle's lip starts at min(2.5*wall, 0.08*length) below the exit, so it stays above the last hoop at the shortest bell with the thickest wall. At the defaults it is where it was.
  • A profile that crosses itself is not caught.

🤖 Generated with Claude Code

Cut `aetheria-release:cut_spec:cut-kit-shape-vocabulary.r1`, base cd8302f. Two shapes join `brokkr.kit.v0`, three parts of the mechanical kit are rebuilt on them, a tenth part is added, and the three Low findings of verdict `cut-chassis-kit-assembly.s1` are closed. No action, row or socket type changes. ## What lands - `core.py`, `lathe`: a profile of `[r, z]` points revolved about +z into one closed shell. An open profile's end on the axis is a pole, an end off it gets an n-gon cap; `loop` joins the last point to the first. Refused, naming the point: a negative `r`, an `r` of 0 inside a profile, a repeated point, and a profile not listed out along the bottom and up the outside. - `core.py`, `repeat`: `around` (an axis) with `center`, in place of `step`: copy k is turned `k * 360 / count` degrees about the axis. - Kit: the nozzle's 15 tube shells, the tank's 13 and its weld-band repeat, and the tee's 7 tubes and six bolt pairs are gone. Nozzle 24 shells to 9, tank 20 to 6, tee 19 to 14. Sockets are unchanged; the six other parts build byte-identical arrays against cd8302f. - The tee's branch hub is `1.2*pipe_r` against the run hub's 1.3: a box cut from it now leaves 0 non-manifold edges (14 with the hubs equal, read below the Bevel). - `reducer`: a cone between a `big` flange (0.16 to 0.6, a ribbed cylinder's range) and a `small` one (0.048 to 0.14, the plumbing's). - `link()` reads a `kit_roll` that is not a finite number as roll None: the report says `roll: null`, `holds: false`, and `set_params` on the child or its parent refuses it and leaves it as written. - `apply` gives faces a cutter made from an empty slot of its own the part's first slot (they came out at index -1). ## Boolean cost Exact with self-intersection, a 0.3 x 3 x 0.3 box cut from each part at its defaults, base and head alternating, 7 rounds of 3, medians, Blender 5.3: | part | cd8302f | head | ratio | | --- | --- | --- | --- | | tank | 1532 ms (20 shells, 740 faces) | 508 ms (6, 764) | 0.33 | | nozzle | 1253 ms (24, 1312) | 398 ms (9, 994) | 0.32 | | pipe_fitting | 307 ms (19, 278), 9 bad edges | 241 ms (14, 436), 0 | 0.79 | ## Verification - `python -m unittest discover -s surfaces/blender/tests`: 459 tests OK (20 skipped as on main). - Blender 5.3 background with private user directories: `tests/live/kitbash.py` 64 checks, `tests/live/kitbash_assembly.py` 79 checks, both exit 0; both result files committed. - Mutants K1 to K16, each applied once to a scratch copy: all die. ## Notes for review - The nozzle keeps its three hoops, as bumps in the profile (40 points, 994 faces). The spec's 288 ms and 706 faces were measured on a prototype bell with no hoops. - The barrel is one shell now, so the old test cut (a box through the barrel wall) no longer tells self-intersection from none. The tank is cut where a cradle, the pad, a strap and the barrel overlap: 0.2508 m3 against 0.0060 without, `CUT = 0.039`. - The nozzle's lip starts at `min(2.5*wall, 0.08*length)` below the exit, so it stays above the last hoop at the shortest bell with the thickest wall. At the defaults it is where it was. - A profile that crosses itself is not caught. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
core.py gains two shapes of brokkr.kit.v0. A lathe revolves a profile of [r, z]
points about +z into one closed shell (poles on the axis, n-gon caps off it, or
a loop); a repeat takes `around` (with `center`) in place of `step` and turns
its copies about an axis.

The mechanical kit drops the 15 tube shells of the nozzle body and bell, the
tank's 13 dome and barrel tubes and its weld-band repeat, and the tee's 7 tubes
and six bolt pairs; one lathe each replaces them (two for the tee), with bolts
and lugs as repeats about an axis. The tee's branch hub is 1.2*pipe_r against
the run hub's 1.3: two equal hubs crossing left non-manifold edges under an
Exact Boolean. A tenth part, reducer, joins a ribbed cylinder's flange to the
plumbing's. Sockets of the rebuilt parts are unchanged; the six other parts
build byte-identical arrays.

Tests: lathe and repeat-around shapes and refusals, the reducer, the equal
rule's slack pinned at 2.2e-6 past the 1 percent.

Cut aetheria-release:cut_spec:cut-kit-shape-vocabulary.r1.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
link() reads a hand-written kit_roll that is not a finite number as roll None:
the report says roll null and holds false, and set_params on the child or its
parent refuses it and leaves the property as written. apply gives faces a
cutter made from an empty slot of its own the part's first slot.

kitbash_assembly.py: the tank is cut where four shells overlap (the barrel is
one shell now, so a box through it alone no longer tells self-intersection
from none), a tee is cut with no non-manifold edge, a child moved 3.2e-4 m
reads holds false, and apply keeps a part's own empty last slot.

Closes the three Low findings of verdict cut-chassis-kit-assembly.s1.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
eureka merged commit f329f5604b into main 2026-12-01 17:30:42 +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!26
No description provided.