Is there a way to return the edge of surface that make up a trim with the Rhinoscriptsyntax?
Looks like in OpenNurbs it stores an Edge trim Array?
Is there a way to return the edge of surface that make up a trim with the Rhinoscriptsyntax?
Looks like in OpenNurbs it stores an Edge trim Array?
Try rs. DuplicateEdgeCurves (list of individual edges) or rs.DuplicateSurfaceBorder( inner, outer or both surface borders)…
HTH, --Mitch
rs.DuplicateEdgeCurves is going to give me all the edges, not just the trim edges?
Huh if use rs.DuplicateSurfaceBorder and look for interior it doesn’t come up with any trim curves.
Yes, I don’t think there’s a way to distinguish between a “natural” edge and a “trimmed” edge as far as I know. I think you would have to get the natural edges of the underlying untrimmed surface and then compare those with the actual face edges, and eliminate any that are duplicates… leaving the “trimmed edges”.
The surface you show doesn’t have any interior trims (holes)…?
Thanks.
I guess I miss interpreted what interior meant. I thought that any edge inside one of the 4 boundary edges would be considered an interior edge.
Whether a BrepEdge corresponds with a natural surface side is defined by IsoStatus of the relevant BrepTrim.
http://developer.rhino3d.com/api/RhinoCommon/html/T_Rhino_Geometry_IsoStatus.htm
Ahh, thanks, I’ve looked at that function before, but I didn’t connect it’s use with this situation…