code wiki / (root) / nx_cadtwin_research.nx

nx_cadtwin_research.nx

buildroot/runtime/nx_cadtwin_research.nx

8253 B103 linesdepth 21pulls 146 transitivereach 0 importersview sourcekind tooltopic cadtwin
docsdependenciesstructsconstsfunctions

about

nx_cadtwin_research.nx -- SOTA research bank for the CAR DIGITAL-TWIN / CAD-SCAN pipeline (operator 2026-07-07: "use explodeview.com as a benchmark and nishi researcher to get our cad work to state of the art so we can rebuild an entire car and identify underbuilt parts if we are flipping them"). Banks the July-2026 SOTA per pillar: P1 capture-to-3D (3DGS/QGS/RaDe-GS/COLMAP/VGGT), P2 3D part segmentation (SAMPart3D/GeoSAM2/PartField/HoloPart), P3 scan-to-CAD reverse engineering (CAD-Recode/ABC/ BrepGen), P4 exploded-view + assembly reasoning (BANG/Assemble-Them-All/SAPIEN PartNet-Mobility), P5 car part-ID vs OEM EPC catalogs (NHTSA vPIC/PartSouq), P6 underbuilt-part data (NHTSA complaints/ recalls APIs/CarComplaints), P7 the explodeview.com anchor itself (STEP -> exploded web viewer), P8 end-to-end car-twin reality (Artec scan cases; Bentley Blower = 1200 human CAD-hours). Same sovereign stack + structure as nx_gen3d_sota_fetch. Saves knowledge/fetched/ct_*.raw. expect_exit: 0 license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_x509_trust_store.nx nx_trust_store_load_from_certdata. nx_https_fetch_follow.nx nx_cadtwin_research.nx

imports: nx_syscalls.nxnx_x509_trust_store.nxnx_trust_store_load_from_certdata.nxnx_https_fetch_follow.nx

imported by: nobody (leaf or entry point)

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

main nx_trust_store_load_from_c sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close nx_nss_certdata_parse sys_mmap ↻ _pat_class_cert _pat_value_octal _pat_end _find_newline _starts_with _parse_octal_line sys_mmap ↻ _is_space _decode_octal_escape _is_octal ct_puts sys_write ↻ ct_putn sys_mmap ↻

structs

none

consts

16const K_MAGIC_4194304: i64 = 4194304
17const K_MAGIC_8388608: i64 = 8388608
18const K_MAGIC_2023: i64 = 2023

functions

20func ct_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 3: ct_putnct_fetch_savemain calls 1: sys_write
21func ct_putn(v: i64) -> i64
34func ct_have(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 } sys_close(fd); return 1 }
35func ct_fetch_save(url: *u8, opath: *u8, store: *TrustStore, out: *u8, cap: i64) -> i64
51func main() -> i64