code wiki / _hdl_build / nx_partanalyze_gate.nx

nx_partanalyze_gate.nx

buildroot/runtime/_hdl_build/nx_partanalyze_gate.nx

4993 B99 linesdepth 6pulls 7 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_partanalyze_gate.nx -- benchmark the end-to-end underbuilt-part analysis (cadtwin R8-geometric). A 2-part mesh (a THIN plate + a THICK block) -> segment -> per-part thickness -> the plate flagged UNDERBUILT, the block OK. DATA-DRIVEN threshold flips the verdict (neg-control). Deterministic. This is "identify underbuilt parts" working end-to-end (segment + measure + flag). expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_partanalyze.nx nx_partanalyze_gate.nx

imports: nx_partanalyze.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main pg_puts m3_bytes m3_init m3_hdr m3_box m3_add_vert m3_hdr ↻ m3_vert m3_add_tri m3_hdr ↻ m3_tri pa_analyze ms_segment m3_hdr ↻ mtk_face_normal m3_tri ↻ m3_vert ↻ mtk_isqrt ms_adjacent m3_tri ↻ m3_hdr ↻ mtk_face_thickness mtk_face_normal ↻ mtk_centroid m3_tri ↻ m3_vert ↻ mtk_cast m3_hdr ↻ m3_tri ↻ m3_vert ↻ mtk_ray_tri mtk_fxmul mtk_abs mtk_fxdiv pg_putn pg_puts ↻ pg_tooth pg_puts ↻

structs

none

consts

none

functions

7func pg_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 3: pg_putnpg_toothmain
8func pg_putn(v: i64) -> i64
called by 1: main calls 1: pg_puts
21func pg_tooth(name: *u8, pass: i64, fails: *i64) -> i64
called by 1: main calls 1: pg_puts
29func main() -> i64