algorithmic modeling for Rhino
Hi Guys,
This is my first post and I am very new to Grasshopper, hope you can help me out.
I've made a routine to draw lines through two points; One is a fixed basepoint, the other one is a 'point on curve'. If I lineair array this, I get the following (see attached images).
I would really like to 'advance' the 'point on curve' by a factor, so that each next curves starts a little later (wave effect). Unfortunately, I can't add the integer of the 'point on curve' slider.
Do you have any ideas how it can be done? Maybe with a 'divide curve'? I tried that also, but my newbie status got in the way ;)
Thanks in advance,
Jeroen
Tags:
Without any GH code, I don't want to play. ;)
However, if your question is about placing points on a curve at irregular intervals(?), there are several methods:
Thanks Joseph, I will try to explain myself a bit better;
If I have for instance 5 (x) curves with a 'point on curve' applied, I would like to get the following result; curve 1, point @ 0% - curve 2, point @ 20%, curve 3, point @ 40% and so on. If I change X, the percentage of each curve changes. This way, I will end up with a wave-like pattern in my array of curves.
Upon your request, here is the code :)
I'm sorry but I don't know what you mean by that :/
It's solved when I can connect these two lists of points to each other in this matter;
centerpoint 1 to divide point 1 of 3
centerpoint 2 to divide point 2 of 3
centerpoint 3 to divide point 3 of 3
Right click on the 'Curve' geometry and select "Internalize data". Otherwise your code is useless without the Rhino file where that curve is located.
Sorry, I don't understand what you're asking. Have fun.
This is helpfull Joseph, thanks! I think I can manage to get what I want with this :)
I didn't learn about the Eval Curve yet, that did the trick!
If you say so. I learn more by looking at actual GH code instead of screen images.
Just getting used to this Joseph, give me some slack here ;)
Welcome to
Grasshopper
© 2024 Created by Scott Davidson. Powered by