Hello everyone.
I wanted to divide the curve into ino straight lines with varying straight lines. (First curve with red lines)
I want to have lenght of the lines as the input. The only solution I have found is considering the length of the curve (second curve with the orange lines) which is not the same with the legth of lines if I connect the endpoints.
I would really appreciate if you could help me. Thanks in advance
you can divide the cuve by specified distance. But it takes only one input/number. I want ro devide the curve lets say by 2, 3, 4 i.e, varying magnitude of lenght.
As you see in the drawing, I want my curve to be discretized with variying distance, in this case they are noted as r. If you select in grasshopper Divide Distance it does the same but only with constant r. I want to make it as an input of series of r.
Thank you all for your kind replies.
I think you are experiencing common problem of people that don’t provide enough information on their problems. Details matter as the tools has its limitation. I am not sure as you provide quite nothing but it seems your curve has a big length (100 000 units) compared to what @anon39580149 use as tolerance in the code (0.001). Change the tolerance to 1 and see if it is better. For me it worked.
There are many problem that are just scale related.
Your curve is not planar it does not work with @anon39580149 tool. I have not this problem with my tool has I don’t rely to Curve Intersection.
There is a deviation of 100 units.
The only workaround for now is to project your curve on a plane.