Grasshopper

algorithmic modeling for Rhino

Hi,

I got an insole and I want to make as many little holes in it as possible. In the Example.png you can see what I can get. But some are half inside and half outside. These should not be used but only the ones inside the insole. Also the U and V distance is static. They should just move around and fill the insole with a static distance from eachother.

Anyone can give some tips or tricks?

Thanks in advance

Views: 1336

Attachments:

Replies to This Discussion

Because there can be more holes like this.

Search the forum for discussions on "circle packing."

Jordy

1. For eliminating "shapes" see this post of mine : http://www.grasshopper3d.com/forum/topics/123-45-loft-examples

In particular the portion of the code for your case is this:

there's 2 "methods" (the crude and fast and the right and slow) for creating the solid to test the inclusions. In your case use the crude since an insole has never the same Z for a given (X,Y) set.

2. Creating "patterns" for the circles is very easy (if you are familiar with the relative item(s) stuff). For some indications/hints see my replies on this (use the latest gh posted):

https://www.google.com/url?q=http://www.grasshopper3d.com/xn/detail...

3. Lunchbox could cut the mustard (the circle center thing) with an indirect way but it could be like shooting a mosquito with a bazooka (but why not? he he). Anyway use the logic in the "123,45 Loft examples" if you decide to use Lunchbox as the "pattern maker".

4. Paneling Tools ... er ... the bazooka thing again. 

5. C# : this is the best option by a million miles > you control anything.

best, Peter

The circle packing approach:

Attachments:

Genius (as usual)

Added the Z thing option and by doing so ... added the usual chaotic gate combo (for the brave)

PS: if input data are lost (happens all the times) use Rhino file.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service