code wiki / _hdl_build / nx_step_tess_gate.nx
nx_step_tess_gate.nx
buildroot/runtime/_hdl_build/nx_step_tess_gate.nx
about
nx_step_tess_gate.nx -- benchmark PLANAR-FACE TESSELLATION on the real as1 STEP file (cadtwin P3a geometry).
Teeth: (T1) real tessellation volume on the 53-face model; (T2) EXACT integer area conservation on every face
(signed ear-area sum == polygon shoelace -- any ear-clip bug is a mismatch, no silent bad geometry); (T3) every
tessellated loop lies ON its declared plane (residual bound); (T4) KNOWN-FACE ground truth: face #423 (plane
y=0, origin (10,0,0), normal (0,-1,0)) -> exactly 4 loop verts incl. (20,0,0), all y==0 EXACT, 2 triangles;
(T5) compose: mesh -> STL write -> STL read round-trip; (T6) deterministic. Curved surfaces/holes/chord edges
COUNTED honestly. expect_exit: 0 license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_step_tess.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 10 | func tg_tooth(name: *u8, pass: i64, fails: *i64) -> i64 called by 1: main |
| 18 | func tg_ctx(tt: *i64, st: *i64, mesh: i64, c: *i64) -> i64 |
| 29 | func main() -> i64 |