code wiki / _hdl_build / nx_step_brepw_gate.nx

nx_step_brepw_gate.nx

buildroot/runtime/_hdl_build/nx_step_brepw_gate.nx

9687 B222 linesdepth 8pulls 12 transitivereach 0 importersview sourcekind gate/prooftopic step
docsdependenciesstructsconstsfunctions

about

nx_step_brepw_gate.nx -- ANALYTIC B-REP WRITE, both capabilities verified through our own gated pipeline: (A) AUTHOR: sw2_box writes a 100x60x40mm analytic B-rep (PLANEs + full edge topology) from parameters -> re-parse -> v2 tessellation must give 6/6 faces, 12 tris, EXACT bbox, exact invariants, mm units. (B) PERSIST: sw2_reemit re-serializes the ENTIRE as1 reachable graph (renumbered) -> re-parse -> full planar+NURBS pipeline must EQUAL the original model (25 planar + 28 round, 1648 tris, order-invariant geometry checksum). expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_step_brepw.nx nx_step_tess2.nx nx_step_brepw_gate.nx

imports: nx_step_brepw.nxnx_step_tess2.nx

imported by: nobody (leaf or entry point)

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

main sw2_box swb_init sw2_prelude swb_s swb_c swb_c ↻ swb_ent swb_ref swb_c ↻ swb_n swb_c ↻ swb_s ↻ swb_ref ↻ sw2_pt swb_ent ↻ swb_s ↻ swb_fx swb_c ↻ swb_n ↻ swb_c ↻ swb_ent ↻ swb_s ↻ swb_ref ↻ swb_c ↻ sw2_oe swb_ent ↻ swb_s ↻ swb_ref ↻ sys_openat_wr bg2_parse sp_read_file sys_openat_rd sys_read sys_close sp_scan sp_skip_string sp_skip_comment sp_statement sp_isspace

structs

none

consts

none

functions

10func bg2_tooth(name: *u8, pass: i64, fails: *i64) -> i64
called by 1: main
18func bg2_ctx(st2: *i64, W: *i64) -> i64
called by 1: main calls 2: m3_bytesm3_init
69func bg2_cksum(mesh: i64) -> i64
called by 1: main calls 3: m3_hdrm3_trim3_vert
91func bg2_parse(path: *u8, out1: *i64) -> i64
called by 1: main calls 2: sp_read_filesp_scan
106func main() -> i64