algorithmic modeling for Rhino
Hi all-
In this definition I have interp on srf crvs drawn and I am trying to manipulate points along those curves in response to stress values across the surface. Then I redraw the interp crv through the translated points.
My problem is this:
I did not want the endpoints of the original interp crvs to move so I removed them from the data set to be translated. However, I cannot figure out how to add the endpoints back into the data set before drawing the new interp crvs. I believe it's just a matter of list management but I cannot riddle it out.
Any thoughts?
Tags:
You can use the Path Mapper to merge these points back into the right place, but I would prefer to simply generate ZERO length Vectors to move the first and last points and that way not destroying the groups.
If you use the Path Mapper you are going to have to change it manually each time you alter the number of division points of the curve.
Thanks Pieter and Danny,
Pieter: i've not seem a weave component with 0, 1, & 2 for inputs.I only see the one with 0 & 1. Where would I find the other?
Danny: Can you explain how you would use zero length vectors to move the end points?
I did come to the realization that since i am removing the end points, i need to use the set that does not contain those points as the input for other components upstream instead of using the divide points. Then i just simplified the tree and added the endpoints back in. Do you think this is the est way to go?
Thanks
If either of you guys are interested: there is another level of sophistication i am trying to add to this definition.
Instead of having every point on every curve move toward which ever stress point is closest to it, I would like to
1.calculate vectors from every crv point to every stress point
2.set the length of each vector to be proportionate to the stress value of the surface point and inversely proportionate to the distance of the two points.
3. average the adjusted set of vectors for each point.
This way it is my belief that the surface curves will be pulled to the area of the surface which is averaged to be the highest stress in closest range for each curve... i think
Any assistance in achieving this would be most appreciated.
Thanks!
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