I’m trying to change the shape of these curves to set their length rounded on a predefined pitch:1 cm (units are in meters)
The difficult part is the starting point and the end point of each curve should not change.
What sort of approach might be used?
Im testing kangaroo 2, i think its the good tools but for the moment I still cant find the solution.
Thanks a lots
You want to change the shape of those curves - why don’t you use the points of those curves to create new curves you can manipulate however you want? Seems like your only condition is start and end points remain the same - is there anything else about the curve(s) you want to preserve?
Create new curves and make these do whatever you want with attractor points etc.
Sorry I probably wasn’t clear enough
I’m trying to change the shape just a bit enough to round off the length of the curves in a pre-fine pitch.
Basically, I had to transform the length in a divisible integer by my default denominator
Consider, for example 3 curves with the length:
1 - 8.5798m
2 - 9.769m
3 - 9.351m
round curves length 3.gh (174.2 KB)
some curves are almost straight, and the script find the only solution to scale them like 17x vertically to make them round.
You will have to pick manually which to just round to straight lines.
5cm is much more strict than 1cm, and this happens…