Silhouette of Solid

Hello,

I'm trying to get the silhouette or outline of a solid when looked at from above. The image tries to illustrate this. I've looked into HRL_Algo and HLRBRep_HLRToShape but no filter grabs just the silhouette of the shape (including HLRBRep_HLRToShape::OutLineVCompound).

I've tried some other solutions, my current approach is to get a projection using HLRBRep_HLRToShape::VCompound(), and then my goal was to somehow build a face out of it and extract the outer wire. However due to my solid being relatively complex, I haven't been able to build a face out of it. I've tried using ShapeAnalysis_WireOrder for this purpose but there doesn't seem to be a guarantee that the outline of my projection will form a complete wire.

So I was wondering if I'm overlooking some way of doing this before I move on to other ways not involving OpenCascade.

Attachments: