code wiki / _hdl_build / nx_paste_gcode.nx
nx_paste_gcode.nx
buildroot/runtime/_hdl_build/nx_paste_gcode.nx
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
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
| 15 | func pg_move(out: *u8, off: i64, x: i64, y: i64, e: i64) -> i64 |
| 26 | func pg_emit(prefix: *u8, w: i64, d: i64, h: i64, out: *u8) -> i64 |
| 59 | func pg_concrete_cm3(prefix: *u8, w: i64, d: i64, h: i64) -> i64 |