I’m at a loss at how to find if a brep face is trimmed or not.
Is there some property of it’s edges, trims, loops or such to find if it’s boundaries coincide with the underlying surfaces edge(s)?
Thanks
-Willem
Note: the reason for my query is that it seems that Brep.CreateTrimmedSurface() fails if the input face is “untrimmed”
My larger goal is to rebuild a face’s surface and recreate the face including trims with that rebuild surface.
FYI: Face.IsSurface did not work for my need, I had trims very close to/on the edge. So Face.IsSurface was False.
However I started to suspect the cause to be the new surface to slightly deviate from the trims so they fell off the new surface.
It seems I have solved it now by extending the replacement surface on all sides to accomodate for possible out-of-tolerance deviations.