tpaviot/pythonocc-core

DataExchange Error in 7.9.0

Closed this issue · 0 comments

After I upgrade to pythonocc-core-7.9.0, function write_gltf_file() error.
If I use 7.8.1.1, everything ok.

Traceback (most recent call last):
  File "e:\Repos\3D-Lightweight\backend\ThreeDLightweight.pythonocc-core\stp2gltf.py", line 14, in <module>
    write_gltf_file(shapes, output_file)
  File "C:\Users\1\.conda\envs\pyoccenv_7_9_0\lib\site-packages\OCC\Extend\DataExchange.py", line 738, in write_gltf_file
    breptools.Clean(a_shape)
  File "C:\Users\1\.conda\envs\pyoccenv_7_9_0\lib\site-packages\OCC\Core\BRepTools.py", line 677, in Clean
    return _BRepTools.breptools_Clean(*args)
TypeError: in method 'breptools_Clean', argument 1 of type 'TopoDS_Shape const &'