nx_stl.nx
buildroot/runtime/nx_stl.nx
about
dependencies 5 imports · 28 importers
diagram shows first 10 each side; +0 more imports, +18 more importers in the complete lists below.
imports: nx_syscalls.nxnx_le.nxnx_hash.nxnx_mesh.nxnx_fp32_q14.nx
imported by: nx_cad_exceed.nxnx_cad_page.nxnx_cad_prims2_test.nxnx_cad_test.nxnx_csg_fillet_test.nxnx_csg_rot_gate.nxnx_csg_rotxz_gate.nxnx_csg_scene_gate.nxnx_csg_test.nxnx_csg_torus_test.nxnx_cube_to_gcode_test.nxnx_dcc_slice_probe.nxnx_dcc_to_print_test.nxnx_mesh_decimate_gate.nxnx_print_e2e_gate.nxnx_slicer_lib.nxnx_stl_adversarial_test.nxnx_stl_test.nxnx_stl_to_gcode_real_test.nxnx_stl_write_mesh_test.nxnx_stl_write_test.nxnx_underridge_cleaner_gate.nxnx_underridge_gcode_gate.nxnx_underridge_gel_gate.nxnx_underridge_hook_gate.nxnx_underridge_hook_gcode_gate.nxnx_underridge_hook_petg_gate.nxnx_underridge_master_gate.nx
structs
| 67 | struct NxStlResult |
consts
| 52 | const NX_STL_OK: i64 = 0 |
| 53 | const NX_STL_ERR_TOO_SHORT: i64 = 1 |
| 54 | const NX_STL_ERR_TRUNCATED: i64 = 2 |
| 55 | const NX_STL_ERR_BAD_FLOAT: i64 = 3 // Inf/NaN coord |
| 56 | const NX_STL_ERR_ASCII_REFUSED: i64 = 4 // ASCII STL parser deferred |
| 57 | const NX_STL_ERR_ALLOC_FAILED: i64 = 5 |
| 58 | const NX_STL_ERR_DEDUP_OVERFLOW: i64 = 6 |
| 63 | const NX_STL_ERR_EMPTY: i64 = 7 |
| 75 | const NX_STL_RES_BYTES: i64 = 40 |
functions
| 79 | func nx_stl_is_ascii(buf: *u8, buf_len: i64) -> i64 called by 1: nx_stl_load_binary |
| 97 | func nx_stl_pack_xyz(x: i64, y: i64, z: i64, scratch: *u8) -> i64 |
| 106 | func nx_stl_intern_vertex(m: *NxMesh, dedup: *NxHash, scratch: *u8, |
| 135 | func nx_stl_next_pow2(n: i64) -> i64 called by 1: nx_stl_load_binary |
| 153 | func nx_stl_load_binary(buf: *u8, buf_len: i64) -> *NxStlResult |