Grasshopper

algorithmic modeling for Rhino

Help with attractors running along a curve to influence the size of circles on a grid?

Hi everyone!


Having a slight problem with attractors here. I have my own curve and i'm trying to get the circles to decrease in radius as they are closer to the curve. Unfortunately, it only seems to work in one area of the curve as demonstrated below:




Here's my function:



I tried grafting some parts of it. Placing a graft in front of the curve divide improved it a little. Though when placed where else, didn't really help.


I would be really grateful if someone could help me!

Function attached!


help attractors.3dm

help attractors.ghx 


Thanks in advance!


Ra

Views: 433

Replies to This Discussion

Hi Ra,

with getting attractors to work you need to use the Closet Point Components. There are four in all: Curve, Surface, Points and Pull. The Pull component is the universal one that can do all types of geometry.

In the image below I have used the Curve CP

Hi Danny!

Always here to save the day! Hmm... that's strange! 'Cause I tried closest point but it kept asking me to select a point. Weird. Thanks!

Ra

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service