brokkr_kitbash.plates: a plate table written into the scene (cut hard-plate-action) #47

Merged
eureka merged 3 commits from nibu/hard-plate-action into main 2026-12-03 15:35:44 +00:00
Owner

Cut aetheria-release:cut_spec:cut-hard-plate-action.r2, base main 845b633.

brokkr_kitbash.plates is the one writer of a hard plate's objects. It turns a brokkr.plates.v0 table into objects through plate.check and plate.build: a mesh per plate on its host (identity parent inverse, basis host world^-1 x frame), a N.fit.<material> child for panels and for bolts, an empty per anchor (N.mark.<id>, N.port.<name>, kit_anchor), Kit Bevels at 12 and 20 degrees, plate_kind and kit_plate. A plate it made is rebuilt in place. It refuses before it writes.

  • plate._check_clad: optional bolt_mat (default gunmetal) and bevel (default 0.012), carried and never drawn from. Three lines; the parallel cut plate-inset-edge-event edits the seed check beside them, and the second to land rebases.
  • sync_bevel takes an angle, default 30 degrees as before.
  • Action row, test_kitbash table checks, docs/kitbash.md (The action; the clad table; the actions table).
  • tests/live/kitbash_plates.py and its result file.

Proof, on Starfire (Windows 11):

  • python -m unittest discover -s surfaces/blender/tests: 741 tests, OK, 20 skipped.
  • tests/live/kitbash_plates.py in Blender 5.3.0 background with private user directories: 54 checks, all ok. Readings: written 8.5e-08, anchored 2.2e-07, carried 1.0e-07, moved 2.1e-07, ported 3.9e-08.
  • Fourteen mutants of the operator were run against the live test and each fails a check; the bounds sit at the geometric mean of shipped and least claimed mutant (listed in the test's header).

Decided here, where the spec left room:

  • kit_anchor is a JSON string, as every other kit_ record in the package.
  • A frame's last row must be 0, 0, 0, 1; side 0 is refused by the action (the table's integer range is -1 to 1).
  • Also refused: a name made twice in one call, and a host that is one of the call's plates or stands under one.
  • The report's anchors is the empties' names.
  • A stale fit child is a mesh child of the plate named N.fit.*; a stale anchor is an empty child carrying kit_anchor.

Net +1093 lines, 787 of them the live test and its result file; nothing on main is deleted (the tracks' builders go in the import cuts).

🤖 Generated with Claude Code

🤖 Generated with Claude Code

Cut `aetheria-release:cut_spec:cut-hard-plate-action.r2`, base main 845b633. `brokkr_kitbash.plates` is the one writer of a hard plate's objects. It turns a `brokkr.plates.v0` table into objects through `plate.check` and `plate.build`: a mesh per plate on its host (identity parent inverse, basis host world^-1 x frame), a `N.fit.<material>` child for panels and for bolts, an empty per anchor (`N.mark.<id>`, `N.port.<name>`, `kit_anchor`), Kit Bevels at 12 and 20 degrees, `plate_kind` and `kit_plate`. A plate it made is rebuilt in place. It refuses before it writes. - `plate._check_clad`: optional `bolt_mat` (default gunmetal) and `bevel` (default 0.012), carried and never drawn from. Three lines; the parallel cut plate-inset-edge-event edits the seed check beside them, and the second to land rebases. - `sync_bevel` takes an angle, default 30 degrees as before. - Action row, `test_kitbash` table checks, `docs/kitbash.md` (The action; the clad table; the actions table). - `tests/live/kitbash_plates.py` and its result file. Proof, on Starfire (Windows 11): - `python -m unittest discover -s surfaces/blender/tests`: 741 tests, OK, 20 skipped. - `tests/live/kitbash_plates.py` in Blender 5.3.0 background with private user directories: 54 checks, all ok. Readings: written 8.5e-08, anchored 2.2e-07, carried 1.0e-07, moved 2.1e-07, ported 3.9e-08. - Fourteen mutants of the operator were run against the live test and each fails a check; the bounds sit at the geometric mean of shipped and least claimed mutant (listed in the test's header). Decided here, where the spec left room: - `kit_anchor` is a JSON string, as every other `kit_` record in the package. - A frame's last row must be 0, 0, 0, 1; side 0 is refused by the action (the table's integer range is -1 to 1). - Also refused: a name made twice in one call, and a host that is one of the call's plates or stands under one. - The report's `anchors` is the empties' names. - A stale fit child is a mesh child of the plate named `N.fit.*`; a stale anchor is an empty child carrying `kit_anchor`. Net +1093 lines, 787 of them the live test and its result file; nothing on main is deleted (the tracks' builders go in the import cuts). 🤖 Generated with [Claude Code](https://claude.com/claude-code) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
check writes the defaults in (gunmetal, 0.012) and bounds them; build draws nothing from either.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
One writer of a hard plate's objects: the mesh on its host, a fit child per material for panels and bolts, an empty
per anchor, their Kit Bevels (12 and 20 degrees through sync_bevel's angle argument), plate_kind and kit_plate.
Refuses before it writes; the action row, its table tests and docs/kitbash.md, The action.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
54 checks in Blender 5.3 background on Starfire; bounds by the margin rule from fourteen mutants run against it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
eureka merged commit 270da6998b into main 2026-12-03 15:35:44 +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!47
No description provided.