Bump OCCT to 8.0.0-beta1 and migrate freshly-deprecated APIs#2
Merged
Conversation
beta1 is the feature-freeze tag on the 8.0.0 line (final 8.0.0 planned 2026-05-07). The transition is source-compatible for our codebase: we do not touch BRepGraph, NCollection_Vector, IVtk SetTolerance, V3d grids, or any of the other removed/renamed surfaces. Two new deprecation warnings did surface and are migrated here: - Standard_False / Standard_True -> false / true (3 sites) - TColStd_IndexedDataMapOfStringString -> NCollection_IndexedDataMap<TCollection_AsciiString, TCollection_AsciiString> (2 sites in glTF/PLY writer calls) Transparent gains we get from the rebuild: BRepMesh_BaseMeshAlgo node registration fix (#940), TopExp_Explorer::Clear() allocation reuse (#1195), ShapeFix cycle/DFS guards eliminating stack overflow on shared sub-shapes (#1227, #1247), BVH-accelerated polyhedra interference (#924), and lock-free NCollection_IncAllocator fast path (#1212). ctest 4/4 green on macOS arm64 (test_io, test_heal, test_viewer, test_render_data). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
V8_0_0_rc5toV8_0_0_beta1(feature-freeze tag; final 8.0.0 planned 2026-05-07).src/occt_templot_io.cpp:Standard_False/True->false/true(3 sites), andTColStd_IndexedDataMapOfStringString->NCollection_IndexedDataMap<TCollection_AsciiString, TCollection_AsciiString>(2 sites in glTF/PLY writer calls).What we get for free from the rebuild
BRepMesh_BaseMeshAlgonode-registration fix → better internal-vertex tracking underot_mesh_shape.TopExp_Explorer::Clear()allocation reuse → hot-path win in our face-walk loops.ot_heal_shape*on shapes with shared sub-shapes.NCollection_IncAllocatorfast path.Out of scope
The marquee "new mesh storage" feature (
BRepGraph_MeshCache/BRepGraph_MeshView) is tied to the new BRepGraph data structure (parallel toTopoDS_Shape, not a drop-in cache). Adopting it is a multi-week rearchitecture and is left to its own initiative.Test plan
ctest4/4 green on macOS arm64 (test_io,test_heal,test_viewer,test_render_data).🤖 Generated with Claude Code