code wiki / (root) / nx_vessel_gcode_test.nx

nx_vessel_gcode_test.nx

buildroot/runtime/nx_vessel_gcode_test.nx

1391 B42 linesdepth 14pulls 36 transitivereach 0 importersview sourcekind gate/prooftopic vessel
docsdependenciesstructsconstsfunctions

about

nx_vessel_gcode_test.nx -- smoke for nx_vessel_gcode (C2). Proves the vessel solid slices to real, structurally-valid G-code via the nx_vessel_to_gcode organ (res 32 resolves the wall): - the emitter allocates and emits a sensible amount of G-code (1-2) - it carries thousands of extrusion moves (3) Exit code = failed assertion number; 0 = all pass.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gcode_emit.nx nx_vessel_gcode.nx nx_vessel_gcode_test.nx

imports: nx_syscalls.nxnx_gcode_emit.nxnx_vessel_gcode.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_vessel_to_gcode nx_vessel_csg_build nx_sdf_make sys_mmap nx_csg_scene_new sys_mmap ↻ nx_csg_scene_add nx_csg_extract_scene sys_mmap ↻ nx_csg_scene_field nx_csg_scene_eval_i nx_sdf_eval nx_isqrt sdf_max sdf_abs sdf_min nx_cos_turn_q10 sys_mmap ↻ _nx_trig_reduce _nx_cos_q1_table nx_sin_turn_q10 nx_cos_turn_q10 ↻ nx_csg_combine_k nx_csg_combine sdf_min ↻ sdf_max ↻ nx_csg_smin mt_tet mt_cross mt_emit nx_mesh_alloc sys_mmap ↻ nx_mesh_set_vertex nx_mesh_set_triangle nx_machine_graph_qidi_xmax nx_machine_graph_alloc sys_mmap ↻ nx_material_profile_generi nx_material_profile_alloc

structs

none

consts

none

functions

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