nx_underridge_hook_gcode_gate.nx
buildroot/runtime/nx_underridge_hook_gcode_gate.nx
about
nx_underridge_hook_gcode_gate.nx -- close the SOVEREIGN chain for the REAL geometry: the
candy-cane HOOK cleaner, DECIMATED (watertight, print-ready), goes mesh -> STL -> slice ->
printer G-code (QIDI XMax3 / PLA, 0.2mm). Honest empirical test of the slicer on the tilted
hook (the head tilts up ~15deg; the contour builder is known to be tilt-sensitive).
T1 slices into a real layer stack (hook spans ~25mm @ 0.2mm -> many layers).
T2 emits substantial, COMPLETE G-code (G1 extrusion moves AND M84 motors-off).
T3 writes web_assets/underridge_cleaner_hook_v2.gcode.
T4 never-brick.
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
| 24 | 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 } |
| 25 | 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 } |
| 26 | 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 |
| 28 | func main() -> i64 |