Grasshopper

algorithmic modeling for Rhino

Attractor Curve: Limiting radii of circles to a specific list of numbers

I have had some success so far adapting this line attract/repel tutorial (http://formularch.blogspot.ca/2012/04/gh-line-attract-repel.html) to my needs and am now trying to figure out the next step.

I am looking to limit the radii of the circles to a specific list of numbers. These numbers will correspond with the radii of the specific tooling which is available on the CNC punch press. (ie: 2mm, 2.5mm, 3mm, 3.5mm, etc)

Which components should I be looking at to perform this type of function? Or are there any tutorials floating around that could provide some of the base knowledge needed to figure it out?

I'm pretty new to this and just looking for where to start. I've attached the current definition below if it is of any use.

Thanks!

Views: 1435

Attachments:

Replies to This Discussion

I would recommend using remap and play with the target domain. Check the file I uploaded.

Attachments:

If you want to force the attraction to a few specific sizes try something like this. 

in this case i force the attraction to give me only 4 specific radii of 2,3,4,5

Attachments:

Thank you both for your help! I've cobbled together a hybrid of your tweaks and I think I'm on my way to having something usable. There's still some issues but if I get it working fully I will upload it here.

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