Page 1 of 1
Is it possible to find out the length of the curve?
Posted: Wed Oct 09, 2019 1:09 pm
by FilosoF
If I have a curved curve, is it possible to somehow get another curve equal to the size of my curved curve?
Maybe there is such a script ?
Re: Is it possible to find out the length of the curve?
Posted: Wed Oct 09, 2019 5:44 pm
by jahnocli
Is a curve ever not curved?
Re: Is it possible to find out the length of the curve?
Posted: Wed Oct 09, 2019 6:09 pm
by Greenlaw
Only in Moho.
Re: Is it possible to find out the length of the curve?
Posted: Wed Oct 09, 2019 6:11 pm
by Greenlaw
FilosoF wrote: ↑Wed Oct 09, 2019 1:09 pm
If I have a curved curve, is it possible to somehow get another curve equal to the size of my curved curve?
Maybe there is such a script ?
Can you illustrate what you mean? It's a bit unclear what you're asking for.
Re: Is it possible to find out the length of the curve?
Posted: Wed Oct 09, 2019 10:32 pm
by synthsin75
Re: Is it possible to find out the length of the curve?
Posted: Thu Oct 10, 2019 10:22 am
by FilosoF
Greenlaw wrote: ↑Wed Oct 09, 2019 6:11 pm
FilosoF wrote: ↑Wed Oct 09, 2019 1:09 pm
If I have a curved curve, is it possible to somehow get another curve equal to the size of my curved curve?
Maybe there is such a script ?
Can you illustrate what you mean? It's a bit unclear what you're asking for.
There is a closed curve for follow paz
The task is to get a straight line equal to the size of that curve, this is necessary for a smooth distribution of objects by follow paz
Re: Is it possible to find out the length of the curve?
Posted: Thu Oct 10, 2019 10:23 am
by FilosoF
This is a good function, but I'm not a programmer, unfortunately, and it’s impossible for me to get a solution to this problem
Re: Is it possible to find out the length of the curve?
Posted: Thu Oct 10, 2019 1:07 pm
by hayasidist
try this:
https://www.mediafire.com/file/7vr3glc3 ... e.lua/file
put the .lua file in your custom folder e.g. C:\Users\{{your custom folder path}}\scripts\menu\Draw
select one or more points on the curve you want "flattened" then run it as a menu script -- you'll get a line (made of just 2 points) from the centre of your screen towards the right -- you can then move it wherever you want
If that's not what you want / some of the above is not clear, just ask....
Re: Is it possible to find out the length of the curve?
Posted: Fri Oct 11, 2019 9:56 am
by FilosoF
hayasidist wrote: ↑Thu Oct 10, 2019 1:07 pm
try this:
https://www.mediafire.com/file/7vr3glc3 ... e.lua/file
put the .lua file in your custom folder e.g. C:\Users\{{your custom folder path}}\scripts\menu\Draw
select one or more points on the curve you want "flattened" then run it as a menu script -- you'll get a line (made of just 2 points) from the centre of your screen towards the right -- you can then move it wherever you want
If that's not what you want / some of the above is not clear, just ask....
Thank. This is what is really needed, it optimizes and reduces a lot of time, thank you!!!
Re: Is it possible to find out the length of the curve?
Posted: Fri Oct 11, 2019 11:35 am
by Víctor Paredes
Ah, this is interesting. Thanks.
Re: Is it possible to find out the length of the curve?
Posted: Mon Oct 14, 2019 10:24 pm
by hayasidist
updated to be more resilient to errors and to deal with multiple selected (or partially selected) curves - the "reference line" is now centred on the centre of the curve -- same link
http://www.mediafire.com/file/7vr3glc34 ... e.lua/file