algorithmic modeling for Rhino
I'm looking for a better way to manipulate the points in a trigrid - i have a hack work around but it involves using a delaunay mesh and my triangles' position in the list end up getting shifted in ways that arent really useful. I need to be able to pull out triangles with a culling pattern but it's impossible given its current state.
Is there a way to move shared vertices together, as a single point, rather than as separate per-triangle vertices?
thanks
Gabe
Tags:
when i say points, I mean the vertices of the curves. i want to use a series of move-transform components to operate on the vertices but I want them to act in sync - as far as I know I need to explode or retrieve the points and then transform them, only to rebuild the triangles in their original sequence...again, there has to be a better way
any ideas?
ok. i suppose an image might be necessary. i have a grid, a triangular one, and I want to move each vertices a certain distance but I need shared vertices to move together AND I need the original order of the triangles...anyone?
How are you moving your vertices?
You could use Kangaroo. Daniel's recent metaball video would be a example...
Hi,
I dont know how you are doing the triangles, but you can recreate the conections from the delaunay using the connectivity diagram like this:
in the example i use random values to move the original points... but the important part is the list item using the index from the delaunay, the line between the point and the points from the list item and a remove duplicate lines from kangaroo plugin.
sorry, thanks manuel as well
i have to try what youre suggesting but i think its missing what im after. i start with a regular trigrd. i move the vertices but I want to reassemble the exact same triangles - i want to avoid a delaunay mesh or drawing edges - unless of course I can draw edges or whatever in an order that resembles the trigrid...
hi Ola.
Do you can explain me how do work in this code replace string component?
Thanks in advance.
thanks OLA!!! this looks very promising. i want to move multiple points but I think this should do it.... I've never used the search and replace string component so this is great entryway. thanks so much!
Ola - I have tried to take away the Branch Item part, so that it's operating on all branches but then the problem becomes that the search and replace is only operating on separate branches so vertices are not moving in unison...any workarounds?
I am not sure I understand what you are trying to do. Can you post an image or some code?
The Replace String component doesn't seem to work with multiple inputs for F and R.
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