nx_mesh_edit.nx
buildroot/runtime/nx_mesh_edit.nx
about
nx_mesh_edit.nx -- DCC modeling verbs on NxMesh (Blender-class), all sovereign.
The mesh kernel (nx_mesh) had factories + validate but no EDITING verbs -- the
operations a modeler is made of. This adds the fundamentals: rigid transform
(translate / uniform scale), bounding box, triangle subdivision (the density
lever a sculptor needs), and a square-pyramid factory (a non-cube solid for the
model->print capstone). All operate in the pipeline-native Q14-mm units so the
output flows straight to nx_stl_write_mesh -> slicer. No dup: grepped the
runtime, no nx_mesh_{translate,scale,subdivide,aabb} or pyramid existed.
license_tier: ORIGINAL.
dependencies 2 imports · 16 importers
diagram shows first 10 each side; +0 more imports, +6 more importers in the complete lists below.
imports: nx_syscalls.nxnx_mesh.nx
imported by: nx_cad_exceed.nxnx_cad_page.nxnx_cad_prims2_test.nxnx_cad_test.nxnx_csg_fillet_test.nxnx_csg_scene_gate.nxnx_csg_test.nxnx_csg_torus_test.nxnx_dcc_slice_probe.nxnx_dcc_slice_watertight_gate.nxnx_dcc_to_print_test.nxnx_mesh_edit_test.nxnx_mesh_sculpt.nxnx_mesh_sculpt_test.nxnx_slice_layer_probe.nxnx_underridge_cleaner_gate.nx
structs
| none |
consts
| none |
functions
| 18 | func nx_mesh_translate(m: *NxMesh, dx: i64, dy: i64, dz: i64) -> i64 |
| 32 | func nx_mesh_scale_rat(m: *NxMesh, num: i64, den: i64) -> i64 called by 1: main |
| 50 | func nx_mesh_aabb(m: *NxMesh, out6: *i64) -> i64 called by 9: mainmainmainmainmainprobe+3 calls 3: nx_mesh_get_vertex_xnx_mesh_get_vertex_ynx_mesh_get_vertex_z |
| 89 | func nx_mesh_subdivide(m: *NxMesh) -> *NxMesh |
| 141 | func nx_mesh_make_pyramid(half_q14: i64, height_q14: i64, color: i64) -> *NxMesh |