algorithmic modeling for Rhino
Hi Maryam,
The Decompose Mesh component will have a list of actual points from the V output and a list of Face indices from the F output. The Face Index list can be decomposed further to get the corner points indices. i.e the index of that point in the V output.
You can then go on to use these lists to select points that represent individual Faces and generate polylines to represent them. Here I have used the Flatten Component to re-name the Branches of the four lists so that they can be merged and flipped to give me multiple lists of the 4 corner points that are then used to select the points for each closed polyline for a face.
If you look at the structure of the output from the merge component there are 4 branches containing 600 points each. The Flip component will change this to 600 branches containing 4 points each. Effectively changing the rows of an array to columns and vice versa.
Thus giving you all the points you need to represent the boundaries of a face in one branch.
Hi all
if you are working with meshes you should also install 3rd party plugins from
Giulio Piacentino called
weaverbird (http://www.giuliopiacentino.com/weaverbird/#more-1218)
and the meshedit tools from us (http://utos.blogspot.com/p/downloads.html)
With this additional tools you have a lot more fun with meshes inside grasshopper
like subdivisions, explode mesh, extract polygonfaceedges, tessellation, naked edges, and many more
best
to]
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by