Give the contemporary kit the gate it never had, and fix the five models it immediately caught: ninety coplanar faces across the kit, a waste and a tap hole built as open tubes that culled to black, and a barrier end that two readers in a row took for a fault.

This commit is contained in:
CRTkafa 2026-09-02 07:57:41 +07:00
parent 314d24cc64
commit d8d12915da
17 changed files with 460 additions and 186 deletions

View file

@ -239,6 +239,21 @@ export function createModel(overrides: Partial<PavementSignConfig> = {}) {
))
}
/*
* ...and the whole panel steps back a couple of millimetres from the
* pin.
*
* Both panels are the same frame mirrored, so their stiles' inner
* faces are at the same x by construction. Down at the feet they are
* 600 mm apart in z and nothing notices; up at the pin they converge
* onto each other and become two surfaces in one plane, overlapping,
* with nothing to choose between them. A real hinge has a gap there
* for exactly the reason a modelled one needs one.
*/
for (const g of [...pieces, ...board, ...caps, ...leaves]) {
g.translate(0, 0, facing * 0.0019)
}
bakeOcclusion(pieces, { strength: 0.35 })
return { frame: pieces, board, caps, leaves }
}