Open akamensky opened 3 years ago
python core_geometry_face_recognition_from_stepfile.py INFO:OCC.Display.backend:backend loaded: qt-pyqt5 INFO:OCC.Display.SimpleGui:GUI backend set to: qt-pyqt5 ###### 3D rendering pipe initialisation ##### Display3d class initialization starting ... Aspect_DisplayConnection created. Graphic_Driver created. V3d_Viewer created. AIS_InteractiveContext created. V3d_View created Cocoa window created. Display3d class successfully initialized. ######################################## ** Model Complete Check List ** Check:1 -- Entity (n0:id) 543:#552 Type:POINT_STYLE Parameter n0.2 (marker) : Entity has illegal type Face selected: <class 'TopoDS_Compound'> Traceback (most recent call last): File "/Users/blah/anaconda3/envs/opencad/lib/python3.7/site-packages/OCC/Display/qtDisplay.py", line 232, in mouseReleaseEvent self._display.Select(pt.x(), pt.y()) File "/Users/blah/anaconda3/envs/opencad/lib/python3.7/site-packages/OCC/Display/OCCViewer.py", line 620, in Select callback(self.selected_shapes, X, Y) File "core_geometry_face_recognition_from_stepfile.py", line 108, in recognize_clicked recognize_face(topods_Face(shape)) RuntimeError: Standard_TypeMismatch TopoDS::Face wrapper details: * symname: topods_Face * wrapname: _wrap_topods_Face__SWIG_0 * fulldecl: TopoDS_Face const TopoDS::Face(TopoDS_Shape const &) Abort trap: 6