code wiki / (root) / nx_print_exceed_compose_test.nx

nx_print_exceed_compose_test.nx

buildroot/runtime/nx_print_exceed_compose_test.nx

8835 B189 linesdepth 11pulls 27 transitivereach 0 importersview sourcekind gate/prooftopic print
docsdependenciesstructsconstsfunctions

about

nx_print_exceed_compose_test.nx -- OUTCOME-VALIDATION smoke proving the substrate composes the EXCEED axes into G-code with properties no industry slicer can produce. ===================================================================== SUPERIOR-CAPABILITY CARDINAL (2026-05-20): "exceed means superior capabilities not just toy additions" Math primitives shipped earlier this sprint (load-proportional pillar sizing v2.0 sqrt, unit-exact cube-root mechanics v2.1, multi-criteria adaptive layer height) were initially mis-labeled EXCEED. They are PARITY+ until OUTCOME-VALIDATED. This smoke is the outcome validation. Industry baseline: * OrcaSlicer / Bambu / Cura / PrusaSlicer * Constant pillar diameter regardless of load * Flat Z within a layer (per-XY mesh compensation is firmware-side) * 4-criterion adaptive layer: none (curvature-only at best) The artifact this smoke produces has: - Pillars of DIFFERENT footprints in one plan (load-aware) - Z values VARYING within a single extrusion move (bed-mesh per-XY) - Layer heights computed from 4-criterion score - All three properties COMPOSED in one G-code emission No production slicer can emit a G-code file with ALL three properties simultaneously. That is the SUPERIOR capability. ===================================================================== expect_exit: 0 license_tier: ORIGINAL

dependencies 9 imports · 0 importers

nx_syscalls.nx nx_polygon.nx nx_machine_graph.nx nx_material_profile.nx nx_bed_mesh.nx nx_supports.nx nx_pillar_physics.nx nx_adaptive_layer.nx nx_gcode_emit.nx nx_print_exceed_compose_test.n

imports: nx_syscalls.nxnx_polygon.nxnx_machine_graph.nxnx_material_profile.nxnx_bed_mesh.nxnx_supports.nxnx_pillar_physics.nxnx_adaptive_layer.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

main nx_machine_graph_qidi_xmax nx_machine_graph_alloc sys_mmap nx_material_profile_generi nx_material_profile_alloc sys_mmap ↻ nx_bed_mesh_new sys_mmap ↻ nx_bed_mesh_set_point nx_support_plan_new sys_mmap ↻ nx_support_plan_add_pillar nx_pillar_footprint_for_lo nx_cantilever_moment nx_pillar_min_footprint nx_icbrt_q14 nx_icbrt nx_abs nx_gemit_new sys_mmap ↻ nx_gcex_filament_xsect_q14 nx_muldiv_i64 nx_i128_alloc nx_i128_mul_i64 nx_i128_mul_u64 nx_i128_neg nx_i128_div_i64 nx_i128_is_neg nx_i128_neg ↻ nx_i128_udiv_u64 nx_gemit_set_brim nx_polygon_make_square nx_polygon_alloc sys_mmap ↻ nx_polygon_add_vert nx_polygon_set_vert nx_polygon_vert_ptr nx_gemit_brim nx_gemit_cstr

structs

none

consts

43const Q14: i64 = 16384

functions

45func smoke_count(buf: *u8, len: i64, needle: *u8) -> i64
called by 1: main
65func main() -> i64