pythonocc-core icon indicating copy to clipboard operation
pythonocc-core copied to clipboard

Is OpenCascade 7.5.2 still required for pythonOCC compilation? Or can I use a newer version like 7.6.0?

Open futuremotiondev opened this issue 3 years ago • 2 comments

Outlined here:

https://github.com/tpaviot/pythonocc-core/blob/master/INSTALL.md

Requirements pythonOCC needs the following libraries or programs to be installed before you can compile/use it : The python programming language (http://www.python.org/) OpenCascade 7.5.2 (https://dev.opencascade.org/) (snip)

Question is the title of this issue. Do we have a green light to use OpenCascade 7.6.0, or does pythonOCC render the older version necessary?

Thanks for any assistance.

futuremotiondev avatar Mar 01 '22 18:03 futuremotiondev

As pythonOCC is a direct mapping of the opencascade C++ API, it is directly tied to a specific API version, namely 7.5.2.

To update to OCCT 7.6.0, the swig bindings might need to be adapted / recreated.

rainman110 avatar Mar 02 '22 07:03 rainman110

Hey, for what its worth I am experimenting with adapting the SWIG bindings for OCCT 7.6.1. You can follow the progress in https://github.com/tpaviot/pythonocc-generator/issues/84

Krande avatar Apr 22 '22 10:04 Krande