Brep edge selection in Grasshopper?


#1

So, I’m trying to implement tsMatch inside of grasshopper.

We let you match G0, G1, or G2 with curves or surface edges. Curves are pretty straightforward. I’m having trouble figuring out how to allow users to select brep edges. Internally we’re using CRhinoPolyEdgeSegment as a container for both.

I looked for a Match component but didn’t find anything.

Any ideas what the best way to do this is?

Thanks :smile:


#2

I ended up just making the user specify Brep edge indices. Not the most elegant, but workable.