brokkr_kitbash.freeze and thaw: a finished cut object keeps its evaluated mesh and stops paying for every live Boolean; apply is cut (cut kit-freeze) #37

Merged
eureka merged 5 commits from nibu/kit-freeze into main 2026-12-02 21:54:39 +00:00

2026-12-02

Meta Vens
brokkr_kitbash freeze: one writer of the frozen state, hold; a deleted frozen object releases its live mesh; importGltf drops kit_* extras (cut kit-freeze, fix batch h3)
hold is the only writer of kit_frozen, kit_kept and a held live mesh's fake user, and it swaps the meshes. It settles
every live mesh after each depsgraph update and before each save: held meshes are kept, kit_kept pointing at the frozen
mesh; a mesh no kit_frozen points at is released unless an object still carries the frozen mesh its kit_kept names.
The bridge's kit_owned is the one test for kit_*: setObjectCustomProperty refuses, importGltf drops and reports.
thaw removes the frozen mesh by user_map, names the kept mesh when kit_frozen was lost; a dirty part is refused as
dirty; the export refusal counts show_render as the report does.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 22:34:24 +01:00
Meta Vens
brokkr_kitbash freeze: kit_* refused by the bridge's property setter, the held live mesh kept by a fake user, a dirty frozen part reported and refused at export (cut kit-freeze, fix batch h2)
Answers verdict aetheria-release:verdict:cut-kit-freeze.s1.

- setObjectCustomProperty refuses any name starting with kit_: those properties are brokkr_kitbash's state, so
  kit_frozen keeps freeze and thaw as its only writers.
- freeze gives the held live mesh a fake user (marked kit_kept, taken back by the last thaw), so a purge cannot
  delete it when kit_frozen is overwritten by hand; thaw's refusal then names the kept meshes no frozen object holds.
- part_report: faces is the live mesh's count, frozen or not; a frozen part adds evaluated {faces}; a frozen part
  with a modifier shown again reports dirty (the modifiers) and frozen false. freeze reports faces (live) and
  evaluated {faces, volume, nonManifoldEdges}.
- exportGltf with applyModifiers refuses an export that includes a frozen object with a modifier shown.
- Live pins: kitbash_hose freezes a hose and its rebuild is refused; kitbash_assembly pins the setter refusal, the
  purge with an overwritten kit_frozen, the dirty report and the export refusal.
- kitbash_assembly and kitbash_faceted print their wall times and keep them out of the result files.
- docs/kitbash.md: the KESTREL wall-time ratio as a range (about 2.7 to 5.7), the Boolean evaluation counts
  (1035 against 139) as the stable measure.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 22:13:08 +01:00
Meta Vens
brokkr_kitbash.freeze and thaw: a cut object carries its evaluated mesh, its live mesh held in kit_frozen, its stack kept and off (cut kit-freeze, 2 of 2)
Blender re-evaluates every live collection Boolean after any datablock removal,
hide or mesh read in the scene. freeze swaps in the evaluated mesh and turns
every modifier off; thaw is its one undo. live() refuses a frozen object in
set_params, boolean, cut, cut_many, ribs, a shell or hose rebuild and freeze.

Live: three cut tanks frozen cost 0.0022 of what they cost live when an orphan
mesh is removed (mutant F1, modifiers left on: 1.5; bound 0.057).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 22:13:08 +01:00
Meta Vens
brokkr_kitbash: cut apply and kit_baked (cut kit-freeze, 1 of 2)
apply's class, action row, docs and tests go, with BAKED and report's baked key.
A destructive bake removed the stack and the collections that say what cuts a
part; freeze and thaw replace it in the next commit.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 22:13:07 +01:00