Grasshopper

algorithmic modeling for Rhino

Controlling variable Curve subdivision by Attractor point

I'm trying to subdivide a curve by a given number of points, making it relative to the distance between the curve and a close-by object (attractor point).
So far I have achieved a certain similarity to what I want to do but in a very neandertal way..
I cannot figure out the way to make variable subdivision points.

Attached are the files I'm working with, there are two options, both are based on vectors drawn from the original regular point division to the closest point on the curve to the attractor point. I'm just scaling them down to give me modified positions for the original points.

Does anyone know of any cleaner and real solution to this issue?

Thank you very much.

MA

Views: 1680

Attachments:

Replies to This Discussion

Hi Mark,

how are you? :)

take a look on the discussion from adrew heumann
http://www.grasshopper3d.com/forum/topics/push-points-along-a-curve

maybe you will find an other discussion in the forum about that topic...

i proposed my students to do it by a geometrically way, it is easy to control.


kind regards
[u
Attachments:
Hi Mark,

nice to hear from you!

Here two other alternative methods to find points on the curve based on the t parameter (similar to Andrew Heumann's definition), depending on the outcome you need. (Gh 0.7.0014)

Please see the file for description.
I hope it helps,

- Giulio
_______________
giulio@mcneel.com
McNeel Europe, Barcelona
Attachments:

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