code wiki / _hdl_build / nx_step_write_gate.nx
nx_step_write_gate.nx
buildroot/runtime/_hdl_build/nx_step_write_gate.nx
about
nx_step_write_gate.nx -- STEP WRITE round-trip on real twin geometry (cadtwin P3a write half, rung 1).
Build the NUT part mesh from as1 via the full v2 pipeline (attribution+tessellation+weld = the organs we
built), WRITE it as a faceted-brep STEP with declared mm units + product identity, then READ IT BACK with
our own parser + faceted path and require an INTEGER-EXACT round trip (8-decimal fx256 lossless encoding):
same triangle count, every corner coordinate identical, known vertex present, units confirmed, product name
recovered, deterministic. expect_exit: 0 license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_cadtwin_report.nxnx_step_write.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
| 10 | func wg_tooth(name: *u8, pass: i64, fails: *i64) -> i64 called by 1: main |
| 18 | func main() -> i64 |