nx_slice_pipe_v2_test.nx
buildroot/runtime/nx_slice_pipe_v2_test.nx
about
nx_slice_pipe_v2_test.nx -- verify the integrated slicer composes
auto-supports + per-layer emission in a single call.
SUPERIOR CAPABILITY proof (per 2026-05-20 cardinal):
A single call produces G-code with auto-detected + LOAD-AWARE-SIZED
supports. Industry slicers auto-detect supports but emit constant-
diameter pillars; the integrated workflow industry can't do is the
EXCEED axis.
Closed-form invariants:
(a) Null mesh -> negative verdict
(b) Bad layer height -> negative verdict
(c) Real cube mesh -> positive layer count returned
(d) Output buffer contains expected preamble + postamble + layer
structure markers
(e) Emitter buffer non-empty + sensible byte count for cube
expect_exit: 0
license_tier: ORIGINAL
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_mesh.nxnx_machine_graph.nxnx_material_profile.nxnx_gcode_emit.nxnx_slice_pipeline.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
| 28 | const Q14: i64 = 16384 |
functions
| 30 | func smoke_contains(buf: *u8, len: i64, needle: *u8) -> i64 called by 1: main |
| 49 | func main() -> i64 |