algorithmic modeling for Rhino
Hello,
I need some help selecting some areas from a list using their size.
I have a surface that has been split into smaller surfaces and each of these has an area. I would like to select areas according to their size. ie. all the shapes that have an area of 13, all the shapes that are 10 and so on. Next I would like to be able to individually select the centers of each of the areas in turn and move them vertically (this I can do).
How can I select the areas from my list based on their value?
Please see the definition and the list of values as reference,
Thanks.
Tags:
It's very easy but rule N666 in this Noble Forum states: no honey (i.e. def attached) == no party (i.e. assistance).
Moral: post the thing.
Of course. I totally forgot to post the definition. I will post when I can.
Thanks.
Here is the definition as it stands - pre your comments
you can use an equal component to get a true false list and then a dispatch component to pick the ones that are true...
Thanks Ethan,
That makes total sense. I will try this out and let you know how that goes.
Hello,
So I need some help removing extra lines from these pyramids. I would like be able to toggle through each of these sets of triangles (currently being controlled by area) and move the top of the pyramid by a certain amount.
Right now I have extra lines connecting pyramids to each other. I would like each Triangle to be its own pyramid with no extra lines.
My inputs are one larger Triangle Surface and a series of interior lines that divide the surface (srfsplit) it into a series of smaller triangles (these act as the base to the pyramids). From there I am using Area to find a center point to move vertically. My problem comes with overlapping data points connecting where they shouldn't.
What I am trying to do overall is create pyramids where the largest area has the tallest peak and the smallest area has the smallest peak. I am having some trouble doing this.
If anyone can help me that would be great.
first you need to internalize your curve data or provide the 3dm rhino file also. better to internalize> right click on referenced curve component and click internalize that stores the curve data i the gh file otherwise when we download the def it turns orange...
Hello Ethan,
I have attached the GH Definition and The Test File in Rhino 4. I don't have 5. In the definition I have labeled what layers to input at each of the definitions.
1. Definition that currently works for making a Pyramid Surface with Random Heights assigned. Output is Mesh file for CNC Milling.
2. The working File where I would like to be able to assign a controlled height to a specific interior pyramid. The larger triangles = the largest pyramid height and the smallest triangles = the smaller pyramid height.
Let me know if you have any pointers on the script for the second definition. I would love avoiding have to make the surface by hand in Rhino.
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by