My understanding of trimmed surfaces (from this post)is that they are defined by a surface and one or more curves that tell Rhino to hide some parts of the surface.
My question is, Is there a way to get the definition of those curves?
Dupedge seems to duplicate any edge of a surface, whether it is relimited by a curve or not. I want only the curves in the definition of the trimmed surface
My ultimate goal is to get the total number of control points that define a trim surface, both the control points of the surface and the trim curves. And to be able to script that in Python to get the total number of control points in a polysurface defined by an arbitrary number of surfaces and trimmed surfaces
Getting the total number of control points of the surfaces has been easy with rhinoscriptsyntax SurfacePointsCount but now I’m looking into a way to find the control points of the curves delimiting the trim surfaces.
The link you sent is interesting. From there I found the BrepTrim class that seems to be exactly what I am looking for.