code wiki / _hdl_build / nx_t2mesh_gate.nx
nx_t2mesh_gate.nx
buildroot/runtime/_hdl_build/nx_t2mesh_gate.nx
about
nx_t2mesh_gate.nx -- prove the t2mesh GENERATOR emits MANY different objects from text (not hand-crafted).
T1 each prompt -> a valid CLOSED mesh (F~=2V). T2 different prompts -> DIFFERENT geometry (>=6 distinct vert
counts of 8 = the generator actually varies, not one blob). T3 'person' -> the pioneer benchmark body.
Writes knowledge/t2m_*.stl (the EMITTED objects). GREEN = the ecosystem EMITS objects from prompts.
license_tier: ORIGINAL expect_exit: 0
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_sdfrender.nxnx_meshgen.nxnx_t2mesh.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
| 11 | func hw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 12 | func hwf(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 } |
| 13 | func pn(v: i64) -> i64 |
| 24 | func stlnum(fd: i64, v: i64) -> i64 |
| 34 | func wstl(vbuf: *i64, fbuf: *i64, nf: i64, path: *u8) -> i64 |
| 53 | func emit_one(base: i64, F: *i64, cv: *i64, vb: *i64, fb: *i64, out: *i64, prompt: *u8, stl: *u8, failp: *i64) -> i64 |
| 68 | func main() -> i64 |