code wiki / _hdl_build / nx_fdm_gcode.nx

nx_fdm_gcode.nx

buildroot/runtime/_hdl_build/nx_fdm_gcode.nx

3508 B66 linesdepth 5pulls 6 transitivereach 2 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_fdm_gcode.nx -- LIB: a standard-FILAMENT (FDM) wall emitter -- the filament arm of the multi-material dispatcher, parallel to nx_paste_gcode (concrete) + nx_metal_gcode (metal), so the SAME wall primitive can be emitted in any material. (Production filament uses the mature nx_slice_*->nx_gcode_emit pipeline for arbitrary geometry; this is the wall primitive for the multi-material demo.) The FDM signature vs concrete/ metal: a HOT hotend (M104/M109) + sub-millimetre layers (decimal Z). Reads the material profile (temp + layer height). CARDINAL 26 (never-brick): motion + hotend-temp + extrusion only; no firmware/EEPROM writes. license_tier: ORIGINAL

dependencies 4 imports · 1 importers

nx_print_material.nx nx_food_science.nx nx_seg_store.nx nx_syscalls.nx nx_fdm_gcode.nx nx_print_dispatch.nx

imports: nx_print_material.nxnx_food_science.nxnx_seg_store.nxnx_syscalls.nx

imported by: nx_print_dispatch.nx

structs

none

consts

none

functions

14func fg_um_to_mm(dst: *u8, off: i64, um: i64) -> i64
called by 1: fg_emit calls 1: fd_apnum
24func fg_move(out: *u8, off: i64, x: i64, y: i64, e: i64) -> i64
called by 1: fg_emit calls 2: as_appendfd_apnum
33func fg_emit(prefix: *u8, mat_id: *u8, w: i64, d: i64, h: i64, out: *u8) -> i64