algorithmic modeling for Rhino
Hello,
I am new to this forum and to grasshopper and have been trying to create my own surface manipulation script. Essentially, I am looking to create a function similar to cage edit but with more control. Specifically, by using a square relation of the distance (from point along surface being moved to all other points along that surface) and the distance (that those points are moved in relation to the distance the first point is moved. Essentially, creating a parabolic curve along that surface in all directions from the point moved.
I know this may not sound very clear so I created a conceptual pdf to illustrate what I am trying to achieve and it is attached to this post.
I am assuming a flat 2d surface as the original surface to be manipulated and am considering starting the script by mapping grid points along the surface, then trying to relate those points to each other in every possible combination possible so that all of them are linked to all other points. The biggest problem I see here is handling the lists of points along the surface in an organized order that will be based on the relationship of the distance of all points along that surface to all other points along that surface, so that I can then use that relationship to control the distance points are moved in relation to the the distance of the first move.
I have been told that this may be better approached through rhino scripting and although I would be interested in going in that route I would like to first tackle it in GH.
Thanks to anyone who may be of help!
Andrew
Tags:
Well, Although no one responded to this question I thought I would show how I resolved this in case someone ended up reading this with a similar question.
Attached is my script and an example of the manipulated surface points using that script. It turned out to be a much more elegant and simple solution than I may have thought at first.
Simply set a surface and point to move in GH and adjust values in the math as necessary.
Now I will simply rebuild a new surface from those points and voila
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