nx_gcode_brim_test.nx
buildroot/runtime/nx_gcode_brim_test.nx
about
nx_gcode_brim_test.nx -- verify brim emission appears when
operator enables via nx_gemit_set_brim.
Closed-form invariants:
(a) Default n_brim_loops == 0
(b) Setter accepts 0-30 range; rejects -1 and 31
(c) brim emit on disabled state: NO ";BRIM_START" in output
(d) brim emit on enabled (3 loops) on unit square: produces
";BRIM_START" + at least 3 G1 X moves (one loop = 4 perim moves)
(e) Enabled brim adds bytes vs disabled (proves loops emit)
expect_exit: 0
license_tier: ORIGINAL
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_polygon.nxnx_slice_contour.nxnx_machine_graph.nxnx_material_profile.nxnx_gcode_emit.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 22 | const Q14: i64 = 16384 |
functions
| 24 | func smoke_contains(buf: *u8, len: i64, needle: *u8) -> i64 called by 1: main |
| 42 | func main() -> i64 |