Commit graph

231 commits

Author SHA1 Message Date
Meta Vens
7c95538ea6 docs/reference.md: the refusals of undecidable marks, and the band's step as its resolution
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 19:40:42 +01:00
Meta Vens
317e40e661 brokkr_reference: refuse marks that decide no camera, pin the uncapped band walk, ReferenceFitError
solve() refuses, before any solve and by which they are: fewer than six different world
points or pixels, pixels on one line, world points on one line, and world points in one
plane unless the lens is held and the centre is not solved. A record that is not finite
is refused too. One pixel for every name was a bare ValueError and one world point a
record of NaN (finding degenerate-marks-not-refused).

test_a_wide_band_is_walked_to_its_end kills a walk capped at 20 steps (M13): 4000 mm
shipped, 1177 capped, bound 2170. The lm call count that claims M3 is a bound, 61,
between 34 and 109. ReferenceError, which shadowed the builtin, is ReferenceFitError.
The docstring says a band of [x, x] is narrower than one step, not an exact lens.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 19:40:41 +01:00
Meta Vens
263236ba4d test_reference: say where the unbounded-focal mutant died
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 19:21:12 +01:00
Meta Vens
ae42cf9d8c docs/reference.md: conventions, the action, and what the lens band means
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 19:18:39 +01:00
Meta Vens
3cf4234edb tests/live/reference.py: a known scene rendered, solved through the action, rendered again
1 - IoU of the two silhouettes 0.000168 (0.6489 with shift_y flipped); Blender 5.3.0.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 19:18:38 +01:00
Meta Vens
d6b8896e00 brokkr_reference.solve_camera: the host action, its row and its table tests
Points go in as text (world, pixels, box, turned, pivot); with camera_name the
camera is created or updated at the record and the render size set to the box.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 19:18:38 +01:00
Meta Vens
ef806e5777 brokkr_reference.core: a reference view's camera solved from marked points
Ported from round 9's experiments/mechs/camsolve.py (3f45b67). The focal length is
held to 4-4000 mm at the box's width; the record carries lens_band (an equal-error
band, walked to the first miss or the bound) and lens_at_bound; square snaps the yaw
to a quarter turn; solve refuses by ReferenceError naming the cause; camera_of reads
blender() back. Place is solved as a dolly-zoom offset so log f alone is the
distance-lens trade, and a parameter held at a bound sits out of the LM step.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 19:14:45 +01:00
640e92f331 Merge pull request 'brokkr.kit.v0 extrude shape over core.sweep, wedge and gusset sections, and the frame kit (cut kit-extrude)' (#32) from nibu/kit-extrude into main 2026-12-02 17:14:16 +00:00
Meta Vens
8513bd35e3 live kitbash_ribs: wedge and gusset longerons through the legs' ribs, each its section's area along the run
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 17:42:08 +01:00
Meta Vens
2f374cc4de brokkr.kit.v0 extrude: up is one vector or one per path point; the portal's web stands in its plane
core.sweep already took an up for each point; the extrude shape now passes them through, and refuses an array
that is not one per path point. The frame kit's portal gives each point the in-plane direction toward the
inside of the frame, so its I section's web lies in the xz plane and its flanges run across y.

Tests: the portal's web, extents and feet (kills S9, foot_b on foot_a), each beam's w across x and h along y
(kills S14, box_beam's w and h swapped), the truss's chord ends, per-point ups at the shape. socket_seat reads
a face by Newell's normal and a crossing count, so FrameKitTests' own seat check is gone. SEATED, VOLUME and
PLACED sit at the geometric mean of shipped and least-mutant readings (lodur:ruling:deterministic-bound-margin).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 17:42:06 +01:00
Meta Vens
983dfcdd05 docs/kitbash.md: the extrude shape, its frame rule and seven sections, and the frame kit
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 16:31:49 +01:00
Meta Vens
5bf992ab70 live kitbash: the frame kit's nine parts placed, a truss re-parameterised in place, a box_beam seated on a mechanical bracket
Blender 5.3.0 background, private user dirs: kitbash 91 checks, kitbash_assembly 118, kitbash_pose 46,
kitbash_ribs 49, kitbash_shell 82, kitbash_faceted 34, all ok; only kitbash's result file changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 16:28:03 +01:00
Meta Vens
2d990bf2ea brokkr_kitbash.ribs row: the longeron enum lists PROFILES' seven sections, as the operator's does
The operator's longeron enum is core.PROFILES (__init__.py), and the host refuses a row whose enum differs from
its operator's: with wedge and gusset in PROFILES the whole kitbash table failed to load. The row mirrors the
seven. This file is outside the cut's stated files (cut-kit-extrude.r1 leaves it to kit-hose); the commit stands
alone so it can be dropped for the other answer, an enum of five named in __init__.py.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 16:28:02 +01:00
Meta Vens
1882c9c73b kits/frame.v0.json: beams in five sections, a truss, a portal, a gusset and a wedge, each an extrude
Nine parts over core.sweep and PROFILES; mount and pivot are mechanical's lines, so a frame part seats on a
mechanical one. A truss's diagonals are two repeats a double bay apart (expressions have no floor). FrameKitTests
holds every part at its default, minimum, maximum and 16 draws, with a socket seat that reads a section's
concave cap by Newell's normal and a crossing count.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 16:19:18 +01:00
Meta Vens
19c36b984f brokkr.kit.v0: an extrude shape, a PROFILES section along a polyline through core.sweep; wedge and gusset sections
core.SHAPES gains extrude (section, w, h, t, path, up, loop?, at?, rot?). check_kit refuses a section
PROFILES does not have, a path outside 2 to 64 points (3 with loop), and anything that is not an expression
where one belongs; _extrude builds through profile and sweep and re-raises what either refuses under the
shape's name. PROFILES gains wedge (a right trapezoid) and gusset (a right triangle with its tips cut square).
No sweep, profile or circle signature changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 16:10:21 +01:00
516fb4d1cb Merge pull request 'brokkr_kitbash.shell: a faceted, hollow armor shell from a loft of rings with crease runs, rebuilt in place under its cuts (cut kit-faceted-shell)' (#31) from nibu/kit-faceted-shell into main 2026-12-02 13:25:51 +00:00
Meta Vens
617eb2acbc brokkr_kitbash.shell: count_folds counts the folded faces of the evaluated wall; the cage estimate is gone
The fold receipt read from the cage ({onset, margin, edge, weight}) was no
bound in either direction: seeded lofts fold at 0.03 to 0.44 of it, and it
warned on Seraph plates that do not fold. core.fold_depths and the receipt are
deleted. With count_folds, shell evaluates the wall alone (Kit Subsurf and Kit
Solidify, every other modifier hidden for the reading and shown again) and
reports folded: inner faces with a corner turned to run with their outer
twin's normal. Without it folded is null and nothing is evaluated. Measured:
3.9 ms on a new plate of 1600 subdivided faces; nothing separable on a rebuild
under six cutters (0.94 s against 0.92 s).

Live kitbash_faceted holds the count to its own, face for face, on the wedge,
on three of Soul's seeded lofts (seed 5185 offset -1, 5101 offset 0, 5196
offset 1; tests/fixtures/fold_lofts.json) and on a rebuild under cutters.
Mutants caught there: never folded, all corners for any, stack left hidden.

docs/kitbash.md: folded 0 is not yet a wall an Exact Boolean takes cleanly;
on the Seraph's cap and breast it left open edges from 0.91 of the first
folding thickness, on one hand of a mirrored pair.

Finding: aetheria-release:finding:cut-kit-faceted-shell.s3.fold-receipt-margin-is-not-a-bound

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 13:29:46 +01:00
Meta Vens
d3c68edf79 live kitbash, kitbash_assembly, kitbash_pose, mesh_polish, rig: the checks run inside one try
An error raised between checks is a failed check that names the check before
it; the checks are printed and the result file written whatever happened, and
the exit is 1 with or without --python-exit-code. A rig.py copy with a raise
after 35 checks, launched bare: exit 1, 35 ok and 1 FAIL printed, result file
written (was exit 0 and no CHECK line).

Finding: aetheria-release:finding:cut-kit-faceted-shell.s3.midsuite-raise-hides-checks

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 13:29:46 +01:00
Meta Vens
9556d1337c brokkr_kitbash.shell: the receipt names the thickness at which the cage says the wall folds; live suites print before they write
shell reports fold {onset, margin, edge, weight} from the cage alone (core.fold_depths: every edge between two
quads as a full crease between flat facets, the narrower facet's reach, the wall's share on the edge's concave side
from offset). It reads no evaluated mesh. An estimate: on the Seraph's fourteen creased plates the evaluated wall
first folded at 0.74 to 1.2 of it in thirteen and at 2.6 in one. kitbash_faceted checks it against the evaluated
wall on a wedge of unequal facets (no turned inner face at onset / 1.2, some at onset x 1.2).

docs/kitbash.md: the narrower facet binds; 23 of 23 readings, ridge and valley; the fold receipt.
kitbash_faceted: SOFT sits at 12, between shipped 5.8 and W1's 25, and its comment says W1 is its least mutant.
kitbash, kitbash_assembly, kitbash_pose, mesh_polish, rig: check() takes a detail the result file cannot, and the
CHECK lines are printed before the file is written.
kitbash, kitbash_assembly: the action table is also held against the operators the add-on registered, so a row
lost from the table fails live.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 12:46:53 +01:00
Meta Vens
2e22a58bd7 docs/kitbash.md: the thickness a crease holds, as measured
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 12:10:31 +01:00
Meta Vens
b5b32efe94 live kitbash_faceted: a failed check whose detail is keyed by vertex pairs is written, not a crash; W1 claimed by the edge-for-edge check
json.dumps refused the tuple keys of a failed crease check's detail, so a mutant that broke the crease order ended in a
traceback with no FAIL line. shell's comment says why the weights are looked up by vertex pair: the mesh's edge order
is not core.sheet's.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 12:10:30 +01:00
Meta Vens
dddef79d8d live kitbash, kitbash_assembly: the rows the host must load are the action table's, read from brokkr_actions.json
Both suites listed the kitbash rows by hand, ending at ribs, and failed once shell added a row.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 12:10:30 +01:00
Meta Vens
39a3b7a3dd docs/kitbash.md: a closed loop of crease runs needs point creases at its corners
Found building Seraph's pectoral block: the face's border rounded into a disc.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 11:48:55 +01:00
Meta Vens
09f2ea6a97 docs/kitbash.md: Making a shell
The sheet format with a worked pauldron, the winding rule, crease runs and
rim, what a rebuild keeps, outlines by through cuts, ribs on a shell, the
refusals and the measured costs. The operator count is sixteen.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 11:37:49 +01:00
Meta Vens
1510bac6cf brokkr_kitbash.shell: a faceted, hollow armor shell from a loft of rings
shell writes the cage core.sheet builds, its crease_edge and crease_vert,
Kit Subsurf (creases, corners preserved) and Kit Solidify (even, rim), and
kit_shell, the request. On a shell it rewrites the mesh in place under its
cutters, ribs and Booleans. It evaluates nothing.

The action row, the host and ownership tests, and tests/live/kitbash_faceted.py
with its result: crisp 52 deg on the creased column against 5.8 elsewhere.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 11:36:24 +01:00
Meta Vens
eaf063a120 kitbash core: sheet, the cage and creases of a shell description
Sheet and sheet(document): a loft of rings as quads wound by a stated rule,
crease runs along ring and column edges, a rim weight, a mirror in x.
SheetTests pin the grid, the mirror, the runs and every refusal.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 11:23:23 +01:00
1695bc8caa Merge pull request '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) from nibu/kit-ribs into main 2026-12-02 10:18:57 +00:00
Meta Vens
8e6141fa61 brokkr_kitbash.ribs: a Solidify whose faces are not the surface's vertices twice is taken at its thickness; docs/kitbash.md: ribs as built in h3 and what a call costs
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>
2026-12-02 10:37:23 +01:00
Meta Vens
c4717c9293 brokkr_kitbash.ribs: the rib's edge cut from the inner face offset inward, the plate's faces read from its Solidify, posts kept under the outer face
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>
2026-12-02 10:29:17 +01:00
Meta Vens
585ece4e4d docs/kitbash.md: ribs as built in h2, and what a ribs call costs and why
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>
2026-12-02 08:47:12 +01:00
Meta Vens
e9f53fc3a9 brokkr_kitbash.ribs: the standoff along the plate's normal, ribs that follow a crease, and the s1 Lows
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>
2026-12-02 08:47:12 +01:00
Meta Vens
3b0096106e docs/kitbash.md: Ribs from a shell, and the ribs row
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>
2026-12-02 06:38:45 +01:00
Meta Vens
4265443fad brokkr_kitbash.ribs: ribs, lightening holes, posts and longerons derived from an armor cage as it is cut
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>
2026-12-02 06:38:45 +01:00
Meta Vens
9440a14b02 brokkr_kitbash core: PROFILES, one mitred sweep, crossings, resample and spans, engine-free
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>
2026-12-02 05:59:32 +01:00
Meta Vens
cc98d36f4e brokkr_kitbash: the shell-cuts Lows: evaluable, fitted receipts, slot floors at the round ends, live checks that name what died
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>
2026-12-02 05:56:08 +01:00
fa1468a1f5 Merge pull request 'brokkr_kitbash: roll, aim and reach pose an attached part in place, solved in closed form (cut kit-roll-aim)' (#29) from nibu/kit-roll-aim into main 2026-12-02 03:53:32 +00:00
Meta Vens
fb3382a923 brokkr_kitbash: aim's floor matched to float32 scenes; reach takes the edge of its circle and refuses a socket on the pin
AIM_FLOOR 1.5e-9 was set against float64 rounding, but a scene's matrices and an action's fields are float32:
the pin's own direction, as the scene holds it or typed at 6 or 4 decimals, was aimed at and swung the part to
an arbitrary roll. The floor is 1e-3, the geometric mean of the 4 decimal reading (6.2e-5) and a direction
1 degree off the pin (0.0175).

reach takes a height up to REACH_EDGE (1e-5 m, HELD) past the top or bottom of the circle as the top or bottom,
so the range a refusal names (now 6 decimals) can be typed back; a socket on the pin, or a direction along it,
is refused instead of dividing by a zero swing. Half a turn is pinned as 180.

Soul's verdict cut-kit-roll-aim.s1: findings aim-floor-below-float32-noise and
reach-exact-edge-refused-and-unpinned; survivors S6, S7, S8.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 04:31:37 +01:00
Meta Vens
c788b9d9b6 kitbash_pose.py: each metric read before its check, bounds by the margin rule; live result files
Bounds set from the shipped readings and nine mutants applied once each to a scratch copy (R1 atan2(A, B), R2 the
farther root, R3 roll without the seat, R4 no closures, R5 no aim floor, R6 left-handed roll_terms, R7 attach's
inline write kept, R8 the dot without its hypot, R9 sockets swapped in write_connection): every one fails a
unit test or a live check by name. kitbash, kitbash_assembly and kitbash_pose result files from Blender 5.3.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 03:55:39 +01:00
Meta Vens
bff51e887f brokkr_kitbash: roll, aim and reach pose an attached part in place, the roll solved in closed form
write_connection is the one writer of a connection (parent, seat, kit_socket, kit_parent_socket, kit_roll);
attach's inline write moves into it. roll states an attached part's roll where it hangs; aim and reach solve
it from core.roll_terms (d . p = A cos + B sin + C): aim_roll = atan2(B, A), reach_roll = atan2(B, A) +- acos,
the root nearer the current roll. Each reports closures as set_params does and never seats one.

PoseTests pin the solves against core.mate; tests/live/kitbash_pose.py exercises the three operators and their
refusals through run_intent. Cut kit-roll-aim (aetheria-release:cut_spec:cut-kit-roll-aim.r1).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 03:53:49 +01:00
ffb5a788e4 Merge pull request 'brokkr_kitbash: cut any mesh at a ray, a cutters kit with floor sockets, one collection Boolean per operation, shared socket types (cut shell-cuts)' (#28) from nibu/shell-cuts into main 2026-12-02 02:52:18 +00:00
Meta Vens
513b89fd35 brokkr_kitbash.cut_many, a cutter axis, three floors on a slot
A cut costs one Boolean evaluation of its target, because Blender evaluates a
changed target after every action; cut_many places many cutters in one action,
all or none, for one evaluation (Heron's pod: 4.9 s for 13 cutters against 113 s
for 15 cut actions). cut and cut_many place through one function, place_cutters.
axis states a cutter's z in place of the surface normal, so a panel break does
not lean with a sloping roof. A slot carries floor_l and floor_r beside floor.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 03:16:14 +01:00
Meta Vens
889f549548 docs/kitbash.md: what a cut costs on a pod with 15 cutters
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 02:53:42 +01:00
Meta Vens
c6aeeff52b brokkr_kitbash.cut: cut any mesh at a ray with a part of the cutters kit whose floor is a socket
kits/cutters.v0.json: box, cyl, slot and slab, spanning z from -depth to +lift;
box, cyl and slot carry a floor socket (mount) on the bottom of the recess.
core.surface_frame is the cutter's frame at the hit. cut casts at the target with
its Kit Booleans off, places the cutter as a kit part parented to the target under
an identity parent inverse and adds it to the difference collection: the cutter
object owns the recess frame and size, and machinery attaches to its floor with
the ordinary attach.

tests/live/kitbash_shell.py: cut on a cage that is not a kit part, a vent on a
floor, the three Boolean modifiers, the refusals, an object in no collection, and
the ends-first order of a set_params report's closures (finding
cut-kit-joints.s2.attach-onto-orphan-and-ends-first-unpinned, part 2).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 02:35:14 +01:00
Meta Vens
972d51e1ee brokkr_kitbash: parts of two kits mate by the socket types both declare alike
core.joint no longer refuses parts of different kits. mate_refusal takes the child
kit's socketTypes and the two kit names: a type the child's kit does not declare
with the parent kit's match is refused naming both kits; then the shared size rule.
One kit reads as before.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 02:03:48 +01:00
Meta Vens
a3172c031b brokkr_kitbash: one Boolean modifier per operation over a collection of cutters, on any mesh
The per-cutter modifier (Kit Boolean <cutter>, operand OBJECT) is gone. A target
carries at most Kit Difference, Kit Union and Kit Intersect, each Exact with
self-intersection, each over a collection in no scene; operation_collection is the
one way a cutter comes to cut, and booleans() reads the three collections. boolean
takes any rigid mesh target; apply removes the collections it emptied of users and
leaves the cutter objects.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 02:02:34 +01:00
Meta Vens
ae56f48d70 mesh_object refuses an object in no collection
A deleted object a closure still points to stays in the file; attach, set_params,
report, boolean and every polish operator found it by name. The refusal moves from
close into mesh_object, which they all share (finding
cut-kit-joints.s2.attach-onto-orphan-and-ends-first-unpinned, part 1).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 02:00:19 +01:00
980ae6a8a9 Merge pull request 'brokkr_kitbash: pin-axis pivots, tank lugs, a bracket, close for loops, sharp lathe points (cut kit-joints)' (#27) from nibu/kit-joints into main 2026-12-01 19:25:42 +00:00
Meta Vens
13ba0d05ac brokkr_kitbash: a closure on a deleted, unlinked, scaled or doubly held part reads broken, with a reason
Fixes the findings of verdict cut-kit-joints.s1.

closure() reads the other part as gone when the pointer is empty or the object
is in no collection: the pointer itself keeps a part deleted with the Delete
operator in the file as an orphan, and the closure read it as holding. close
refuses a part in no collection, and an orphaned closing part holds no socket.

A closure's report gains reason, null when it holds: the other part is gone
(to null); it cannot be read against (scaled by hand, not a kit part, of
another kit; to names it); another part's closure names the same socket, as a
duplicated closing part leaves, and then neither holds; or the sockets stand
apart.

set_params lists the closures its own part is an end of first, then the
broken, then the rest, and leaves rows off the end when a receipt is full. It
reads each kit file once per report: 3.9 s to 0.39 s at 150 closures, 12.8 s
to 1.16 s at 450 (the cost was linear, two kit parses a closure).

kitbash_assembly.py: close of a brace moved 3.2e-4 is refused, a receipt with
room for one row keeps the opened closure and counts the other, and the
unlink, Delete, scale and duplicate cases.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 20:15:01 +01:00
Meta Vens
dc8dcdb0c3 kitbash_assembly.py: a closure check that finds no closure fails by name instead of raising
Mutant J5 (occupant ignores closures) ended the script on an AttributeError
before any check printed; it now dies on the three occupancy refusals.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 19:17:56 +01:00
Meta Vens
3ae142555c brokkr_kitbash: close states a loop's closing joint and never moves anything
Connections stay a tree owned by the child. A loop is closed by a closure: the
closing part's kit_close_socket, kit_close_to (an object pointer) and
kit_close_to_socket. brokkr_kitbash.close writes them only when the two
sockets already meet (core.closure_residual within HELD, any roll) and writes
nothing else; detach clears them, and now also accepts a part that states
only a closure. Reports derive a closure's residual and holds each time.

attach's inline occupancy scan is gone: occupant() is the one rule for attach
and close, and counts closures at both ends. set_params refuses a change after
which a closure's two sockets may no longer mate, checking closures before
connections so the refusal names the closure, and otherwise only reports: its
report lists every closure in the scene as closures [{part, to, holds}].

kitbash_assembly.py builds a braced leg on a tank's two lugs with rolls from
the law of cosines and closes it; test_a_brace_closes_on_a_leg does the same
in numpy (2.2e-16).

Cut kit-joints.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 19:10:08 +01:00