Grasshopper

algorithmic modeling for Rhino

Hi! How do you subtract the circles from the surface, or find the intersecting region between plane and circles.

Also how do you reverse the effects of the attractor line? meaning, make the radius of the circles get bigger as they approach the line?

The rhino and grasshopper files are attached. Thank you!

Views: 3207

Attachments:

Replies to This Discussion

Hi.

This def. will let you choose attractor & repulser mode and have a subtracted surface.

Attachments:

Hi Hyungsoo,

That work perfectly! Thanks a lot! If I can ask another question..
I'm attempting to rotate the circles in the X and Z axis. Each one being rotated individually from their own center (like in the sketch), and the angle of rotation being influenced by the attractor line. So far I can only make them rotate all together from either a common reference point or from the attractor line (like in the picture below).

Peter, thanks for your help too, I think yours is too advance for me.

I re-attached the definition, any help would be very much appreciated.

 

Attachments:

Oops!

Hi Kim
I always look forward to your solutions and problem solving techniques. :)
This particular script runs very very slow on my computer, regardless of which slider I change.

I made a few revisions (see attached gh) , thinking I would gain some time NOT looking at a blank screen while grasshopper was calculating. Turns out not to have made a difference. Still takes 184sec to recalculate on my computer.

1. I was wondering if you know what in the script is the main cause of the recalculating time issue?

2. Is there a way attractors can be used without having to be internalized in the script?
I would just like to move the points on the fly, or better yet simple draw a polyline curve over the SQgrid.

Attachments:

Hi.

If you can match the number of grid cells and polygons, there' might be no time consuming.

If you want to merge all faces or split, cut out holes, you cannot help avoiding calculation  time. 

If you want to manipulate your curve attractor more easily, just draw a curve in rhino and reference it into GH. and replace interpolate curve component.

Attachments:

In addition to Kim's stuff get this as well (it is controlled by the 3 filters/gates [yellow groups] and operates on grids and surfaces). Any number of attractor pts in push/pull mode etc etc.

Works with code (advisable, especially with many attractors) and/or components. 

When in Grid mode this group ...

...makes what you want (deactivated as delivered: VERY SLOW, can't keep up live with the rest of the def).

Obviously with a few changes it could work by "perforating" attractor "influenced" holes in any surface as well (notify if you want such a capability, including holes made out of curves instead of circles).

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service