code wiki / (root) / nx_fbx_rig.nx

nx_fbx_rig.nx

buildroot/runtime/nx_fbx_rig.nx

7158 B182 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_fbx_rig.nx -- RIG SURVEY: verified-facts instrument for the SKEL/SKIN/ANIM fill. Walks a binary FBX and inventories the rig: Model/LimbNode counts (joints), Deformer Skin/Cluster counts, Indexes/Weights array totals, Connections, AnimationCurve counts, KeyTime totals -- and prints the first joint names. NOTHING is emitted yet: this is the query-before-design step (agent prompts and format emitters get MEASURED facts, not guesses). usage: nx_fbx_rig <file.fbx> license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_fbx_rig.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main frw sys_write sys_mmap sys_map_file sys_openat_rd sys_lseek sys_close fr_u32 frn sys_mmap ↻ sys_write ↻ fr_walk fr_u64 fr_u32 ↻ fr_u32 ↻ frw ↻ sys_write ↻ fr_walk ↻

structs

none

consts

9const K_MAGIC_7500: i64 = 7500
10const K_MAGIC_500000: i64 = 500000

functions

12func frw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 2: fr_walkmain calls 1: sys_write
13func frn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
25func fr_u32(b: *u8, o: i64) -> i64
called by 3: fr_u64fr_walkmain
29func fr_u64(b: *u8, o: i64) -> i64 { return fr_u32(b, o) | (fr_u32(b, o + 4) << 32) }
called by 1: fr_walk calls 1: fr_u32
33func fr_walk(b: *u8, flen: i64, off0: i64, big: i64, st: *i64) -> i64
149func main(argc: i64, argv: *i64) -> i64