Grasshopper

algorithmic modeling for Rhino

I am looking for some help refining a simple point attractor definition working on circles (defined by center, normal, and radius).  Instead of producing a gradient of different size circles I would like to constrain the outputs to discrete sizes.

For example:

Current point attractor results: radius: 1, 1.1, 1.2, 1.3, 2.134, 3.5346, 4.546,6.216, etc.

Desired point attractor results: if radius (or, distance from point attractor) is 1<x<2, then x=2 / if 2<x<4, then x=4 / etc.

 

Thanks for any help.

Views: 1123

Replies to This Discussion

Can you post your current def?

Chris

I have attached ghx and 3dm files.

 

thanks chris.

b

Attachments:

Here's an idea on this.

 

Chris

Working well.

 

thanks chris.

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