Grasshopper

algorithmic modeling for Rhino

I am learning data trees in grasshopper.  Normally I would construct this simple mesh by the way shown at the top of the definition: taking individual points and manually sorting them to construct 8 individual meshes.  But I want to do this from a rectangle and weave the point data together to construct the mesh all at once. But  I can't get it to make more than one section in the rectangle definition.

Any Advice? How would you construct this mesh or surface in gh?

Views: 896

Attachments:

Replies to This Discussion

Here's a solution...in this case probably the best way to construct a new mesh is to get the vertex indices set up correctly, which uses a count of the exterior vertices to generate them...it really doesn't have to have anything to do with data trees for this example, more just with basic list management.

If you were to use data trees, then you have do a few different moves to ensure that you have the right vertices in each branch (like repeating your center vertex). You'll also end up constructing multiple meshes which you'll then have to join and weld:

Attachments:

Wow, thank you so much David.  I didn't realize what was possible with the triangle mesh tool, that's nice that it repeats the sequence without needing the repeat tool you used on the tree version. Thank you for doing the tree version too, it really helped me with my main goal here: to learn how to weave data in the way you did with the merge, repeat, and shift tools. 

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