nx_slice_auto_supports.nx
buildroot/runtime/nx_slice_auto_supports.nx
about
nx_slice_auto_supports.nx -- auto-build a physics-aware support
plan from a real mesh.
=====================================================================
SUPERIOR CAPABILITY (per the 2026-05-20 cardinal):
Industry slicers auto-detect supports but ALL emit constant-diameter
pillars regardless of cantilever load. This primitive composes:
mesh -> bvh -> per-layer slice -> overhang vertex detect ->
load-proportional pillar add (physics-aware sizing) -> NxSupportPlan
The capability that industry doesn't have: auto-detected supports
with load-AWARE per-pillar sizing. The integrated workflow IS the
superior capability -- not just a math primitive.
=====================================================================
license_tier: ORIGINAL
dependencies 10 imports · 3 importers
imports: nx_syscalls.nxnx_polygon.nxnx_mesh.nxnx_mesh_print_check.nxnx_bvh.nxnx_slice_plane.nxnx_slice_contour.nxnx_supports.nxnx_material_profile.nxnx_pillar_physics.nx
imported by: nx_auto_supports_v2_target_test.nxnx_slice_auto_supports_test.nxnx_slice_pipeline.nx
structs
| none |
consts
| 36 | const NX_AUTO_SUPPORT_DEFAULT_MASS_Q14: i64 = 16384 // 1 g |
| 37 | const NX_AUTO_SUPPORT_DEFAULT_ARM_Q14: i64 = 32768 // 2 mm |
| 39 | const NX_AUTO_SUPPORT_OK: i64 = 0 |
| 40 | const NX_AUTO_SUPPORT_ERR_INPUT: i64 = 1 |
functions
| 50 | func nx_slice_pipe_build_supports(mesh: *NxMesh, |