I want to use Python to get the outline/contour/silhouette of a selected object in the Orthogonal View.
Just like the orange shape/outline that blender shows when I select the object in the view3D.
As shown below, Blender draws the exact boundaries(or contours, outlines) I want in orange color. How can I get the data of the boundaries (vertices/edge on the boundaries or faces inside of boundaries)?
As another example, I want to get the contour(orange color), instead of convex hull. (including the vertices 6 and 11 in the result)

similar question were asked, but none of the works for me:
How to extract side-view outline (e.g. top view) of a 3D object to 2D surface?
