code wiki / _hdl_build / nx_paste_gcode.nx

nx_paste_gcode.nx

buildroot/runtime/_hdl_build/nx_paste_gcode.nx

3691 B63 linesdepth 5pulls 6 transitivereach 3 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_paste_gcode.nx -- LIB: the PASTE/CONSTRUCTION (concrete) G-code emitter -- 3D-printing workstream R2, growing the material ladder from filament into CONCRETE. Generates printable G-code for a hollow cistern wall (the R-ECO rainwater structure): footprint w x d, height h, printed perimeter-by-perimeter, layer by layer. Construction printing differs from FDM: BIG nozzle + thick layers (read from print:mat:concrete), COLD paste (NO hotend M104/M109), continuous pump extrusion (E grows with path length). CARDINAL 26 (never-brick): the vocabulary is movement + extrusion only (G21/G90/G28/G92/G0/G1/M84) -- it CANNOT flash firmware or write EEPROM; output is a .gcode text file. Provenance rides a firmware-ignored comment header. Q14-free integer math throughout (mm units). license_tier: ORIGINAL

dependencies 4 imports · 2 importers

nx_print_material.nx nx_food_science.nx nx_seg_store.nx nx_syscalls.nx nx_paste_gcode.nx nx_paste_gcode_gate.nx nx_print_dispatch.nx

imports: nx_print_material.nxnx_food_science.nxnx_seg_store.nxnx_syscalls.nx

imported by: nx_paste_gcode_gate.nxnx_print_dispatch.nx

structs

none

consts

none

functions

15func pg_move(out: *u8, off: i64, x: i64, y: i64, e: i64) -> i64
called by 1: pg_emit calls 2: as_appendfd_apnum
26func pg_emit(prefix: *u8, w: i64, d: i64, h: i64, out: *u8) -> i64
59func pg_concrete_cm3(prefix: *u8, w: i64, d: i64, h: i64) -> i64
called by 1: main calls 1: pm_field_int