tpaviot / pythonocc-demos

Examples and demos for the pythonocc CAD package
219 stars 117 forks source link

Fixed module imports. #3

Closed sssomani closed 5 years ago

sssomani commented 6 years ago

For 0.18.1, it seems that the Core module doesn't exist in the module namespace and all previous submodules (BRepAPI, ChFi2d, ...) are directly accessed from the OCC module itself. Replaced all instances of OCC.Core.<submodule> to OCC.<submodule>.

tpaviot commented 5 years ago

The OCC to OCC.Core change is an api change in pythonocc-0.18.2