Grasshopper

algorithmic modeling for Rhino

Hello all, is there a way to select a loop of faces of a mesh?

any hint will be much appreciated,

David

Views: 1684

Replies to This Discussion

Thank you Daniel, im trying to figure out how the algorithm works, for now i dont understand based on what it pick those faces, i already manage to do what i want with the item selector, but it all was manual and with meshes woth more than 80 faces it was slow and painful

i am just trying to select a ring of faces of the mesh

Attachments:

Sorry, it works as follows:
First -> Select a first face.
Count -> Number of faces.
Pattern -> Select adjacent face. 0 -> first, 1 -> second, 2-> third, 3-> Fourth. (If the face is triangular, pattern can only use 0, 1 and 2. The order of adjacente faces depends on the topology of the mesh).

What this does is to select the neighboring face, according to their topology of adjacentes faces, using the pattern, so if you want a straight row of faces, the pattern will be 0,0,0,0... (if that is the direction desired and the topology is uniform) or only one 0.

The problem with this (that's not a good method, but quick to do) is that depend on the topology of the mesh. In the case of the cube, mesh faces that are on the face below and above of the cube does not follow the same order as the others. In your mesh, I do not know what happens because I need to see the mesh.

Thank you Daniel ill try this, i think know i understand the idea to achieve what i want

All the meshes on the project  have quad faces

Attachments:

In fact, my script was pretty bad, I do not even remembered the open meshes...
No matter, I made another approach, more manual, but more intuitive.
Maybe then you can get what you want, or is too slow in this way?

Attachments:

By the way, if you change the topology of the original mesh to Plankton and then to RhinoMesh, my script works remarkably well.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service