Grasshopper

algorithmic modeling for Rhino

I have no real idea how to cull an even pattern of mesh faces from this mesh. The problem is twofold; I suppose because the mesh goes from equilateral triangles to a delauney. 

I want to basically separate the mesh, where it only touches on the end vertices and not on the edges in order to essentially get a checkerboard pattern."

any tips?   

The images show (albeit manually) what i'm trying to achieve. Thanks!

Views: 2556

Attachments:

Replies to This Discussion

Patterning processes like these require looping or recursion. Native grasshopper components aren't built to perform these operations, but it's possible through scripting to do it...it also would likely be possible to use hoopsnake (which is a great component for introducing recursion using regular components on the gh canvas).

I've put together a little vb script that cycles through each mesh face and tries to split it into one mesh and its adjacent faces into another. It does this until the entire mesh has had all of its faces assigned to one or the other of the new meshes. You'll notice that when you're working with regular triangular grid meshes this works very well...however, once you start to introduce irregularity, it becomes impossible for the mesh to always alternate into that desired checkerboard form: some of the triangles from one group will end up sharing an edge with those in another. But have a look and hopefully it can help you out...

Attachments:

David, thanks for the reply and sharing your script. This is very helpful. 

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service