Triangular subdivision based on curve


(Momen Moe) #1

Hello there guys, I would like to know, if there’s a way to subdivide a triangular grid based on any curve ?


(Chris Hanley) #2

Sure. The basic logic, for one approach, might be something like this:
1 - make a mesh from your triangular grid
2 - define some distance relationship from the mesh faces to your curve
3 - find the mesh faces that find that match that relationship
4 - subdivide those mesh faces. (I used the mesh plugin Weaverbird).
Here is an example, (Rhino 6).


subdivideMeshFaces.gh (20.0 KB)