Draft 2026-11-09. Status: proposal, nothing built. Written for Sebastiaan and for whoever implements a phase.
Turning a ripped model into a unit costs hours of hand work in three windows, and almost all of that time is decisions, not computation. The Cutter, the Fuser and the Vehicle Lab already do the cutting, welding and collapsing in seconds; what takes the time is deciding, part by part, what each of up to 3,350 rows is and what should happen to it. Three kinds of decision:
| Decision | Where | What the user does today | Why it is slow |
|---|---|---|---|
| Identify: junk, interior, outer skin, deck, canvas, rope | Cutter (Split, X), Lab (Ignore) | Clicks rows, reads the preview, deletes what looks useless | Nothing says a 10-triangle sheet is the ship’s outer skin; wrong deletes come back as see-through hulls |
| Group: which plates form one shell, which part mirrors which | Fuser (⊕ letters, mirror finder) | Assigns letters row by row, side by side | Hundreds of plates per hull; the geometry already knows which plates touch |
| Tier: role per part, reduce dial per role, under 30k triangles | Lab (roles, Vertices control, Verify) | Marks roles, sets 15 dials, reads the projection, re-marks | Role is a judgement; the dials are an optimisation the user does by hand against the projection |
The aim is an advisor that makes a first pass at all three and hands the result to the user as proposed marks
in the windows that exist, to accept, change or reject. It never applies anything on its own. This keeps the one
design rule that has held up in this project: the user marks, roles decide (explicit-marking-beats-heuristics).
The advisor is a faster way to produce marks, not a hidden heuristic.
Ground truth, written by the user over months. Every saved recipe, sidecar and fuse report is a record of the user’s judgement on a real model:
| Asset | Count | What it teaches |
|---|---|---|
| Vehicle Lab recipes | 26, with 5,284 parts | Per part: name, vertex count, centre, size, visibility, bone, offset, scale, and the role the user chose; per model the 15 reduce dials |
Marks sidecars (.marks.txt) |
22 | Which parts the user split (S) and deleted (X) |
Fuse sidecars (.fuse.txt) |
27 | Which parts the user grouped into which shell |
| Fuse reports | 14 | Per sheet verdicts, warnings, faces rewound |
GLB files in D:\3DModels |
148 across 65 model folders, of which 50 split, 21 fused, 8 cut | The inputs and outputs of every stage |
Three caveats on the corpus. It is skewed to ships (about two thirds of the parts); tanks, aircraft and guns are thin.
Recipes can be stale against their re-cut sources, 3 of 20 were when last checked, so they must be re-probed
through tools/recipe_migrate.py and the fuse reports before use. And most parts carry the default role, so the
informative labels are a minority: on the role task the metric must be per role, not overall accuracy.
Signals the code already computes. The C# probe gives each part its island count, bounding box, vertex count, and the escape-ray Visibility verdict; the Lab tags parts the inside-out fix would flip (⟲) and finds flat parts (the deck finder); the Fuser’s mirror finder pairs parts across the centreline; Verify prints the per-role vertex statistics and the post-dial projection. These are the advisor’s inputs, and they are deterministic and tested.
A local model that can read tables and images. The home PC runs Ollama with qwen3.6:35b-a3b-q3, which has a
vision encoder, and gpt-oss:20b. Both are the user’s own, on the user’s own machine, so the privacy question that
constrains PET does not arise here; the models are still kept local.
Not every decision wants a language model, and the plan says so up front:
shroud, window,
Material2_5), it can say why it chose a role, and it generalises to a vehicle class the corpus lacks by
reasoning rather than by proximity.Each phase ends with a number against held-out models, never with “looks right”. Hold out whole models, not parts: leave-one-model-out over the 26 recipes.
recipe_migrate.py has brought stale recipes up to date.tools/advisor/corpus.py and evaluate.py, a Bake Tests row that runs them, and the baseline
numbers in this document.Status (2026-11-09): built, except the Bake Tests row. The two scripts exist; their unit tests run in the push
gate (Tests/test_advisor_corpus.py); the export and the evaluation are commands, not a row, because the corpus
lives on this machine’s D:\3DModels and there is no proposer to run yet. The row comes with Phase 1’s first
proposer. The manual timing has not been done; it waits for the next new model.
The evaluation keeps answers out of held-out proposer inputs. test_rows exposes the explicit PART_FEATURES
allowlist in evaluate.py: identifiers, names, geometry and the visibility/flip/bone probe observations. It omits truth,
roles, marks, fuse outcomes, placement edits and recipe joins; test_model exposes only model/category/files, never
saved dials. Training records retain their labels. Fold arguments are copied so a proposer cannot change scoring
truth or contaminate a later fold by normalizing its inputs in place. The corpus CSVs retain all columns for auditing.
The sidecar reader accepts ASCII signed Int32 indices, preserves both readings of legacy names ending in |<number>
and refuses ambiguous matches, as the Workshop does. Feature-cache keys retain nanosecond timestamps, so equal-size
edits within a second invalidate the cached geometry. These review regressions bring the advisor suite to 35 cases.
On the real 33,441-row corpus (65 folders), the built-in baseline reports before and after isolating proposer inputs
are identical: those baselines never used the leaked answers. A cached export still takes about 3 seconds.
python tools/advisor/corpus.py --out C:/tmp/haf-advisor # 65 folders, about 6 minutes cold since the merge port, 3 s from the cache
python tools/advisor/evaluate.py --corpus C:/tmp/haf-advisor --write baseline.md
What the export found about the corpus itself, before any metric:
minVerts split), not nodes, and are reported, not guessed. The Saleg’s recipe is stale
against its re-fuse: 9 parts name nodes the fused file no longer has.Box.001, Box.002; the Cutter names the same nodes
Box_2, Box_3. 74 parts (the Rah66’s 72, two on the Great Eastern) join by that rule, in node order.blocked, triangle_free and auto_mark, and the deletion task is
scored twice, with and without them. auto_mark applies the rule to the saved sidecar, the Workshop applied it at
first load: 458 such parts carry no X today (413 of them the Dragon’s raw file, loaded before the rule or cleared),
and the second scoring drops them with the rest. A deliberate keep of a two-triangle part is lost there; the count
is small and the alternative would score the Dragon’s 413 tool-shaped parts as the user’s negatives.The baselines, leave-one-model-out, pooled (the full tables are in baseline.md beside the export):
| Task | Population | Trivial baseline | Best cheap baseline |
|---|---|---|---|
| Role | 4,588 labelled parts in 26 models (Body 2,830, Turret 607, Wheel 479, Ignore 256, then a long tail; armour 3,527 of them, nearly all the Ehrhardt) | always Default: 1 % right | majority role of the other models: Body 62 % precision / 100 % recall, every other role 0 % |
| Delete | 29,482 parts in the 52 files the user judged (marks, letters or a recipe), 10,673 deleted (36.2 %) once a deletion at a later stage file counts for the same part at the earlier one (Phase 1’s status; it was 7,241 before) | never: recall 0 % | the smallest tenth of each file: 57 % precision / 20 % recall; every interior part (vis = 0, the probe’s verdict for every file since Phase 1): 88 % precision / 14 % recall |
| Delete, the user’s own marks | the same files without the 2,128 parts the Workshop marks itself: 27,354 parts, 8,589 positives (31.4 %) | never | the smallest tenth: 39 % precision / 15 % recall; every interior part: 84 % / 13 %. Size alone finds the tool’s deletions, not the user’s; the verdict finds one in eight of the user’s at high precision |
| Split | 10,457 splittable parts in the 11 raw and cut files with marks, 178 marked S or T (1.7 %) | never | multi-island part above the file’s median size: 18 % precision / 79 % recall; every multi-island part: 14 % / 100 % |
| Group | 19,056 parts in 27 files with letters; 1.34 M of 21.1 M pairs truly together | all apart: 0 % recall; all together: 6 % precision | one group per material name: 14 % precision / 1 % recall of the together pairs |
| Dials | 16 recipes carrying dials; a dial a recipe lacks reads as the Lab’s default (rigging 75, structure 50, else 0) | median dial of the other models: body 23 points mean error, structure 13, rudder 40, default 50 | the category’s median: body 22, structure 10, rudder 26, default 27 |
What the numbers say about the phases: the Split heuristic recalls four in five of the user’s splits at one right proposal in five, so Phase 1’s island-dominance rule has a precision job, not a recall job; grouping by name is useless, so Phase 1’s contact graph has the whole job; deletion by size finds only what the Workshop already deletes by itself, and the user’s own deletions had no cheap signal until the probe’s visibility verdict was in the table for every file (Phase 1: it is now, and the deletion proposer builds on it); roles are 62 % Body and the interesting roles are a few hundred parts each, so Phase 2 and 3 are judged per role, never overall.
.fuse.txt the Fuser loads with Load groups.Status (2026-11-09): the Split proposer and the deletion proposer are built and measured, with the probe’s visibility verdict in the table for every file; grouping is not started.
GlbDisconnectedParts.AnalyzeMesh, “DISTANCE MERGE”) is ported into corpus.py as islands_merged, with the
largest and second island’s share of the part’s triangles and the number of islands holding 1 % or more. The
port follows the C# step for step (vertex-distance grid, the principal-axis gate that lets elongated islands
chain only when colinear, the pair budget); its base islands are the exact-position weld where the probe welds
at a few ulps, and there is no oracle for the merged count outside the editor. The cold export is about six
minutes now (the Saleg’s raw file alone 89 s), 3 s from the cache.tools/advisor/proposers/split.py proposes S for a part that is not blocked, has at least K merged islands, T
triangles and B islands of 1 % or more; K, T, B are learned on the other models by exhaustive search over a
small grid, maximising F1. Leave-one-model-out on the 10,457 splittable parts of the 11 marked raw and cut files
(178 marked S or T): 74 % precision, 78 % recall (187 proposed, 139 right, 48 wrong, 39 missed), against
18 % / 79 % for the best size heuristic. The learned rule is the same on 9 of 10 folds: 6 merged islands,
5,000 triangles, no B. F0.5 was measured first (72 % / 68 %) and lost to F1; a within-file size percentile added
nothing.The second route (2026-11-14, the U-boat). The first new model cut after the proposer existed
(TurbineSubmarine/project_50_u-boat.glb, 16 nodes): the rule found the four big parts and missed three small
ones the user split (350, 735 and 2,561 triangles, 14 to 22 merged islands), while a fourth of the same size was
left whole. The user’s reason: “it depends on whether they are the same parts” (the part left whole is fourteen
identical windows). corpus.py now counts that as island_shapes: the islands before the merge, two of them the
same shape when their triangle counts are equal and their boxes’ sorted extents agree within 3 % (an extent near
zero within 3 % of a twentieth of the island’s size, so a flat window and its turned copy are one shape); and carries
file_nodes, the file’s mesh-node count. On the U-boat the shape count separates all 9 multi-island parts (1 shape:
left; 2 to 50: split). On the other models only half of it holds: of 3,089 raw/cut parts with two or more merged
islands, 3 of the 220 one-shape parts were split, but also only 131 of the 397 with ten or more shapes; most of
the unsplit ones are in files of hundreds or thousands of nodes. So the proposer gained a second route, not a
fourth threshold: a part the first rule leaves is proposed when it has at least S different shapes in a file of at
most N mesh nodes, S and N learned after K, T, B on the same training models and used only when they beat the
first rule alone there. Leave-one-model-out on the corpus of that day (10,478 splittable parts in 12 models and
13 files, 188 marked S or T):
| Rule | Precision | Recall | Proposed | Right | Wrong | Missed |
|---|---|---|---|---|---|---|
| first rule alone (the corpus has grown: 74 % / 78 % on 2026-11-09) | 71 % | 77 % | 204 | 144 | 60 | 44 |
| with the second route | 68 % | 86 % | 237 | 161 | 76 | 27 |
The route learned is 6 shapes in a file of at most 200 nodes on 10 of 12 folds (8 shapes on one, 100 nodes on
one). Its 33 extra proposals are 17 right and 16 wrong; the gain is on the Svea (12 to 19 found, 4 to 11 wrong),
the Roberts (20 to 24), the Surcouf (1 to 3 of 3) and the U-boat (4 to 7 of 7, none wrong). Three controls,
measured with a scratch learner before the build: the shape count as a fourth threshold of the first rule
changes nothing (144 right, 64 wrong); the route without the node limit is never learned; the route with the
merged island count in place of the shape count reaches the same recall with 78 wrong where the shapes give 76.
So the file’s node count does most of the work and the shape count removes the identical-copies case. What it
costs and does not explain: precision is three points lower; in the 13 files that went to the Lab uncut
the route would propose 38 splits on eight models (21 on the Jagdpanzer) where the first rule proposes 13, unscored
because there is no mark to compare with; and within one file the choice between two small bags of eight to ten
shapes (the Svea’s Material3_3 split, Material2_14 left) is about what the things are, which no feature here
sees. The beta and the route are choices the user made on these numbers (“yes for now”).
python tools/advisor/proposers/split.py --corpus <dir> --model "<folder>" --write puts
<file>.glb.marks.proposed.txt beside each raw or cut GLB, in the sidecar’s format, trained on every other
model. Every raw/cut file present in the corpus is refreshed, including an empty proposal when nothing is
recommended or all parts are blocked, so a previous run cannot leave stale S marks behind. The learner abstains
when no grid rule finds a training split, including when training is empty or has no positive labels.
It never writes the live .marks.txt; the user renames or merges it. Loading a proposal into the
Cutter is Phase 6.tools/advisor/probe_vis.sh compiles tools/advisor/ProbeVis.cs against the
editor sources (the vehicle probe drill’s compile list) and runs the Lab’s own probe (VehicleProbe.Run: the escape
rays over one BVH of the whole file, the inside-out count) over every GLB corpus.py --list names, as a 64-bit
process; all 53 files take about 40 s (38 and 44 s wall on two runs of 2026-11-09; the Saleg’s split file 7-8 s). corpus.py --probe <table> joins the rows by
glTF node (a single-mesh file’s loose parts fold onto their node: external when any part escapes, flips summed) and
checks each file’s size and write time against the table - a file re-cut since is reported stale and falls back to
the recipe’s verdict, named in vis_from. The join’s own check: of the 1,128 recipe rows carrying a vis field
1,126 agree with the probe and the other 2 are the Lab’s -1 (unclassified, no verdict). 30,740 probe rows fold onto 30,053 corpus rows,
1,681 of them interior (the 3,388 recipe-only rows keep the recipe’s verdict).corpus.carry_later_marks carries the X back as mark_later when name and vertex count
match in a later stage file of the same folder whose name extends this file’s with stage tokens (3,432 of 3,432
match on both, no conflict: no part is marked X at one later file and listed unmarked at another of the same or a
higher stage); a part absent from the later file is not inferred deleted (the Teutonic’s _cut2_split lists 220
of 1,437 unmarked parts: a partial export), and an unnamed node is never the same part. The evaluator’s delete tasks count mark_later; the table above carries the corrected
baselines (the interior baseline went from 75 % precision on the uncorrected truth to 84 %).tools/advisor/proposers/delete.py proposes X for a part the probe calls interior whose largest extent is at
most A of the model’s, or any part at most B of the model’s extent; A and B are learned on the other models over
a small grid maximising F0.5 (precision double: a wrong deletion is a hole in the model, a missed one a click),
ties to the stricter rule. Leave-one-model-out on the 27,354 hand-judged parts (8,589 deleted): 86 % precision,
52 % recall (5,180 proposed, 4,443 right, 737 wrong, 4,146 missed), against 84 % / 13 % for every interior part
and 39 % / 15 % for the smallest tenth. The rule is interior up to 10 % of the model, anything up to 0.05 %, on
23 of 26 folds (F1 would learn a looser one, every interior part and anything up to 0.1 %, on 24 of 26: the beta
is a choice, not a detail). Per model: the Espana 2,937 right and 52 wrong, the Dragon 1,042 and 34, the Rah66 45
and 0; the Romanic is where it is wrong (all its 494 wrong carry a fuse letter: tiny parts the user lettered into
fuse groups instead of deleting; 603 of the 737 wrong over every model do), the Steam Frigate 115 wrong of 206.
The misses are 3,696 exterior parts (450 of the 4,146 missed are interior), four in five of them between 0.07 %
and 2.7 % of the model (median 0.35 %): visible fittings the user judged not worth their triangles, which no size
rule separates from the ones kept - Phase 4’s question. --write puts the X lines into the same
<file>.glb.marks.proposed.txt the Split proposer writes its S lines to (proposers/common.py: each proposer
owns its letters, the other’s stay). If two letters target the same node, the write is refused by name and node
index so the user can resolve the conflict; the previous file remains unchanged. Writes replace the proposals
file atomically, so a failed write cannot discard the other proposer’s saved lines. A deletion candidate requires
all three size dimensions to be finite and nonnegative; a partly unknown box is never treated as tiny.gpt-oss:20b as variants.BAKED MESH verdicts of past bakes.Editor-Tools.md, section Model Cutter and Model Fuser.Vehicle-Lab-Quickstart.md, sections 3, 4 and 9.C:\Repo\ENCReload\Assets\FactorySource\VehicleLab\Recipes\*.json; migration: tools/recipe_migrate.py.tools/advisor/corpus.py, tools/advisor/evaluate.py (a proposer is a module
with propose(task, test_rows, train_rows, test_model, train_models)); tests: Tests/test_advisor_corpus.py.D:\3DModels\<model>\.how-we-connected-the-laptop-to-the-home-model.md and model-recommendation.md on the Desktop.