Closed tpaviot closed 10 years ago
Note : this is the case wherever you use TopExp_Explorer instances in the ccad code.
The current code works fine under Linux and probably Windows. At least I haven't heard a complaint from the Windows users. If so, I presume this is a workaround for OSX only to avoid a pythonOCC issue with TopExp_Explorer. Is that right?
don't know. In previous pythonocc versions, this uses to work on all platforms. I'm currently testing your ccad with the ongoing pythonocc/oce-0.16. The issue may come from OSX, or oce-0.16 or both of them. Usually, pythonocc's behavior is the some on OSX and Linux, and my differ on Win32/64. Let me investigate this further.
Ok, I got it, it was a bug in the current work on pythonocc. I fixed it (see f9e2daf). The issue can be closed.
ccad's current implementation for topology traversing fails at returning list of subshapes.
Indeed, the use of TopExp_Explorer, currently
should be replaced with:
This is the result of a long work, see https://github.com/tpaviot/pythonocc/blob/master/src/addons/Utils/Topology.py