Repository navigation
Commit fc087a8
fix(gallery): nine showcase witness callouts quoted pre-remodel numbers
Each showcase detail page shows a "witnesses" callout (witnessesFix in
showcase/gallery.json) that opens "Recomputed: N tris, ...". It is
hand-written, and earlier remodels updated the README budgets but not the
callout. Nine published pages quoted stale models:
piece witness measured
street-lantern 3338 4726
treasure-chest 3852 3816
water-trough 3316 4792
hitching-post 1852 2156
hand-pump 1064 2412
iron-cauldron 3664 4180
wooden-ladder 2536 3000
crate-stack 4380 6060
stone-archway 924 1140
Each was re-measured from its script (.scratch/blender-5.2.1, 5.2.1 LTS;
"measured ..." lines). The witness numbers that run reports were corrected:
triangles, per-material face counts, outer AABB, convex collider, and the
piece-specific gaps it prints (hand-pump spout gap and column radius,
water-trough water gap and containment rays, crate footprint). Claims the
run does not print were left as written. wooden-ladder's README also said
832 metal faces where the script measures 976; fixed.
tests/check_witnesses.py (in Validate): a witness that quotes a triangle
count must equal every measured column of its README's "Base triangles"
row. On the old gallery.json it reports exactly the stale pieces; now 76/76
pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 226a089 commit fc087a8
14 files changed
Lines changed: 94 additions & 29 deletions
File tree
- .github/workflows
- docs/gallery
- crate-stack
- hand-pump
- hitching-post
- iron-cauldron
- stone-archway
- street-lantern
- treasure-chest
- water-trough
- wooden-ladder
- showcase
- wooden-ladder
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments