Search results

  1. I

    OCC AIS Viewer

    I was trying the AIS example class on gitlab lesson14. I noticed that StartMessageLoop() must be always called at the end: Viewer vout(0, 50, 500, 500); // add geometry to viewer vout.StartMessageLoop(); However I think it would have been better to have something like Viewer vout(0, 50...
  2. I

    How to check if a face 'belongs' to surface

    How to check if a face is a sub-surface of a bigger surface ? I have attached an example step file. By iterating over entities I get the following: Found StepShape_OpenShell with name 'Join' Found StepShape_FaceSurface with name 'Join' Found StepShape_FaceSurface with name 'Join' Found...
  3. I

    Import points from step file

    Hello, it seems to me OCC can't handle points from step file. So TopAbs_VERTEX is never found, and something like this never happens: if (shapeTool->IsShape(label)) { TopoDS_Shape shape; shapeTool->GetShape(label, shape); if (shape.ShapeType()...
Top