I am pretty new with OCC and those are my first steps. So I hope you can help me out with this, even if its a noob question.
I want to load a CAD file and then project it into 2D.
I did this by using the following code:
Handle(HLRBRep_Algo) myAlgo = new HLRBRep_Algo();
HLRAlgo_Projector aProjector = HLRAlgo_Projector(gp_Ax2(gp_Pnt(0., y1, shapeCenterHeight), gp_Dir(0., 1., 0)));
aCompound now looks like the image "1.jpg" I attached.
Now I would like to get just the outer wires/edges, so that it looks like "2.jpg" (photoshopped).
How can I achieve this with OCC?
Thanks in advanced and best regards,