Grasshopper

algorithmic modeling for Rhino

I have a list of closed curves that I'm trying to offset from a range of numbers defined by the distance away from a attractor and then reverse this list and so on in which it repeats itself to supply the offset curve component values. In effect creating a wave of values that offset the list of 400 or so curves. I'm relatively new to this so any help would be greatly appreciated.

Views: 5985

Replies to This Discussion

Does each curve have a wavy offset in this scenario? Or is each curve a uniform curve but varied from the other curves?

If its the wavy answer then you will need to create a new curve based on the control points of the base curve moved out by a defined vector. Or if the control points are not enough then divide the curve with equally spaced planes to get the required accuracy. From these planes you can derive the perpendicular vector and then apply a Factor of the attractor point distance to set its length.


For Multiple Curves the definition does not need to change just select more curves for the input

Here are the files I'm working with. What I'm trying to do is have the voronoi cell offset at different lengths according to it's distance away from a curve attractor points. While maintaining a level of offset that is lower than a specified number.

Thanks for the help Danny.
Attachments:
Hi Matthew,

In order for an attractor point definition to work you need something that it is attracted to.
There are four components for this three closest point components to either points curves or surfaces and one Pull Component to a 'variety of geometry' Instead of measuring the distance between you relevant points, find the closest point on the curves for each point and measure that distance to base you offset on. Not sure what you were going for but you can see in the image below that there are a variety of offset distances. This should set you off down the right path.

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