Skip to content

Commit 5ff4287

Browse files
TMHSDigitalclaude
andcommitted
docs(showcase): conventions for edge treatment, one-shell L sections, host-derived part classifiers, plank variation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>
1 parent 3ce6b1c commit 5ff4287

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

‎showcase/README.md‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ entry in `showcase/gallery.json`, and a rendered still.
5050
`--skew-wheel` / `--turn-posts` break a mirror or placement budget
5151
(exit 19). `--float-rivets` lifts fasteners off their host (exit 18).
5252
`--round-haft` turns an oval section round (exit 19).
53+
`--float-nails` lifts nail heads off their strap (exit 18).
54+
`--sharp-iron` skips a chamfer pass so the edge-treatment budget fails
55+
(file-local code; `crate-stack` uses 21).
5356
A budget with no falsifier witnesses nothing:
5457
prove each one fails once, and check the exit code, not just
5558
non-zero.
@@ -299,6 +302,34 @@ entry in `showcase/gallery.json`, and a rendered still.
299302
because the log's wobble drops the surface 1.4 mm across one head.
300303
Aimed down the normal both seat at 1.50–1.54 mm. `--float-rivets` is
301304
the falsifier.
305+
- **Edge treatment: no right angles (file-local code).** Real objects
306+
have chamfers that catch light. Where every box in a piece is
307+
chamfered, count manifold edges whose faces meet within 5° of 90° and
308+
assert **0** — a one-segment chamfer turns every 90° edge into two 45°
309+
ones, so a survivor is a bevel pass that was skipped. Chamfer thin
310+
stock at its own offset: `crate-stack`'s 3.5 mm iron takes 0.8 mm,
311+
where the timber's 1.8 mm would leave no flat. Pass `material=` to
312+
`bmesh.ops.bevel`: left at its default the chamfer faces took slot 0,
313+
and the iron plates rendered — and were classified — as timber.
314+
`--sharp-iron` is the falsifier. 15–19 are reserved, so the code is
315+
the piece's next free one.
316+
- **An L-section is one shell, not two boxes (exit 15).** Two
317+
overlapping boxes for the legs of an angle strap share the outer
318+
corner edge; chamfer them and both lay a strip on the same line — a
319+
coplanar cross-shell pair at every corner (`crate-stack`: 12). Extrude
320+
the L profile once, each cap as two convex quads meeting on the
321+
inner-corner diagonal, and skip that flat diagonal in the bevel.
322+
- **Classify small parts by a size derived from the host.** A nail,
323+
rivet or stud told apart from its plate by world-AABB extent needs a
324+
threshold taken from the plate (`IRON_WRAP * 0.5`), not from the
325+
fastener: a yawed 10 mm head has a world AABB wider than 10 mm, and a
326+
fixed 10 mm threshold silently dropped 8 of 48 nails.
327+
- **Identical boards read as CG.** Planks cut from one material are one
328+
plank repeated. Give each shell a seeded tone and its own grain
329+
direction — its long axis, recovered from its vertices — as face
330+
attributes, and have the shader stretch its grain along that axis
331+
rather than a world axis, which a yawed member is off by its yaw.
332+
Nothing here is an assertion; it is found on the inspection sheet.
302333
- **A section that carries the read is a budget (exit 19).** Where a
303334
cross-section is what makes a part recognisable — an axe handle is
304335
oval, a broom handle is round — assert it as a ratio band at a named

0 commit comments

Comments
 (0)