code wiki / _hdl_build / nx_meshseg3d_gate.nx
nx_meshseg3d_gate.nx
buildroot/runtime/_hdl_build/nx_meshseg3d_gate.nx
about
nx_meshseg3d_gate.nx -- benchmark 3D part segmentation (cadtwin P2). Known meshes -> correct segment count:
CONNECTIVITY (2 separate boxes -> 2 parts), CREASE split (1 box, cos>0.5 -> 6 faces), CREASE merge (1 box,
cos>-0.9 -> 1 part), DATA-DRIVEN threshold controls granularity, determinism. Segment = decompose a scanned
mesh into parts for per-part analysis. expect_exit: 0 license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_meshseg3d.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
| 7 | func sg_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 8 | func sg_putn(v: i64) -> i64 |
| 21 | func sg_tooth(name: *u8, pass: i64, fails: *i64) -> i64 |
| 29 | func main() -> i64 |