code wiki / _hdl_build / nx_print_dispatch.nx
nx_print_dispatch.nx
buildroot/runtime/_hdl_build/nx_print_dispatch.nx
about
nx_print_dispatch.nx -- LIB: the MULTI-MATERIAL print dispatcher (3D-printing workstream R1-unify). ONE
entry point -- "emit this geometry in THIS material" -- routes by material to the right toolpath emitter:
FILAMENT -> nx_fdm_gcode (hot hotend, sub-mm), concrete -> nx_paste_gcode (cold paste), steel_waam ->
nx_metal_gcode (arc + cooling dwell). Materials with no emitter yet (clay, steel_dmls) and unknown ids
return 0 -- HONEST refusal, never a wrong/unsafe emit. The unification that makes "3D printing in all
materials" a single capability. license_tier: ORIGINAL
dependencies 7 imports · 1 importers
imports: nx_fdm_gcode.nxnx_paste_gcode.nxnx_metal_gcode.nxnx_print_material.nxnx_food_science.nxnx_seg_store.nxnx_syscalls.nx
imported by: nx_print_dispatch_gate.nx
structs
| none |
consts
| none |
functions
| 16 | func pd_emit(prefix: *u8, mat_id: *u8, w: i64, d: i64, h: i64, out: *u8) -> i64 |