AutodeskAILab / BRepNet

BRepNet: A topological message passing system for solid models
Other
116 stars 34 forks source link

JupyterSegmentationViewer using outdated Solid class method 'topods_solid()' #12

Closed Danelrf closed 1 year ago

Danelrf commented 2 years ago

As per the title,

the JuputerSegmentationViewer class uses the topods_solid() method, which was deprecated and then deleted.

topods_shape() should be used instead.

akashaero commented 2 years ago

If it still helps,

replace 'topods_solid()' with 'topods_shape()' and try again. It worked for me

JoeLambourne commented 2 years ago

Hi @Danelrf and @akashaero,

Sorry for not spotting this earlier. I missed the notification for your questions. Thank you for the detailed error report and workaround.

In PR #13 I've updated everything to work with the latest version of the occwl library. You should be able to pull from master now and everything should be working again.

It's possible you might need to update your environment to occwl v1.0.0. I tested by deleting the environment and rebuilding it with

conda env create -f environment.yml

Let me know if you have any issues.