I have a simple example below of a geometric shape with two edges of interest - the red edge belongs to an outer/external corner, while the blue edge belongs to an inner/internal corner.
The problem is that I can get an edge, but once I have the edge object, I want to know if it is an internal edge or an external edge.
Here's what I have tried:
One option I've considered that would work is to apply a fillet (radius) to the edge. If the part volume increases, then the edge is internal, if the part volume decreases then the edge is external. The only problem with this is that actually applying a fillet to all edges and testing this will be relatively slow, so it would be more helpful to perform the same test mathematically.
My code is written in VBA for Autodesk Inventor. The 'edge' object has access to the adjacent 'face' objects and their normal vectors and some other properties. Suggestions can be either specific to Autodesk Inventor or based on general geometric principals.
Here are some references to the objects in case its helpful:
Courtesy of some help on the Inventor forums, I found 2 solutions.
More details here: https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/how-to-determine-if-an-edge-belongs-to-faces-that-are-inward/m-p/12249724#M157909