code wiki / (root) / nx_mushroom_overhang_test.nx

nx_mushroom_overhang_test.nx

buildroot/runtime/nx_mushroom_overhang_test.nx

7176 B173 linesdepth 13pulls 31 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_mushroom_overhang_test.nx -- Phase B2.1 of S-class hardening. Real overhang geometry: narrow 5x5 column + wider 10x10 top cap. The shoulder where the cap extends 2.5mm past the column on each side is a REAL OVERHANG. Auto-supports MUST fire when slicing from the column zone (z<20) into the cap zone (z>20). Distinct from Phase B2 (cone-tet, apex-up, SHRINKING layers, no overhang). This test exercises the auto-supports detection + emission path on geometry where it should activate. expect_exit: 0 license_tier: ORIGINAL

dependencies 7 imports · 0 importers

nx_syscalls.nx nx_mesh.nx nx_machine_graph.nx nx_material_profile.nx nx_gcode_emit.nx nx_slice_pipeline.nx nx_klipper_gcode_validator.nx nx_mushroom_overhang_test.nx

imports: nx_syscalls.nxnx_mesh.nxnx_machine_graph.nxnx_material_profile.nxnx_gcode_emit.nxnx_slice_pipeline.nxnx_klipper_gcode_validator.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 ↻ build_mushroom nx_mesh_alloc sys_mmap ↻ nx_mesh_set_vertex nx_mesh_set_triangle 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_preamble nx_gemit_cstr nx_gemit_byte nx_gemit_int sys_mmap ↻ nx_int_to_decimal nx_fmt_reverse nx_gemit_bytes nx_gemit_byte ↻ nx_gemit_q14 sys_mmap ↻ nx_q14_to_decimal nx_int_to_decimal ↻ nx_gemit_bytes ↻ nx_slice_pipe_run_v2 nx_mesh_bbox_compute

structs

none

consts

23const Q14: i64 = 16384

functions

25func smoke_count(buf: *u8, len: i64, needle: *u8) -> i64
called by 1: main
56func build_mushroom() -> *NxMesh
117func main() -> i64