Grasshopper

algorithmic modeling for Rhino

Hello - I initially posted this in the FAQ section, but figure it may help to post it on the General board too... Thanks - Jerry

I would like to ask for some direction on how to systematically organize mesh vertices in the attached examples?

I'm looking to be able to efficiently extract specific vertex numbers from this mesh surface.  Since the numbers are not sequential, and are scattered throughout the mesh, across all rows and columns it makes it cumbersome to select particular vertices for manipulation.

I'm looking to extrapolate a list of the vertex numbers for further editing, namely moving them in xyz directions.

I have successfully achieved this, but by manually typing in the numbers in a list defining the vertices I would like moved.  For reference, I created the mesh in Rhino, not Grasshopper.

Can someone please help me with understanding how to extract these numbers in a more efficient way, without typing each one in?

See attached.

Thanks,

Jerry

Views: 4766

Attachments:

Replies to This Discussion

well...what exactly are you trying to do? Move them one by one? or select them according to a specific rule?

Hi David,

I'm trying to move groups of them at one time.  Sometimes the manipulations are entirely along one row or column, other times there are groups (or clusters) of vertices that I would push or pull incrementally.

As a random example, let's say I wanted to move vertices 120 through to 150 in one direction, I would like to have those vertices enumerated such that vertices 120 through to 150 would be along a given row or column.  Perhaps it would be every 5th vertex, or nth vertex, that would would define that row or column.  

Instead, what I'm experiencing is a somewhat random number sequence such that I can't perceive a culling pattern.  In the example I attached there are vertices in the 500's adjacent to vertices in 100's or 200's, etc.  I was hoping to find a way to organize, or redefine, the vertex numbering, so I can easily call-out every nth vertex, that would be defined along a row or column, or quad to move in a particular direction without typing in a list each vertex one-by-one.

I hope this helps explains my question a little further.

Thanks for responding.

Jerry

 

It seems that if you're working with a grid type of mesh, then your best bet is probably to construct it yourself from scratch. One issue that emerges from using standard meshing tools is that they aren't necessarily particularly concerned with how they organize vertices when building up the mesh. But if you build it up yourself, then you can define the vertices very specifically. This can be an arduous task, though.

However, there are ways to get around this, especially if geometrically your initial mesh is predictable. So if your rows and columns are along x/y or otherwise easily specified arrangements, you can create lookup sets for each of them. So you'd set up ranges of x/y values to group your mesh indices. I'm not going to build it up from scratch myself, but if you post a definition with your mesh referenced in it, I can help you out a bit and show you what I mean.

Thank you David,

I'll take your advice, along with the advice of Mateusz, and build a mesh from scratch.  It will prove to be much more versatile this way too for future adjustments.

I'll post a definition tomorrow or Saturday - if you have a moment to review it then, it would be kindly appreciated.

Jerry

You may try to deconstruct mesh, sort vertices and then somehow change face vertices indices... 

But it would be far easier to create this mesh from scratch in grasshopper, that way you'll decide about the indices the way you like. 

You could also use the Weaverbird plugin (picture frame component especially). 

PS. In the FAQ section we post questions and answers (the one who posts the question usually follows it with an answer)... I would suggest to delete those previous posts and make admin's life easier.

Mateusz,

Thank you for your reply.  I'll redefine the mesh in GH, and learn to work with indices that are controlled that way.  I'm familiar with WB, but obviously need to become better adept at all its tools.

I also removed my posts in the FAQ section - thanks for the heads up.

Thanks again for taking the time to respond.

Jerry

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