code wiki / gcode

topic: gcode

9 modules sharing the gcode name family (derived from the tree's prefix discipline).

The 'gcode' topic family in the Nishi sovereign ecosystem focuses on generating and validating G-code for additive manufacturing, ensuring accurate path and extrusion calculations. Modules like nx_gcode_emit compose geometric primitives into executable code, while nx_gcode_arc_test verifies arc detection and G2/G3 commands. nx_gcode_extrude_test ensures extrusion math aligns with physical output, supporting reliable print job execution through structured state transitions in nx_gcode_job_gate.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
nx_gcode_arc_test.nxverify arc-fit detection + G2/G3 emission.1032
nx_gcode_brim_test.nxverify brim emission appears when792
nx_gcode_emit.nxcompose every P0-P2 primitive into actual73824
nx_gcode_emit_test.nxend-to-end compose: hand-built unit1112
nx_gcode_extrude.nxextrusion-distance math for FDM G-code.1425
nx_gcode_extrude_test.nxextrusion math hand-verified against882
nx_gcode_job_gate.nxsecond STATE_MACHINE composition gate (NXMOTION M1 seed): the595
nx_gcode_manifest.nxper-print provenance manifest emitted as19511
nx_gcode_manifest_test.nxexercise manifest emit + finalize1242