code wiki / _hdl_build / nx_meshgen_connected_audit_t335.nx

nx_meshgen_connected_audit_t335.nx

buildroot/runtime/_hdl_build/nx_meshgen_connected_audit_t335.nx

8157 B163 linesdepth 5pulls 17 transitivereach 0 importersview sourcekind tooltopic meshgen
docsdependenciesstructsconstsfunctions

about

nx_meshgen_gate.nx -- prove the sovereign field->mesh extractor (surface nets) EMITS a valid closed mesh from the pioneer SDF body. T1 emits verts+tris. T2 CLOSED-manifold (F ~= 2V, Euler genus-0). T3 all face indices valid. T4 bounds match the body (tall y-span). T5 manifold vertex usage (>=90% verts used >=3x). T6 writes knowledge/gates/connected-body-sdf-check-t335.stl (the EMITTED mesh, our own code). GREEN = the extractor works -> the bridge from hand-placed SDF to an EMITTED mesh both i2mesh/t2mesh feed. license_tier: ORIGINAL expect_exit: 0

dependencies 6 imports · 0 importers

nx_syscalls.nx nx_sdfrender.nx nx_meshgen.nx nx_meshcheck.nx nx_gltf_export.nx nx_meshseg3d.nx nx_meshgen_connected_audit_t33

imports: nx_syscalls.nxnx_sdfrender.nxnx_meshgen.nxnx_meshcheck.nxnx_gltf_export.nxnx_meshseg3d.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sdf_bytes sdf_body sdf_clear_ops sdf_set_floor sdf_set_mtx_amp sdf_set_kb hw sys_write ↻ mg_build mg_sample_sdf mg_fi sdf_eval sdf_part_distance sdf_lidshell sdf_isqrt sdf_ellip sdf_isqrt ↻ sdf_ellip_rot sdf_isqrt ↻ sdf_lipsweep_part sdf_lipsweep sdf_smax sdf_smin sdf_abs

structs

none

consts

none

functions

13func hw(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 1: main calls 1: sys_write
14func hw2(fd: i64, s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(fd, s, n); return 0 }
called by 1: write_stl calls 1: sys_write
15func pn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
27func iabs(v: i64) -> i64 { if v < 0 { return 0 - v } return v }
called by 1: main
30func stl_num(fd: i64, v: i64) -> i64
called by 1: write_stl calls 2: sys_mmapsys_write
43func write_stl(vbuf: *i64, fbuf: *i64, nf: i64, path: *u8) -> i64
66func main() -> i64