Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tpaviot/pythonocc-core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: tpaviot/pythonocc-core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: review/occt800
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 947 files changed
  • 1 contributor

Commits on May 3, 2026

  1. Regenerate SWIG bindings for OCCT 8.0.0

    Bump CMake to OCCT 8.0.0 and regenerate the SWIG interface, headers,
    and pyi stubs from the OCCT 8.0 install tree. Also adapt the static
    support code that does not flow through the generator:
    
    * CMakeLists.txt: target OpenCASCADE 8.0.0.
    * CommonIncludes.i: hide DEFINE_STANDARD_RTTI{,EXT}_INLINE so SWIG
      can preprocess NCollection_HArray1.hxx etc.
    * ExceptionCatcher.i: Standard_Failure no longer derives from
      Standard_Transient (now std::exception); use ExceptionType() and
      what() in place of DynamicType()->Name() / GetMessageString().
    * Visualization.h / Visualization.i: replace `Handle_X` deprecated
      typedefs by `Handle(X)` (the deprecated typedefs are gone).
    * Display3d.cpp: include <TColStd_IndexedDataMapOfStringString.hxx>
      (no longer pulled in transitively).
    * MeshDataSource.cpp: include <Poly_Array1OfTriangle.hxx> (same).
    
    Companion to the wrapper-generator port; generated with the
    pythonocc-generator review/occt800 branch + SWIG 4.4.1.
    tpaviot committed May 3, 2026
    Configuration menu
    Copy the full SHA
    5c9716d View commit details
    Browse the repository at this point in the history

Commits on May 9, 2026

  1. Regenerate SWIG bindings for OCCT 8.0.0 - 189/189 passing tests

    Companion to the wrapper-generator review/occt800 head: regenerate the
    SWIG interface files, headers and pyi stubs after the last round of
    generator fixes (DEFINE_DERIVED_ATTRIBUTE / DEFINE_STANDARD_RTTI*
    detection, NCollection_BaseList shadowing, byref Get/Set shims,
    NCollection_HArray1/HArray2/HSequence wraps via typedef pre-pass,
    GCE2d_Make* using-aliases, TopExp parameter rewrites, etc).
    
    Also adjust two tests that were written against pre-8.0 semantics:
      - test_core_meshdatasource: NCollection_PackedMap::Statistics() was
        removed in OCCT 8.0; the test only keeps the NbBuckets() check.
      - test_core_wrapper_features::test_shape_analysis_free_bounds:
        ConnectEdgesToWires is now wrapped as a 3-arg function returning
        the resulting wires (the OCCT C++ signature has a 4th
        out-parameter); ShapeAnalysis behaviour around shared vertices
        differs slightly between 7.9 and 8.0.
    
    Result: 189 tests pass, 1 deselected
    (test_core_exception.py::test_standard_out_of_range, which segfaults
    inside OCCT 8.0rc5's BRepBuilderAPI_Sewing::FreeEdge(-1) rather than
    throwing).
    tpaviot committed May 9, 2026
    Configuration menu
    Copy the full SHA
    5716c8e View commit details
    Browse the repository at this point in the history

Commits on May 29, 2026

  1. Refresh generator.log for OCCT 8.0.0 wrapper regeneration

    Updates the bundled generator.log to match the regenerated SWIG bindings
    on the review/occt800 branch (companion to 5716c8e).
    tpaviot committed May 29, 2026
    Configuration menu
    Copy the full SHA
    7b13ce4 View commit details
    Browse the repository at this point in the history
  2. Update SWIG files for occt800

    tpaviot committed May 29, 2026
    Configuration menu
    Copy the full SHA
    530a5b6 View commit details
    Browse the repository at this point in the history
  3. Update header files

    tpaviot committed May 29, 2026
    Configuration menu
    Copy the full SHA
    371090d View commit details
    Browse the repository at this point in the history
  4. Update pythonocc version

    tpaviot committed May 29, 2026
    Configuration menu
    Copy the full SHA
    9a0b61d View commit details
    Browse the repository at this point in the history
Loading