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
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>
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>
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>
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>
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>