brokkr_kitbash.ribs: ribs, holes, posts and longerons derived from an armor cage as it is cut; the shell-cuts Lows (cut kit-ribs) #30

Merged
eureka merged 8 commits from nibu/kit-ribs into main 2026-12-02 10:18:57 +00:00
Owner

Cut aetheria-release:cut_spec:cut-kit-ribs.r1 (Nibu's Mind). Four commits on fa1468a.

What it does

  • brokkr_kitbash.ribs: derives the frame under an armor cage from the cage as it is cut. Ribs along plane sections, set a standoff behind the plate's inner face; lightening holes; posts; longerons through the ribs. Ribs stop clear of a port, run behind a panel break and under a recess. One mesh object under the cage, baked at the call; kit_ribs records the request.
  • core: PROFILES, profile, circle, Swept, joined, one mitred sweep, crossings, resample, cornered, spans. numpy only, unit-tested.
  • The five Lows of verdict cut-shell-cuts.s1: evaluable (boolean, cut, cut_many, apply and ribs refuse an object Blender does not evaluate), fitted (rows that do not fit a receipt are counted in <key>Omitted; cut_many no longer refuses a long report), the slot's side floors at its round ends, the doc's like-for-like cost, and kitbash_shell.py run inside one try so a crash is a named failed check.

Deviations from the spec, for Soul

  1. core.resample keeps a section's own corners and fills between them. The spec said points every step of arc length; that cuts each corner in two a step apart, and an inward offset folds between them on every subdivided cage.
  2. core.cornered is new: a rib is swept through the section's corners and a run's ends only. Points along a straight run each stand a ring square to it, which the next corner's mitre folds over.
  3. The ray that asks whether the plate is there is moved 0.1 mm along the section: a section's corners lie on the cage's edges and a ray along an edge slipped between faces.
  4. core.profile and core.joined are helpers the spec did not list.
  5. evaluable goes by depsgraph membership, so an object disabled in viewports that an evaluated object needs (a parent of a cutter) is evaluated and is cut, not refused.
  6. Operator float minimums stand just under the action table's (a float property rounds 0.001 up, and the table check then refused the row).
  7. Diff is 2058 added and 329 removed against an estimate of 1150 and 45; about 600 and 320 of it is kitbash_shell.py reindented into its try.

Proof

  • python -m unittest discover -s surfaces/blender/tests: 493 tests OK (20 skipped).
  • Live, Blender 5.3 on Starfire, private user dirs: kitbash 79, kitbash_assembly 118, kitbash_pose 46, kitbash_shell 82, kitbash_ribs 32 checks, all ok; result files committed.
  • Mutants, each applied once to a scratch copy and killed by a named check: K1 to K13 and KP (a rib twice as thick), M1, M3, M6, M7, M16, B3, B6, U1, C1, F1. K2 to K5, K7 to K10, K13 and KP were run before deviation 2's end rule was made exact and were not rerun after it.

Known limits

  • One call serves one cage: nothing bridges two plates, so a frame across a knee gap needs a follow-up.
  • A rib end stands up to a facet plus the clearance from an opening on a curved cage.
  • ribs leaves the cage tagged, so Blender evaluates it whole once afterwards (1.35 s on the pod; ribs itself 0.09 to 0.25 s).

🤖 Generated with Claude Code

🤖 Generated with Claude Code

Cut `aetheria-release:cut_spec:cut-kit-ribs.r1` (Nibu's Mind). Four commits on `fa1468a`. ## What it does - **`brokkr_kitbash.ribs`**: derives the frame under an armor cage from the cage as it is cut. Ribs along plane sections, set a standoff behind the plate's inner face; lightening holes; posts; longerons through the ribs. Ribs stop clear of a port, run behind a panel break and under a recess. One mesh object under the cage, baked at the call; `kit_ribs` records the request. - **core**: `PROFILES`, `profile`, `circle`, `Swept`, `joined`, one mitred `sweep`, `crossings`, `resample`, `cornered`, `spans`. numpy only, unit-tested. - **The five Lows of verdict `cut-shell-cuts.s1`**: `evaluable` (boolean, cut, cut_many, apply and ribs refuse an object Blender does not evaluate), `fitted` (rows that do not fit a receipt are counted in `<key>Omitted`; `cut_many` no longer refuses a long report), the slot's side floors at its round ends, the doc's like-for-like cost, and `kitbash_shell.py` run inside one try so a crash is a named failed check. ## Deviations from the spec, for Soul 1. `core.resample` keeps a section's own corners and fills between them. The spec said points every `step` of arc length; that cuts each corner in two a step apart, and an inward offset folds between them on every subdivided cage. 2. `core.cornered` is new: a rib is swept through the section's corners and a run's ends only. Points along a straight run each stand a ring square to it, which the next corner's mitre folds over. 3. The ray that asks whether the plate is there is moved 0.1 mm along the section: a section's corners lie on the cage's edges and a ray along an edge slipped between faces. 4. `core.profile` and `core.joined` are helpers the spec did not list. 5. `evaluable` goes by depsgraph membership, so an object disabled in viewports that an evaluated object needs (a parent of a cutter) is evaluated and is cut, not refused. 6. Operator float minimums stand just under the action table's (a float property rounds 0.001 up, and the table check then refused the row). 7. Diff is 2058 added and 329 removed against an estimate of 1150 and 45; about 600 and 320 of it is `kitbash_shell.py` reindented into its try. ## Proof - `python -m unittest discover -s surfaces/blender/tests`: 493 tests OK (20 skipped). - Live, Blender 5.3 on Starfire, private user dirs: kitbash 79, kitbash_assembly 118, kitbash_pose 46, kitbash_shell 82, kitbash_ribs 32 checks, all ok; result files committed. - Mutants, each applied once to a scratch copy and killed by a named check: K1 to K13 and KP (a rib twice as thick), M1, M3, M6, M7, M16, B3, B6, U1, C1, F1. K2 to K5, K7 to K10, K13 and KP were run before deviation 2's end rule was made exact and were not rerun after it. ## Known limits - One call serves one cage: nothing bridges two plates, so a frame across a knee gap needs a follow-up. - A rib end stands up to a facet plus the clearance from an opening on a curved cage. - `ribs` leaves the cage tagged, so Blender evaluates it whole once afterwards (1.35 s on the pod; ribs itself 0.09 to 0.25 s). 🤖 Generated with [Claude Code](https://claude.com/claude-code) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
evaluable refuses, before any write, an object the evaluated depsgraph does not hold (disabled in viewports
with nothing depending on it, or in a collection outside the view layer): boolean, cut, cut_many and apply
call it. fitted trims a report's rows to a receipt and counts the rest in <key>Omitted: scene_closures, cut,
cut_many and boolean use it, so place_cutters loses its report hook and cut_many its refusal of a long report.
The slot's floor_l and floor_r move to the centres of its round ends, sized so the three never overlap.

kitbash_shell.py runs inside one try: an uncaught error is a failed check naming its section and the result
file is always written. It pins M1, M3, M6, M7, M16, hidden and unlinked targets, and trimmed receipts.
docs: like-for-like cost (13 cutters: cut_many 6.1 s, 13 cuts 51.3 s, 105 s with hides).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
sweep takes a closed outline along a polyline: frames x = y cross t on the bisector tangent, mitred joints,
quads ring to ring, n-gon caps, wound outward; it refuses a short segment, a turn over 150 degrees, an up
along the path and a fold, naming the path point. crossings finds where a chain meets a half-plane whatever
its start or direction. resample spaces a chain by arc length. spans says which runs of a section keep their
frame: an open run under the bridge closes, the rest stand clear by the clearance. Swept carries the fields
write_mesh reads; joined puts shells side by side.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ribs reads the cage twice: with its Solidify, Bevel and Booleans off (the surface as designed; each plane cuts it
into sections) and whole (the plate as cut: a ray at each section point says whether the plate is there). A rib
is core.sweep of a rectangle along a section, set the standoff behind the plate's inner face; it stops clear of
a port, runs behind a panel break and under a recess. Inward comes from the cage's normals, and a section whose
normals change sides is refused. Posts and longerons are the same sweep; a longeron's stations are where its
half-plane crosses each plane's rib, found by core.crossings. Holes are one Manifold Boolean a plane on that
plane's webs alone, checked (closed, volume gone the holes' own) and refused otherwise; it is the one Manifold
Boolean in the package. Every refusal comes before the ribs object is written; kit_ribs records the request.

core: resample keeps a section's corners and fills between them (points spaced by arc length cut each corner in
two and an inward offset folds between them); cornered says which points a frame is swept through.
tests/live/kitbash_ribs.py pins it; bounds by the margin rule beside each constant. bl_info blender 5.3.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
What ribs makes, how it reads the cage, what it refuses, that the ribs object is a bake, and its cost on the
pod: 1.60 s with holes, posts and longerons and 1.44 s alone, each holding one whole evaluation of the cage
(1.35 s), medians of 3.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Fix batch h2 of cut-kit-ribs, against verdict aetheria-release:verdict:cut-kit-ribs.s1 and
follow_up ribs-fold-at-crease.

core.band replaces core.cornered and the rib's sweep: the rib is the band beside its
section, each edge the section offset with mitred corners and clipped as a polygon offset
is (core.away, the distance to a polyline less each segment's own distance). Inside a turn
tighter than the rib reaches the edges cut the corner instead of folding, so a creased
shell is ribbed and not refused; a section that leaves no room at all is refused by reason.
Holes stand on the band's clipped centre line; a post that would end outside the rib inside
such a turn is left out. The band does not depend on the section's direction, so the chain
reversal (mutant N3, dead) is gone.

standoff-oblique-sections: a segment's distance is the plate's thickness and the standoff
over the cosine of the plate's lean out of the plane, plus half the rib's thickness times
its tangent. Pinned on cones leaning 0, 30, 45 and 60 degrees and a hipped box (45 against
20): the rib comes the standoff from the plate, 5.3e-08 off, and is the analytic ring.
negative-solidify-thickness: the sign is folded into the offset. planes-string-cap-below-64:
planes 16000 characters, longerons 8000; 64 planes at full precision are taken.
plate-window-unpinned: a recess 0.8 of the plate deep (N5) and a port in a cage whose far
wall stands 3.5 plates behind (N13). figures-do-not-match: FIT is re-measured along the
normal (0.0011, bound 0.002), Manifold is 26 times Exact, not a hundred.

Sixteen mutants die on this tree (O1 O2 O3 S1 N5 N13 P1 C1 V1 M1 T1 D1 G1 A1 live or unit,
L1 W1 unit). 496 unit tests; kitbash_ribs 41 checks.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The standoff along the plate's normal, the band and its clipping at a crease, the plate
window, a negative Solidify, and that Solidify's even thickness is not even where faces
meet at unequal angles. reeval-per-call: one whole evaluation of the cage a call stays.
Measured on the pod: hiding the shell modifiers tags the cage (1.36 s); a temporary copy
without them links and evaluates in 0.001 s, but deleting any datablock makes Blender 5.3
evaluate the cage again (1.44 to 1.54 s), and the hole cut's temporaries must be deleted.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The standoff held only where the plate's lean was constant across the rib's reach: laid off along
the plane from each segment's own lean, it fell short under a tilted plane (0.007 of 0.04 on a
24-sided prism) and on a doubly curved wall (0.020 on a sphere), and at radius 0.6 with a standoff
of 0.01 the rib stood through the inner face (finding cut-kit-ribs.s2.standoff-curved-and-tilted).

- core.inset: the step that takes each vertex of a mesh behind every face it is a corner of, the
  mitre of its faces moved in. ribs offsets the plate's inner face by the standoff with it.
- A rib's outer edge is where its plane cuts that offset surface: points along the section look
  square in for it, corners go where the offset faces meet, and points that measure nearer the
  plate than the standoff (the offset surface folded) are left out. core.band then lays off only
  the rib's half thickness and its depth.
- The finished edge is measured against the inner face and moved in until no vertex is nearer than
  the standoff; a rib that cannot be stood off is refused.
- The plate's two faces are read from the Solidify as Blender evaluates it, so a Solidify that is
  not even (Blender's default) gives the plate it makes, 0.0424 beside a right angle for 0.06
  (finding solidify-default-unbounded). A Solidify whose faces cannot be read is refused.
- A post starts inside the plate, deeper where it leans, and its pad lies flat on the inner face.
- tests/live/kitbash_ribs.py: a tilted plane through a prism, spheres of radius 1 and 0.6 at 60
  degrees, a box with the default Solidify, posts under the outer face, a shallow rib in a crease;
  bounds by lodur:ruling:deterministic-bound-margin, RING now set from L1 (finding
  ring-bound-misses-l1).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A Subsurf after the Solidify remakes the plate's vertices, and the two faces cannot be read off
them: such a cage was refused by the commit before, and is a cage the probes and the renders use.
It is taken as h2 took every cage, the Solidify's thickness behind every face of the designed
surface, and the docs say what that is off by.

docs/kitbash.md, Ribs from a shell: the edge cut from the offset surface, the measure against the
plate, the plate's faces read from the Solidify, where a post starts, and the cost measured on
the pod against 585ece4 (the action's own work 0.66 s and 0.42 s, from 0.31 s and 0.14 s).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
eureka merged commit 1695bc8caa into main 2026-12-02 10:18:57 +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!30
No description provided.