code wiki / _hdl_build / nx_explodelab_bomdims.nx

nx_explodelab_bomdims.nx

buildroot/runtime/_hdl_build/nx_explodelab_bomdims.nx

3817 B105 linesdepth 7pulls 11 transitivereach 0 importersview sourcekind tooltopic explodelab
docsdependenciesstructsconstsfunctions

about

nx_explodelab_bomdims.nx -- append DUAL-DIMENSION labels (TRUE mm + thou, from the baked exm_dims tables) to the /explodelab BOM text (knowledge/explodelab_bom.txt). Token match uses the BOM's double-space delimiters (" nut " never matches " nut-bolt-assembly "). IDEMPOTENT: if the marker " mm | " is already present the file is left untouched (safe to run twice). expect_exit: 0 license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_explodelab_meshes.nx nx_step_write.nx nx_step_parse.nx nx_explodelab_bomdims.nx

imports: nx_explodelab_meshes.nxnx_step_write.nxnx_step_parse.nx

imported by: nobody (leaf or entry point)

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

main sp_puts sys_write sp_read_file sys_openat_rd sys_read sys_close bd_find swb_init swb_c bd_line_kind bd_find ↻ exm_dims swb_s swb_c ↻ bd_mm2 swb_n swb_c ↻ swb_c ↻ swb_n ↻ sys_openat_wr sp_putn sys_mmap sp_puts ↻ sys_write ↻

structs

none

consts

8const K_MAGIC_65536: i64 = 65536
9const K_MAGIC_131072: i64 = 131072
10const K_MAGIC_1000000: i64 = 1000000

functions

12func bd_find(buf: *u8, n: i64, pat: *u8) -> i64
called by 2: bd_line_kindmain
28func bd_line_kind(buf: *u8, s: i64, L: i64) -> i64
called by 1: main calls 1: bd_find
37func bd_mm2(b: *i64, v: i64) -> i64
called by 1: main calls 2: swb_nswb_c
47func main() -> i64