algorithmic modeling for Rhino
Hi everyone,
I'm an absolute beginner to Grasshopper (started on Monday) and have been struggling to achieve something.
The idea is to have a geometry (let's say a cube) that would be spread on a surface. As we get closer to the center line of the surface, the more space between the cubes would be needed. The size of the cube would also have to vary.
The general idea is to give the impression that something broke in two pieces and you would have the remains spreading in the middle.
I've managed to get close to this effect for one line by finding a VB script on this forum (thanks, Taz)
By adding a random parameter for the density I felt that I was getting closer. But this only works for one line, with one geometry. I then would have to repeat it again and again for each line and each direction (y and -y)
I've attached a diagram of the effect I'd like to achieve to make it more understandable as well as rhino and Grasshopper file.
So if someone could guide me through the steps and tools to use so I can understand the logic of it that would be of great help!
Thank you very much in advance for your help!
Tags:
try to find an example for cull pattern by distance to a curve/point or cull by an attractor, etc..
1. populate a surface with a N points (random or grid, your choice).
2. create your "attractor" curve and then use "curve closest point" to find distances..
3. remap distances between 0 to 1.
4. use random number to create a list of N numbers between 0 to 1.
5. use "smaller than" between two list to create a true/false pattern and use cull pattern on original points (if is the opposite effect, then use larger than or change connections).
6. create a box on each point.
then you can improve/manipulate the random list using math operators or more simple a graph mapper component.
Thank you Manuel for you quick reply. I'll try your method and let you know what I end up with :)
Hi Manuel,
Just so you know, I've taken the problem with a different angle now since I'd like to 3d print the mesh created in the future.
However, your reply was very helpful for my understanding of Grasshopper!
See definition attached.
Cheers!
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