nx_underridge_master_gate.nx
buildroot/runtime/nx_underridge_master_gate.nx
about
nx_underridge_master_gate.nx -- the CAPSTONE: one definitive, print-ready file with EVERY
feature, composing only already-proven steps. Gel-delivery hook (hookable + dwell-chemistry
power) -> decimate (lean + watertight) -> slice in PETG (correct for the wet toilet job) ->
sovereign G-code. Writes web_assets/underridge_cleaner_MASTER.stl + .gcode.
T1 gel hook meshes (res=36) valid.
T2 decimated lean: decimated tris < mesh tris (reported).
T3 PETG profile used (class=PETG, 235C/75C).
T4 complete G-code (layers, G1, M84) at PETG temp.
T5 both MASTER.stl + MASTER.gcode written.
T6 NEVER-BRICK (#26). (Never-break geometry 2/2 unchanged -> nx_underridge_nevergate.)
expect_exit: 0 license_tier: ORIGINAL
dependencies 13 imports · 0 importers
diagram shows first 10 each side; +3 more imports, +0 more importers in the complete lists below.
imports: nx_syscalls.nxnx_mesh.nxnx_mesh_print_check.nxnx_sdf.nxnx_csg_scene.nxnx_underridge_cleaner.nxnx_mesh_decimate.nxnx_stl.nxnx_stl_write.nxnx_machine_graph.nxnx_material_profile.nxnx_gcode_emit.nxnx_slice_pipeline.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
| 26 | func gw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 27 | func gn(v: i64) -> i64 { let b: *u8=sys_mmap(28); var m: i64=v; if m<0{sys_write(1,"-\x00" as *u8,1);m=0-m} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{b[i]=t[k-1-i];i=i+1} sys_write(1,b,k); return 0 } |
| 28 | func has_sub(buf: *u8, len: i64, s: *u8) -> i64 { var sl: i64=0; while s[sl]!=(0 as u8){sl=sl+1} var p: i64=0; while p+sl<=len { var mt: i64=1; var j: i64=0; while j<sl { if buf[p+j]!=s[j] {mt=0} j=j+1 } if mt==1 {return 1} p=p+1 } return 0 } called by 1: main |
| 30 | func main() -> i64 |