Control points of a surface

Hi Everyone

I have a surface which is split in to multiple surfaces(Internalized in the below file), I am trying to retrieve all the control points or get the end point coordinates of each subsurface. I am trying to use deconstruct Brep, where I am getting the edges and vertices, however, this is not generating a point along an edge even if there is a Kink in the line, and I need to have the point coordinate of that kink also for example in the below image, I need all the coordinates at the ends where the line changes its angle… Can anyone please help.?

CornerPointsofSurface.gh (11.9 MB)

P.S. You asked for control points so can use CP instead of Disc, but what will you do with so many points :interrobang: (179 vs, 14)

2 Likes

Thanks a lot @Joseph_Oster , sorry for the confusion, I meant control points in general to mean I need end points where the edge forms a corner point. The first component you shared (discontinuity) this is the solution I was looking for, and it solves my problem. Thanks again