code wiki / _hdl_build / nx_cadtwin_report.nx
nx_cadtwin_report.nx
buildroot/runtime/_hdl_build/nx_cadtwin_report.nx
about
nx_cadtwin_report.nx -- THE TWIN REPORT (cadtwin capstone): compose every gated organ into one per-PART
engineering report from a raw STEP file. Part attribution comes from the FILE'S OWN semantics (engineering-
twin doctrine: file truth over geometric guessing): SHAPE_DEFINITION_REPRESENTATION -> PRODUCT_DEFINITION ->
PRODUCT name, and SDR -> ADVANCED_BREP_SHAPE_REPRESENTATION -> MANIFOLD_SOLID_BREP -> CLOSED_SHELL -> faces.
Per part: tessellate ITS faces (nx_step_tess planar + nx_step_nurbs round) into a per-part mesh -> WELD
duplicate vertices (new mw-helper; per-face tessellation emits copies -- welding makes meshseg3d/meshthick
correct on real tess output) -> measure: bbox (dual-dimensioned mm + thou via nx_unitconv), wall thickness
(nx_meshthick), shape-class descriptor (nx_partid), connectivity components (nx_meshseg3d), disassembly rank
(nx_assemseq). COMPOSES 9 organs; every number measured, coverage counted honestly. license_tier: ORIGINAL
dependencies 5 imports · 3 importers
imports: nx_step_tess2.nxnx_meshseg3d.nxnx_partid.nxnx_unitconv.nxnx_assemseq.nx
imported by: nx_cadtwin_report_gate.nxnx_explodelab_meshgen.nxnx_step_write_gate.nx
structs
| none |
consts
| 15 | const K_MAGIC_7919: i64 = 7919 |
| 16 | const K_MAGIC_104729: i64 = 104729 |
functions
| 19 | func cr_weld(mesh: i64) -> i64 |
| 76 | func cr_find_parts(st: *i64, pdid: *i64, prodidx: *i64, shellidx: *i64) -> i64 |
| 128 | func cr_tess_part(tt: *i64, nt: *i64, t2: *i64, slab: *i64, shellidx: i64, out4: *i64) -> i64 |
| 169 | func cr_mm2(v: i64) -> i64 called by 1: main |
| 181 | func cr_cksum(mesh: i64) -> i64 |