code wiki / _hdl_build / nx_step_write_gate.nx

nx_step_write_gate.nx

buildroot/runtime/_hdl_build/nx_step_write_gate.nx

8465 B193 linesdepth 8pulls 18 transitivereach 0 importersview sourcekind gate/prooftopic step
docsdependenciesstructsconstsfunctions

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

nx_cadtwin_report.nx nx_step_write.nx nx_step_write_gate.nx

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

main sp_read_file sys_openat_rd sys_read sys_close sp_scan sp_skip_string sp_skip_comment sp_statement sp_isspace sp_isnamec sp_args_span sp_skip_string ↻ cr_find_parts sp_name_is sgt_arg_ref sp_arg_span sp_skip_string ↻ sgt_refs sg_isdigit sp_find sp_pd_product sp_find ↻ sp_name_is ↻ sp_first_ref sp_skip_string ↻ sp_name_prefix sgt_refs ↻ sp_prod_name_is sp_name_is ↻ sp_arg_span ↻ sp_isspace ↻ m3_bytes m3_init m3_hdr cr_tess_part sgt_refs ↻ sp_find ↻ sgt_arg_ref ↻ sgn_tess_face

structs

none

consts

none

functions

10func wg_tooth(name: *u8, pass: i64, fails: *i64) -> i64
called by 1: main
18func main() -> i64