AutodeskAILab / UV-Net

Code for UV-Net: Learning from Boundary Representations, CVPR 2021.
MIT License
82 stars 14 forks source link

AssertionError: Edge doesn't belong to face #16

Closed Hurry-LJ closed 1 year ago

Hurry-LJ commented 1 year ago

Hi Autodesk AILab, thanks for UV-Net. When I generate the dataset (SolidLetters) using the script python -m process.solid_to_graph ~/h/data/SolidLetters/step ~/h/test/SolidLetters/train the issue appears. Maybe this file: SolidLetters/step/d_Sail_upper.step

File "/anaconda3/envs/uv_net/lib/python3.9/site-packages/occwl/graph.py", line 43, in face_adjacency left_face, right_face = edge.find_left_and_right_faces(connected_faces) File "/anaconda3/envs/uv_net/lib/python3.9/site-packages/occwl/edge.py", line 442, in find_left_and_right_faces if face1.is_left_of(self): File "/anaconda3/envs/uv_net/lib/python3.9/site-packages/occwl/face.py", line 295, in is_left_of assert found_edge, "Edge doesn't belong to face" AssertionError: Edge doesn't belong to face