Commit Graph
495 Commits
Author SHA1 Message Date
hm 4eda032c8b fix(brep,cmake,docs): repair double-encoded comments, generation-aware topo naming, shell_multi guard, SDK package-config leak (VDE-1346/1347/1348/1349, 1.0.178)
- VDE-1348: 316 damaged comment lines in 4 source files restored via mbcs
  inverse transform + GB18030 reverse table + parent-version alignment;
  remaining 5 scattered lines hand-fixed; repo-wide PUA/U+FFFD now 0.
- VDE-1347: topological_name(generation,...) resolves the requested
  generation instead of always the latest; name_from_generation() added;
  unknown generation returns an empty string.
- VDE-1346: shell_multi validates results and returns an empty model when
  the shell is topologically invalid; docs narrowed to convex planar solids.
- VDE-1349: plugin SDK package config now generated under
  build/package/vde-plugin-sdk/ and stale copies are removed, so a PATH
  containing build/src can no longer make plugin templates' find_package
  hit a configured-but-uninstalled config and fail; scaffold smoke asserts
  no leak at the build root.
- Tests: 5 new cases (8,370 -> 8,372); full CTest 8,372 executed,
  8,337 passed, 0 failed, 35 skipped, 712.96 s; release check 14/14 PASS.
2026-11-07 10:30:32 +08:00
hm 5d10fbfd97 fix(brep): rebuild shell_multi unequal thickness via shared inner cavity (VDE-1341, 1.0.177)
shell_multi keyed inner vertices by (face_id, vertex_id), so every adjacent
face duplicated the inner point of a shared outer vertex; inner surfaces at
edges/corners were disconnected and self-intersected (upstream 60x60x20 case
with t=4/2 gave volume 105920 instead of 34368).

- equal thickness now delegates to shell() (shared-vertex inward offset)
- unequal thickness builds an inner cavity by intersecting per-face offset
  half-spaces and returns brep_difference(body, cavity); miter steps and open
  side walls come from the boolean itself
- non-finite/non-positive thickness and invalid open_face return an empty
  model instead of a self-intersecting body
- add 7-case test_shell_multi_1341, switch 3 old modeling assertions to volumes
- fix stale placeholders: report 212 summary PENDING_FULL, CHANGELOG 1.0.176
  test count; vde_release report-refs accepts labels like [226 自验证](...)

Tests: shell_multi 7/7, brep_modeling 80/80, targeted 149/149,
full CTest 8,369/8,369 passed, 0 failed, 35 skipped (525.23 s).
2026-11-07 05:22:48 +08:00
hm d2f0a40d10 fix(brep,mesh): entity diagnostics/ref validation + robust polygon triangulation (VDE-1342..1345, 1.0.176)
- VDE-1345 mesh: to_mcm ear-clips n>3 faces (Newell normal + 2D ear clipping,
  fallback to fan on degeneracy) and maps local triangle indices back to face
  vertices; empty HalfedgeMesh/PointCloud bounds return a finite zero box;
  faces_range()/vertex_one_ring() implemented (FaceRange iterator, adjacency
  from vertex outgoing half-edges).
- VDE-1342 FeatureNode: last_error()/last_evaluate_ok() diagnostics, stronger
  boolean success predicate, invalid primitive/edit parameters throw
  std::invalid_argument instead of being silently clamped.
- VDE-1343 edit_feature: face_ids range validation before the no-op early
  return, analytic hole location first, warnings on geometric fallback,
  15% radial consistency check between reference faces and matched hole.
- VDE-1344 rebind_entity: id hit now verified against the anchor distance
  (vertex/edge/face), falls back to nearest-anchor match, returns -1 when
  still mismatched; Body rebinds through anchor's nearest face.
- Tests: test_mesh_1177_fixes 11 cases, test_entity_1177_fixes 12 cases;
  registry 8,339 -> 8,362; full CTest 8,362/8,362 passed, 0 failed, 35 SKIP,
  635.55 s; release checks 14/14 PASS, report-check latest=224.
- Docs: report 224 (self-verification), verifier report 223 (1.0.175 PASS)
  included, RegressionExtreme count corrected to 10/10 (P3-1).
  Mesh VDE id renumbered 1341 -> 1345 to avoid collision with upstream
  docs/feedback/VDE-1341 (shell_multi).
2026-11-07 03:53:07 +08:00
hm 6827692f4e fix(brep,mesh): entity diagnostics/ref validation + robust polygon triangulation (VDE-1341..1344, 1.0.176)
- VDE-1341 mesh: to_mcm ear-clips n>3 faces (Newell normal + 2D ear clipping,
  fallback to fan on degeneracy) and maps local triangle indices back to face
  vertices; empty HalfedgeMesh/PointCloud bounds return a finite zero box;
  faces_range()/vertex_one_ring() implemented (FaceRange iterator, adjacency
  from vertex outgoing half-edges).
- VDE-1342 FeatureNode: last_error()/last_evaluate_ok() diagnostics, stronger
  boolean success predicate, invalid primitive/edit parameters throw
  std::invalid_argument instead of being silently clamped.
- VDE-1343 edit_feature: face_ids range validation before the no-op early
  return, analytic hole location first, warnings on geometric fallback,
  15% radial consistency check between reference faces and matched hole.
- VDE-1344 rebind_entity: id hit now verified against the anchor distance
  (vertex/edge/face), falls back to nearest-anchor match, returns -1 when
  still mismatched; Body rebinds through anchor's nearest face.
- Tests: test_mesh_1177_fixes 11 cases, test_entity_1177_fixes 12 cases;
  registry 8,339 -> 8,362; full CTest 8,362/8,362 passed, 0 failed, 35 SKIP,
  635.55 s; release checks 14/14 PASS, report-check latest=224.
- Docs: report 224 (self-verification), verifier report 223 (1.0.175 PASS)
  included, RegressionExtreme count corrected to 10/10 (P3-1).
2026-11-07 03:37:30 +08:00
hm 4b15b4cb72 Merge remote-tracking branch 'origin/main' 2026-11-07 00:34:19 +08:00
hm cde3215374 Merge remote-tracking branch 'origin/main' 2026-11-07 00:20:33 +08:00
hm b98ca6373c feat(brep): entity/curve/mesh audit fixes, robust numeric inputs (VDE-1329..1340, 1.0.175)
- entity/feature layer: split_body shell IDs, shell_face_ids bounds, empty
  FeatureHistory, multi-body Euler warning, config dependency cycles, undo off-by-one
- VDE-1335: serialize assembly flex joints in additive section 16 with validation
- curves: P0 crashes (degree=0 derivative, empty Bezier, negative index/degree,
  weights mismatch, empty domain), k-order derivative, repeated-knot NaN,
  degenerate self-intersection; stricter constructors and C API boundary guards
- VDE-1337: exact planar trim handles curves enclosing/inside existing holes and
  repeated trims of single-closed-edge outer loops
- mesh: O(1) vertex queries, O(F+V) update_normals (~2035x/36588x), validated
  construction, empty-operand boolean set semantics, save_ply length checks
- VDE-1339/1340: finite guards in primitive builders (NaN/Inf return empty body)
  and in intersection curve fitting (never throw inside OpenMP regions)
- tests: 8,290 -> 8,339; full CTest 8,339/8,339 passed, 0 failed, 35 skipped
- reports: 219, 221 (independent verification), 222 (self verification)
2026-11-06 23:49:19 +08:00
hm 31ea6e7d5f feat(brep): trim planar faces bounded by a single closed edge (VDE-1328, 1.0.174)
- exact_face_trim: drop the blanket rejection of loops made of one closed
  curve edge (STEP full-circle / full-ellipse caps, v_start == v_end);
  fill p_from/p_to/has_curve on the early-return branch (was left as
  {0,0,0}/false), and stop treating a zero-chord closed edge as a line
  (probe denominator was max(chord,1e-30) -> deviation always 0).
- Only the no-intersection branches are enabled; a curve crossing a
  non-linear outer boundary is still rejected with a clear error.
- tests: 3 new cases (split inside/outside with exact radii, enclosing /
  disjoint, crossing rejection) and the degenerate-closed-edge subcase;
  test_exact_face_trim 22 -> 25 cases, 25/25 PASS.
- real-model evidence: a 249.5 MB STEP copy has 5 closed edges and one
  face whose outer loop is a single closed curve edge (60,029 faces).
- report: docs/reference/220 (full regression 8,290/8,290, 0 failed,
  35 SKIP, 562.65 s; release check 14/14 PASS).
- also commit report 217 (independent verification of 1.0.172, PASS).
2026-11-06 18:23:52 +08:00
hm bf5f93ce90 fix(brep): only warn about Euler characteristic when topology is not closed (VDE-1327, 1.0.173)
- brep_validate.cpp: a closed orientable 2-manifold has chi = 2-2g, so legal
  solids with genus > 0 (through-hole tori, chi=0) or multiple shells (chi=4)
  no longer receive the misleading "expected 2 for closed genus-0 solid"
  warning (verifier 215 P3-2). The count hint is now emitted only while the
  topology is not confirmed closed (boundary/dangling/non-manifold edges,
  coincident pinches or untrimmed faces); the message points at those causes.
- The odd-chi error path for single closed manifold bodies is unchanged.
- brep_validate.h: document the new warning semantics.
- test_brep_validate: new EulerWarnsOnlyWhenTopologyIsNotClosedManifold
  (torus clean, two disjoint boxes union clean, open shell still warns);
  47/47 pass, 8,286 -> 8,287 registered tests.
- docs/reference/214 errata from verifier 215 P3-3/4/5/6 (modeling 80/80,
  measured timing, incremental build wording, +57/-0 diff wording).
- report 218, CHANGELOG and index updates.
- Full CTest: 8,287/8,287 passed, 0 failed, 35 skipped, 857.96 s.
2026-11-06 15:37:04 +08:00
hm 9cc50ebe09 Merge remote-tracking branch 'origin/main' 2026-11-06 14:42:18 +08:00
hm 3b97d22490 feat(brep): auto volume gate for small boolean results (VDE-1326, 1.0.172)
- BooleanQualityOptions: verify_volume is now "force any size"; add
  verify_volume_small_results (default true) and verify_volume_max_faces
  (default 200) so results up to 200 faces are volume-checked by default.
  BooleanQualityReport adds volume_auto.
- boolean_quality.cpp: run analytic-vs-mesh divergence volume comparison when
  forced or when faces <= threshold. VDE-1325 fixed Euler counting, after which
  the 9-face cone-minus-through-cylinder result is a closed orientable manifold
  (chi=0, watertight 1.0) whose exact circles were replaced by straight
  diamonds (+45.6% analytic volume, rel 0.313); only the volume cross-check
  can detect it. to_mesh yields a boundary-free mesh for that body as well.
- measure.cpp: gate the unconditional "[analytic] DEGRADED" stderr line behind
  VDE_ANALYTIC_DEBUG; degraded state remains queryable via degraded_reason()
  and volume_measurement_degraded (verifier 213 P3-6).
- tests: test_brep_boolean 47/47; box/through/cone cases assert volume_auto;
  new AutoVolumeCheckSkipsLargeResults covers the opt-out path.
- docs: report 216, design/boolean-defects update, CHANGELOG, index entries.
- Full CTest: 8,286 registered, 8,286 executed, 0 failed, 35 skipped, 620.53 s.
2026-11-06 14:16:48 +08:00
hm e9d5c15f0f fix(brep): correct Euler characteristic counting and add parity invariant (VDE-1325, 1.0.171)
- brep_validate: chi = V - E + F - sum(k-1) with merged vertices, deduplicated
  edges, referenced-vertices-only V, and 2-cell (2-k) correction for faces with
  k boundary loops. Through-hole solids now report chi=0 (torus) instead of 2;
  bolts (old chi=3) and directly drilled plates (old chi=2) are corrected.
- brep_validate.h: new euler_parity_consistent field; odd chi on a single-body
  closed manifold (watertight, no dangling/non-manifold/pinch edges, no
  untrimmed faces) now sets valid=false. Multi-body assemblies are exempt.
- tests: 3 validate cases (box/torus even, make_hole through hole chi=0, two
  boxes touching at a corner chi=3 => invalid); boolean quality tests aligned
  with torus semantics (through cylinder chi 2 -> 0; cone-cylinder caught by
  opt-in volume check since chi is now even and consistent).
- docs: report 214, verifier 213 report (1.0.170 PASS, P0/P1/P2=0, P3=6),
  CHANGELOG, index and reference README at 1.0.171 / 8,285 tests.

Verification: build 0 error / 0 warning; ctest 8,285/8,285 passed, 0 failed,
35 skipped, 861.08 s; vde_release.py --check 14/14 PASS; --report-check PASS.
2026-11-06 12:33:47 +08:00
hm d8cc73c442 Merge remote-tracking branch 'origin/main' 2026-11-06 09:53:40 +08:00
hm f0d501c6d9 Merge remote-tracking branch 'origin/main' 2026-11-06 09:34:54 +08:00
hm 5d346e3440 feat(brep): opt-in quality gate for boolean results (VDE-1324, 1.0.170)
- add evaluate_boolean_quality / brep_union_checked / brep_intersection_checked /
  brep_difference_checked with watertightness, dangling/non-manifold, orientation,
  Euler parity and opt-in analytic-vs-mesh volume checks; existing brep_* unchanged

- harden exact face trim failure contract: compute areas into locals and only write
  result fields after consistency checks (verifier 211 P3-5); reject failure results
  with zero area/arc counts in tests

- fix stale changelog report-ref examples in report 210 / CHANGELOG (verifier 211 P3-1)

- tests: BrepBooleanQualityTest 7 cases (46/46 in test_brep_boolean), ExactFaceTrim 22/22;
  registry 8,275 -> 8,282

- docs: reports 212 (self-verification) and 211 (verifier 211, 1.0.169 PASS);
  boolean-defects design doc status update; index/README entries

Full release CTest: 8,282 executed, 8,247 passed, 0 failed, 35 skipped, 648.76 s;
release --check 14/14 PASS, --report-check PASS (latest=212).
2026-11-06 09:08:49 +08:00
hm f536f7b955 fix(brep): harden exact trim input contract and release tooling (VDE-1315, 1.0.169)
- exact_face_trim: validate face/loop/edge/vertex ids, empty loops, single
  closed-edge loops, finite orthogonal curve frame; public API now catches
  topology exceptions and returns ok=false with no partial fragments.
- ExactCurve::valid(): reject NaN/Inf center/normal/u/v and non-finite axes.
- analytic_trim: non-finite parameters rejected (no ceil(NaN) UB), sample
  count clamped to [2,4096], split_arc_edges_at sanitizes tol and returns 0
  on malformed topology.
- tests: exact_face_trim 15 -> 22 cases (malformed topology, non-finite
  curve, 1e-12..1e9 scales), analytic_trim 13 -> 15 cases.
- tools/vde_release.py: changelog:report-refs also parses markdown report
  links; new regression test.
- docs: new boolean-defects-20261106.md (box-cyl/cone-cyl/sphere-sphere
  audit), report 210, verifier report 209, errata for 206/208/CHANGELOG.

Version 1.0.169. Full CTest release -j8: 8,275/8,275 passed, 0 failed,
35 skipped, 537.11 s. vde_release.py --check 14/14 PASS.
2026-11-06 06:48:32 +08:00
hm e28f25244f feat(brep): exact conic trim of planar faces (VDE-1315 P0-a/3, 1.0.168)
- 新增 ssi::split_planar_face_by_exact_conic:解析求交(二次方程 + 相对
  判别式相切拒绝)、seg_edge 边映射 + 边参数去重、两侧探针片段判区、
  精确 NURBS 弧装配(lo/hi + reverse_curve)、无交点四分支校验、
  面积 |外环|-Σ|孔环| 与 1e-4 相对一致性。
- 新增 15 个用例(圆/椭圆在面内、半圆盘、保留孔、反向面、6 类拒绝),
  注册 8,251 -> 8,266。
- 未接入 ssi_boolean(VDE-1315 仍未关闭,后续期次 UV p-curve + 缝合)。
- 入库 verifier 207 独立验证报告(1.0.167 PASS,P3=8)与自验证 208。

全量 CTest 8,266/8,266 passed 0 failed 35 SKIP 527.03 s;release --check 14/14。
2026-11-06 01:19:28 +08:00
hm 5166b84649 feat(brep): global exact-curve closest point + verifier 205 errata (VDE-1323, 1.0.167)
- VDE-1323: exact_curve_distance 由单起点 Newton(椭圆中心轴落局部极大驻点,47.1699 vs 32.0156)改为圆闭式 + 椭圆 48 网格旋转递推 + 变号 Newton + 全驻点取最小;新增 5 例 vs 独立参考。
- verifier 205(1.0.166)PASS 报告入库;报告 204 §10 勘误(16×8 往返 rel → 9.721e-10,历史/中间态数字标注),iges_export.cpp 注释编号 VDE-1321 → VDE-1322。
- 构建 ninja -j8 rc=0、0 warning;发布检查 14/14 PASS;定向 174 项通过。
2026-11-05 23:30:04 +08:00
hm 4aebebd1f9 feat(brep): exact sphere boundary arcs + STEP/IGES export fixes (VDE-1320/1321/1322, 1.0.166) 2026-11-05 21:33:23 +08:00
hm da8ff6a952 feat(brep): exact arc NURBS primitives + arc-edge T-split (VDE-1319, 1.0.165) 2026-11-05 18:31:30 +08:00
hm 7fbedb677c feat(brep): analytic surface detection + closed-form SSI (VDE-1318, 1.0.164) 2026-11-05 16:40:12 +08:00
hm 5b21475b71 test(brep),docs: boolean closed-form oracle + VDE-1315 negative result (1.0.163) 2026-11-05 15:03:48 +08:00
hm a8e86fe478 fix(infra): scheduler/IO concurrency defects (VDE-1310..1314) + SMLib algorithm plan (1.0.162) 2026-11-05 13:29:28 +08:00
hm 55ae79c2f4 fix(infra): AdaptiveThreadPool deadlock + WorkStealingScheduler task loss (1.0.161) 2026-11-05 10:34:46 +08:00
hm 8d5789934e fix(infra): Vyukov bounded MPMC LockFreeQueue + verifier 191 errata (1.0.160) 2026-11-05 08:51:42 +08:00
hm fb28f2ead7 fix(infra,foundation): welded AMF/3MF export + LockFreeStack concurrency fix (1.0.159)
VDE-1305: AMF/3MF export vertex exact welding (24-byte bit-pattern key, no tolerance);
300k facet AMF 171.3 MB -> 57.1 MB, export median 1.54x (best 1.98x); 3MF export now
parallel tessellation (>=256 faces). Readback geometry bit-identical.

VDE-1306: LockFreeStack concurrent try_pop use-after-free (head node deleted by another
consumer between load and node->next read; 2/8 processes crashed 0xC0000005 under
8x20k stress). Replaced Treiber stack with spinlock + vector in both infra/core copies;
API and non-blocking empty-pop semantics unchanged, class name kept. Reproducer now
0 crashes (160k MPMC cycles); single-thread push+pop 29.26 -> 6.57 ns/op-pair.

Tests: registered 8,195 -> 8,201 (5 weld/export + 1 concurrency stress); full CTest
8,201 items: 8,166 PASS / 0 failed / 35 env-corpus SKIP, 446.95 s; full build 374
targets, 0 warnings. Reports: 189 (VDE-1305), 190 (VDE-1306), 188 (1.0.158 verifier).
Release checks: vde_release.py --check 14/14 PASS, --report-check PASS.
2026-11-05 07:49:54 +08:00
hm 7d3dd7f937 perf(foundation): parallel numeric formatting in text exporters + append_fixed fix (1.0.158)
VDE-1304: COLLADA/AMF/VRML/3MF numeric formatting chunk-parallelized with byte-identical output;
append_fixed 64-byte buffer overflow fixed (verifier 184 P3); 5 new tests; full CTest 8195/8195 PASS.
Includes verifier report 186 (1.0.157 PASS) and self-verification report 187.
2026-11-05 05:32:13 +08:00
hm 1ae5e94399 perf(brep,foundation): facet zero-alloc tessellation + export parallel dispatch (1.0.157)
VDE-1301: export COLLADA/AMF/VRML tessellate via io_detail::tessellate_body
(<256 faces serial, else to_mesh_parallel(deflection, min(hw,16))).

VDE-1302: mesh->B-Rep facet faces (single loop, 3 implicit-line edges,
2x2 degenerate triangle control net) emit triangles directly in
vde_fast_planar_trim_mesh, skipping ring sampling / 3D->2D projection /
constrained_delaunay_2d. to_mesh 100k facet 670.6->88.0ms (7.6x),
300k facet 3339.9->214.3ms (15.6x), parallel16 2806.3->169.3ms (16.6x).

VDE-1303: body_has_freeform_trim_evidence skips face_type for trivially
planar faces (1x1 bilinear + coplanar control points); edge scan first;
per-face getenv hoisted. 300k-body check 652-677ms -> ~10-20ms, DANGER=0
across primitives and 249MB real STEP (60029 faces), 32 body meshes
byte-identical (serial/parallel/soup).

Tests: +5 (facet tessellation x4, 800-face parallel match x1), 8190 total;
full CTest 8190/8190 PASS 0 failed 35 skipped 758.92s; build 389 targets
0 warning. Report 185; verifier report 184 (1.0.156) committed with this
release. Merge upstream origin/main 25adb7d0 (open-body diagnostic skip,
--dump-faces, diag error counting).
2026-11-05 04:32:22 +08:00
hm a518883475 perf(foundation,brep): fast text exporters + STEP import parallel resolve (1.0.156) 2026-11-05 01:44:26 +08:00
hm ba17a863bd docs: record 1.0.155 merge verification 2026-11-05 00:14:00 +08:00
hm 3d55e1a181 feat(sdf): CPU LBVH SDF sampling + OpenCL program cache (1.0.155) 2026-11-05 00:12:12 +08:00
hm d8226fef2f docs: record 1.0.154 merge verification 2026-11-04 23:15:35 +08:00
hm 2d08ac4a6b feat(compute): GPU BVH batch closest-point queries (1.0.154) 2026-11-04 23:14:44 +08:00
hm 00de74a6b3 docs: record 1.0.153 merge verification 2026-11-04 22:18:33 +08:00
hm 37c927a267 perf(brep): in-place numeric token parsing + one-shot type index (1.0.153) 2026-11-04 22:17:22 +08:00
hm 00568a172a docs: record 1.0.152 post-merge verification 2026-11-04 21:31:02 +08:00
hm 3eb073af80 perf(brep): zero-allocation STEP token views (1.0.152)
VDE-1293: Token now holds a string_view into the parser buffer instead of an owned std::string; punctuation tokens no longer allocate; String tokens keep the raw span and are unescaped once at the consumption point. 249.5MB real STEP parse 7.90-8.08s -> 6.78-6.86s (1.15-1.17x), full import ~1.08x, per-body geometry fingerprint unchanged. Adds apostrophe-semantics regression test; registered tests 8166 -> 8167.
2026-11-04 21:27:29 +08:00
hm b00fe16c5b perf(brep): parallel body conversion on full STEP path (1.0.151) 2026-11-04 20:03:43 +08:00
hm 46e9f1f1ee perf(iges): fast IGES export writer + pipeline diagnostics fix (1.0.150) 2026-11-04 18:59:42 +08:00
hm a765316d82 perf(brep): fast STEP export buffer + pipeline subset-cap fallback (1.0.149)
- VDE-1288: replace StepWriter stringstream with FastStepBuffer (to_chars general/15),
  take() move + binary file write. 30k/100k/300k-face export 3.32x/5.26x/4.78x,
  DATA section SHA-256 identical.
- VDE-1289: detect body reference closure exceeding the 3M entity cap, warn and
  fall back to full STEP parse instead of silently truncating (300k-face single
  body: 103,448 -> 300,000 faces); on_body streaming path errors out explicitly.
- Tests: +4 (export precision/roundtrip, cap fallback x2); 8159 registered;
  full CTest 8159/8159 PASS (628.77 s); version 1.0.149.
- Verifier 168 (1.0.148) report included: PASS, P0/P1=0.
2026-11-04 17:09:56 +08:00
hm b2dff5c5ba docs: record 1.0.148 merge verification and VDE-1287 OpenMP fix 2026-11-04 16:02:06 +08:00
hm 2084e5cc9e perf(brep): IGES zero-copy parse + parallel STEP body pipeline (1.0.148) 2026-11-04 15:41:12 +08:00
hm d587096b3a docs: record 1.0.147 post-merge verification and merge notes 2026-11-04 13:49:19 +08:00
hm 68a50ab3d6 feat(compute): GPU BVH batched ray queries with verified float32 candidates (1.0.147) 2026-11-04 13:35:49 +08:00
hm b89aa00410 docs: record post-merge verification for 1.0.146 2026-11-04 12:14:14 +08:00
hm 28b3ac2061 perf(brep): analytic repair containment + metadata single-pass scan (1.0.146) 2026-11-04 12:01:56 +08:00
hm 6c661d0f61 fix(brep): shell.faces index fix + is_valid topology validation (1.0.145) 2026-11-04 10:39:16 +08:00
hm af9be6f8dc perf(brep): linearize faceted-body to_mesh (1.0.144)
- face_bounds: resolve loop references via loop_index_ O(1) with linear-scan
  fallback, removing O(F x L) per-face cost from the planar fast path;
- vde_fast_loop_ring: replace per-face vector<vector<int>> adjacency sized by
  the whole body vertex count with a per-face {v,e} list;
- facet-body to_mesh: 16k faces 10.6 s -> 157 ms, 30k ~22-26 s -> 295 ms,
  100k >120 s -> 943 ms, 300k 3.57 s; output verts/tris and geometry preserved;
- regression tests: BrepTest.FaceBounds_* (80k faces, union==bounds),
  MeshToBrepExtract.FacetBodyToMeshIsLinearAndPreservesTriangles (12,168 tris);
- version bump 1.0.144 + CHANGELOG + docs indexes + report 160.

Full CTest: 8132/8132 PASS, 0 failed, 34 skipped (569.95 s); release 14/14.
2026-11-04 10:02:38 +08:00
hm c7378652dd docs: finalize 1.0.143 verification numbers 2026-11-04 09:27:44 +08:00
hm e792de4054 perf(brep): bulk mesh-to-brep construction with implicit line edges (1.0.143) 2026-11-04 09:17:38 +08:00