Grasshopper

algorithmic modeling for Rhino

Hi guys,

Would you know why the definition below does not generate mesh triangles although it works with 4points surfaces ?

Many thanks,

Arthur


Views: 4376

Replies to This Discussion

You need to feed integers into the triangle component that correspond to the position of those points on a list. So in this case A = 0, B = 1, C = 2. Then place a "mesh" component and connect the list of points (from the CP component) directly into the V input and the triangle component into the F input.
Thank you very much Vincente, very helpful !


Would you know why in the above version, the output is separated mesh triangles and in the one on the link hereafter the output is a joined mesh ?
http://www.grasshopper3d.com/forum/topics/surface-mesh-from-a-grid-...
in the above example, the input data is grafted, producing a separate list for each triangle. I can't see from the linked example, but I imagine the face definitions are being fed different indices rather than the same set in order to produce faces from a flat list of points.

to produce a single mesh from the above, flatten your mesh output and use the weaverbird join meshes and weld component, or alternately use a setup like the one below:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service