Grasshopper

algorithmic modeling for Rhino

Truncated cones in a solid created from 2 surfaces

Hi everyone,

I need help in order to create this model, it's very urgent. Nothing is working for me and I cannot find a proper solution for this.

I want to create a pattern with circles in a surface. These circles must have at least 3 different radius. (Limiting the size of the radius to avoid touching each other , I suppose this is using a formula but I don't know which one)

Then I would like to create the same thing in another different surface but this time with circles which are double size of the one which is in the same position but in the previous surface.

Then we need to create a solid between this surfaces (box??)After this I'd like to create truncated cones using those circles (which radius are controlled with a slider/formula)

Now the truncated cones need to be extracted from the solid created.

Finally, I need to delete some truncated cones  selecting them using a "list" command which I don't know which one is the best to use in this case.

I've uploaded the steps to create it.

Many thanks

Views: 1107

Attachments:

Replies to This Discussion

Hi again,

I have attached what I already have

Thanks

Attachments:

Sorry i dont quite understand your purpose, you want to generate some circles based on the points you added, or a grid?

In the picture of your first post, it seems all the circles are based a single grid. So you could simply draw a grid, take the cell's center to make your circles, and circle's radius should be smaller than half or your cell size(which means all the circles wont have any intersections). If you want the position of circles to be more disordered, you could add a random shift value to their centers, but this value should be taken into account when defining your radius size.

If you want to generate all the circles by the point you added, make a 2d voronoi based on your point, and take the smallest distance from your point and voronoi edges to be your radius. This could be fine i guess. 

Attachments:

Hi Looperpoly,

Thanks for your help. I've attached what I managed to do but I have some issues.

One is that the truncated cones in top row are outside the grid as well as the second row. The second one is that the truncated cones from the top row are adopting a strange shape which I don't know how to fix.

Thanks! :)

Attachments:

Hi again,

Once I have this, I'd like to distribute these truncated cones randomly.

Thanks!

Hi

For Q1: Your cell size was divide by 3, got random from range (0, 0.5/3) then multiplied by 2,  you set this value to your radius( *2 once more here), so finally the largest diameter will be Cell_Size/3*2*2 = 1.33*Cell_Size. So there's no surprise some circles will be larger than your cells.

For Q2: It's basically because you didnt flatten the grid centers.

Attachments:

Ha, when i was doing this, i told myself "i had too much grasshopper, feel like i've seen this somewhere before".

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service