There is one thing that bothered me for a few days, and I couldn't find a work-around.
I am currently working on a software that uses OCC and a custom OpenGL-based viewer.
In this viewer, there is a "wireframe display" mode that shows only edges from a given TopoDs_Shape.
Imported STEP models do look nice but I'm struggling with simple shapes like spheres and cylinders,
generated with the BRepPrimAPI.
I want to display the TopoDS_Shapes in the same way as the AIS display methods (See AIS_display.png attached)
Unfortunately, I don't know where to search and my attempts failed one after another (see Edges_from_cut.png)
I also tried to visualize the whole mesh, but it gets messy really quickly (See Mesh_display.png)
Do you have an idea of where I should look ? Am I missing something ?
Or is there a method to build something like the contours of a shape ?
Meanwhile, I'll continue searching.