Grasshopper

algorithmic modeling for Rhino

Hi all,

I'm trying to make a zones system for my university project,

it should calculate the position of the zones according to their radius and the distances between them using kangaroo springs.

The problem is that I'm getting intersections between zones, which I don't want to happen.

Is there any way to avoid intersections?

 Thanks a lot!

p.s to check out the definition just input the point from rhino. 

Views: 2002

Attachments:

Replies to This Discussion

First of all, you know that plugging more than one slider into another component (such as a Number param) results in a list of the order of the connections? Then there is the GeneList component, which is basically a group of identical sliders with a list output...

As to your question: There is no way Kangaroo can make absolutely sure that the circles don't intersect while minimizing their distance. You can set the resting length of any connection to at least the sum of both connected radii. Still there might be some other connections acting on this spring and compressing it below rest.length.

Thanks for replying,

Got it with Kangaroo, didn't quite realize that before.

I'll also try the GeneList.

 

I did't understand though what you meant by 

"...list of the order of the connections"

 Is it about this part of the definition?

Is it somehow wrong? Could you explain it a bit more in detail please?

Thanks beforehand! 

 

 

Just take your sliders and plug them into the panel directly one after the other while holding down SHIFT and you will see what I mean.

Especially for large definitions every unneccessary component will slow you down and eat up memory.

Oh I see, so it's for the optimization purposes, I got it, thanks a lot!

hey!

your definition looks very interessting! was there any progress since your last post? do you solved the intersection sections?

it would be awesome to have a look at your actual definition! please share it with me;)

bea.franko@googlemail.com

thanks bea

Hi, yes, actually I've achieved what I wanted, here's what came out:

I remember I had some issues with it, besides, it seems too overcomplicated to me now, it can be optimized a lot I guess, for example the whole "wooly paths part" can be replaced with the script by David Reeves, so feel free to try.

Attachments:

wow!

thank you!

do you have the rhinofile aswell? i want to understand your definition;)

thank you so much!

;)bea

Hi Artyom, can you explain the text behind the input boxes in this definition? I cant seem to get it to work. Thank you!!

PS

Hi is anyone able to upload at 3dm file to go with Artyom's (what looks like an awesome) definition.

I am only able to get the wooly paths part working, but they do not avoid the circles. Any help would be hugely appreciated. Cheers 

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service