5 Commits
Author SHA1 Message Date
hm b2245ca0f7 feat(brep/foundation): Wave21 IGES face orientation, zero-copy import caches, UTF-8 leftovers
A52 (IGES face orientation closure, importer/exporter symmetric):
- importer: apply_shell_orientation derives face.reversed = (514 ORIENTATION==0) XOR (186 SHELLFLAG==0);
  token_is_pure_int guards legacy "0HNAME"; convert_face reads 510 OUTERLOOPFLAG, convert_loop reads
  508 ORIENTATION (diagnostics only); empty/void shells use their own SHELLFLAG
- exporter: 514 writes per-face ORIENTATION (0 when reversed), 510 OUTERLOOPFLAG=1, 508 ORIENTATION
  from edge.reversed; 144 counts reversed trimmed faces only (no orientation field); 186 keeps "1,0"
- test_iges_export 34 -> 43 tests (T1-T8, real corpus round-trips): occ__bug25415 vol_rel
  0.9697 -> 8.30e-12, occ__bug22821_test 2.0 -> 0, PWB/31000/28366 stay ~0

A53 (IGES import zero-copy caches):
- curve_cache_/surface_cache_ become unordered_map<int, shared_ptr<const NurbsCurve/NurbsSurface>>;
  hits share pointers, misses make_shared<const T>(std::move(...)); composite curves return pointers
- split_params/params_of return std::string_view (zero-copy token slicing; tokens are substrings)
- import_iges reads the file in one sized binary read (chunked fallback for >16GB or tellg failure)
- V8 Motor_1.igs 3.40 -> 1.346 s, moteur_v8_asm.igs 9.27 -> 3.284 s; topology/model hashes unchanged

A54/A55 (UTF-8 path leftovers):
- A54: 13 foundation files, 17 open sites -> open_ifstream_utf8/open_ofstream_utf8; 9 UTF-8 cases
- A55: 13 infra/plugin/capi/core files, 24+ sites (11 user-path sites in plugin_manager); 12 UTF-8 cases
- Linux-only fixed paths (/sys,/proc,/etc/machine-id) and platform.cpp fopen wrapper intentionally kept

Verification: 23 suites 918 passed / 0 failed; PR gate 1067/1067 (81.44 s); four KPI windows
bit-identical (fixed 196/36, auto 196/36, band 8/0 and 8/0); 35 extra suites green; redline identical.
2026-11-23 00:28:07 +08:00
hm f0a139e872 feat(collada): FMT-11 materials and multi-primitive import (1.0.123) 2026-11-02 21:20:42 +08:00
hm 2120095a5f perf(collada): adaptive deflection and triangle budget (VDE-1264, 1.0.118) 2026-11-02 00:08:19 +08:00
hm 1a78e8e191 fix: comprehensive test fixes and implementation bugs
Build system: fix VDE_BUILD_TYPE, MinGW big-obj, cross-platform temp dir
Core fixes: Matrix4D inverse, ExactPredicates sign, GJK overflow, VdeFormat weights, VRML/Collada IO
Test fixes: ObjectPool, Transaction paths, /tmp replacement, Matrix4D expectations
Result: 292/295 fast tests pass (99%)
2026-08-04 06:44:53 +08:00
茂之钳 cd9fcc9b1f feat: COLLADA + AMF + VRML + G-code import + E57/LAS point cloud
CI / Build & Test (push) Failing after 17m6s
CI / Release Build (push) Failing after 35s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
COLLADA 1.4/1.5 (.dae): import/export with materials + scene graph
AMF 1.2 ISO/ASTM: multi-object with color + metadata
VRML 1.0/97: IndexedFaceSet + Transform + Material
G-code import: G00-G03/G17-G19/G20-G21/G81-G83/G90-G91/M/S/T
E57/LAS: point cloud with classification + RGB + intensity

27/28 tests pass (1 COLLADA edge case)
2026-07-30 21:24:49 +08:00