code wiki / (root) / nx_curveskel.nx

nx_curveskel.nx

buildroot/runtime/nx_curveskel.nx

1254 B23 linesdepth 4pulls 7 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_curveskel.nx -- SOVEREIGN SKELETON-FIT CLI: extract a curve skeleton (an armature) from a BARE unrigged NXA mesh and write it back as a SKEL section. Pair with nx_boneheat for a full sovereign auto-rig of an unrigged mesh, first byte up: nx_curveskel <mesh.nxa> <rigged.nxa> then nx_boneheat <rigged.nxa> <skinned.nxa>. No learned model, no training set, no third party in the build or run path. Everything that decides lives in nx_curveskel_lib.nx (which composes nx_boneheat_lib's voxeliser and geodesic solver); this is the door. nx_curveskel <in.nxa> <out.nxa> exit 0 written, 2 usage, 3 refused by name (no VERT/TRIS, no interior volume, unreadable, unwritable). license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_curveskel_lib.nx nx_curveskel.nx

imports: nx_syscalls.nxnx_curveskel_lib.nx

imported by: nobody (leaf or entry point)

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

main cs_puts sys_write sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ cs_run cs_run_cells sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close cs_puts ↻ nxa_find nxa_section_entry nxa_magic nxa_check2 nxa_tag4 bh_conf_cells sys_mmap ↻ sys_read_file ↻ bh_grid_build bh_min bh_max

structs

none

consts

none

functions

12func main(argc: i64, argv: *i64) -> i64