nx_devpaint.nx
buildroot/runtime/nx_devpaint.nx
about
nx_devpaint.nx -- CLI for the derived-scale deviation heatmap (2026-08-26).
nx_devpaint <candidate.nxmesh> <reference.nxmesh> <out.nxmesh>
Writes the candidate back out with every triangle painted by its distance to the reference surface,
and prints the DERIVED colour-scale bounds together with the rule that derived them -- because a
heatmap whose scale is not published is a picture nobody can read a number off.
Exit 0 painted / 2 usage / 3 unreadable / 4 REFUSED extent bound / 5 empty mesh / 6 unwritable.
Thin main: every function lives in nx_devpaint_lib so nx_devpaint_gate composes it IN-PROCESS.
license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.nxnx_nxmesh_lib.nxnx_devpaint_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 15 | func dv_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 16 | func dv_kv(k: *u8, v: i64, last: i64) -> i64 |
| 22 | func main(argc: i64, argv: *i64) -> i64 |