Closed cteqeu closed 1 year ago
If it still helps,
replace 'topods_solid()' with 'topods_shape()' and try again. It worked for me
Hi @cteqeu and @akashaero,
Sorry for not spotting this earlier. I missed the notification for your questions.
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.
AttributeError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_23316/310475324.py in
6 file_stem = step_file_stems[example_index]
7 print(f"Viewing example {file_stem}")
----> 8 viewer = JupyterSegmentationViewer(file_stem, step_folder, seg_folder=step_folder, logit_folder=logits_folder)
~\BRepNet\visualization\jupyter_segmentation_viewer.py in init(self, file_stem, step_folder, seg_folder, logit_folder) 76 assert len(solids) == 1, "Expect only 1 solid" 77 self.solid = solids[0] ---> 78 self.entity_mapper = EntityMapper(self.solid.topods_solid()) 79 80 self.seg_folder = seg_folder
AttributeError: 'Solid' object has no attribute 'topods_solid'