Grasshopper

algorithmic modeling for Rhino

Hello everyone,

I am trying to place a series of points on a curve and would like those points to be spaced unevenly as you can see on the image.
Possibly i would like to control the spacing with a graph.

I hope someone can help,
Many thanks,

Arthur

Views: 18423

Attachments:

Replies to This Discussion

Try this setup:

Hi All! I would add a condition: Imagine that we have that curve, and we divide it according to an atractor point (orange). Depending the position of that point, we'll get bigger distances between the points (green) of the curve. How can we do this?
Thank you
Attachments:
What are the rules for the relationship? Distances? Is there a set number of points or does the count adapt?
Hi Dirk, thank you for the reply. Let's say that we have a curve, and we want divide it by 20. The distance between the attractor point and the curve will be the "max" distance between the points of the curve, and than It would get divided in a "gradient" way, until the end points (far away from the attractor).
It would be great to control the "gradient" distribution of the rest of the points.

Thank you
sorry... I missed your reply. Sure, you can set up distribution by distance logic. Here's a quick solution for point distribution. The VB component additively sums up the distance fractions - you can either do this in components or download it from here.

Hi Dirk,

Thanks for this. I set up this definition but for some reason I am not getting any redistribution of points based on the attractor. Can you look at my definition.

Thanks in advance.

Bruce
Attachments:
sorry... forgot to mention that I removed the Math.Round code. This should work.
Attachments:
thanks
Hi Dirk,

Could this be done without "VB script"?

Many thanks.
Sure, see the comparitive defintions.

Thank you Dirk, I'd like to add one last rule: the distance between the curve points near to the attractor point will be the biggest one and not the smaller one, and than will "fade out" ( like an inverse operation - 1st JPG I uploaded).

Many thanks.
just throw a reverse list on the mass addition.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service