code wiki / _hdl_build / nx_step_nurbs_gate.nx

nx_step_nurbs_gate.nx

buildroot/runtime/_hdl_build/nx_step_nurbs_gate.nx

8964 B179 linesdepth 6pulls 8 transitivereach 0 importersview sourcekind gate/prooftopic step
docsdependenciesstructsconstsfunctions

about

nx_step_nurbs_gate.nx -- METROLOGY gate for rational B-spline surface evaluation (cadtwin P3a round parts). ENGINEERING-TWIN doctrine: dimensional truth, measured -- units confirmed from the file (never assumed), exact integer teeth where the math is exact, measured-um bounds where it rounds. Ground truth = surface #248 of the real as1: hand-decoded exact NURBS half-circle, center (10,7.5)mm, RADIUS EXACTLY 5.000mm, z 0..3mm, weights (1,1/3,1/3,1). Full-model sweep must cover ALL 28 spline faces with the boundary-exactness invariant clean. expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_step_nurbs.nx nx_step_nurbs_gate.nx

imports: nx_step_nurbs.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 ↻ sgn_unit_mm sgn_find ng_tooth m3_bytes m3_init m3_hdr sp_find sgn_parse_surface sgn_find ↻ sgn_int sg_isdigit sgt_refs sg_isdigit ↻ sgt_tuple_of sp_find ↻ sg_point_tuple sp_arg_span sp_skip_string ↻ sg_skip_to_num sg_is_numstart sg_isdigit ↻ sg_parse_real sg_isdigit ↻ sg_skip_to_num ↻ sgn_realq sg_isdigit ↻ sgn_eval

structs

none

consts

none

functions

9func ng_tooth(name: *u8, pass: i64, fails: *i64) -> i64
called by 1: main
17func main() -> i64