AutodeskAILab / BRepNet

BRepNet: A topological message passing system for solid models
Other
105 stars 31 forks source link

a bug happen when Processing the STEP data #5

Closed guozhengyue closed 2 years ago

guozhengyue commented 2 years ago

python -m pipeline.quickstart --dataset_dir s2.0.0 --num_workers 0 0%| | 0/35680 [00:00<?, ?it/s] Traceback (most recent call last): File "D:\aconda\envs\3DCSG\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "D:\aconda\envs\3DCSG\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "E:\3DCSGNET\BRepNet\pipeline\quickstart.py", line 84, in num_workers=args.num_workers File "E:\3DCSGNET\BRepNet\pipeline\extract_brepnet_data_from_step.py", line 939, in extract_brepnet_data_from_step extract_brepnet_features(file, output_path, feature_schema, mesh_dir, seg_dir) File "E:\3DCSGNET\BRepNet\pipeline\extract_brepnet_data_from_step.py", line 893, in extract_brepnet_features extractor.process() File "E:\3DCSGNET\BRepNet\pipeline\extract_brepnet_data_from_step.py", line 89, in process coedge_point_grids = self.extract_coedge_point_grids(body, entity_mapper) File "E:\3DCSGNET\BRepNet\pipeline\extract_brepnet_data_from_step.py", line 474, in extract_coedge_point_grids coedge_grids.append(self.extract_coedge_point_grid(occwl_oriented_edge, faces)) File "E:\3DCSGNET\BRepNet\pipeline\extract_brepnet_data_from_step.py", line 494, in extract_coedge_point_grid coedge_data = EdgeDataExtractor(coedge, faces, num_samples=num_u, use_arclength_params=True) File "D:\aconda\envs\3DCSG\lib\site-packages\occwl\edge_data_extractor.py", line 45, in init self.left_face, self.right_face = edge.find_left_and_right_faces(faces) File "D:\aconda\envs\3DCSG\lib\site-packages\occwl\edge.py", line 365, in find_left_and_right_faces assert face2.is_left_of(self) AssertionError

why the AssertionError happen?