Page 1 of 1
					
				Is it possible to find out the length of the curve?
				Posted: Wed Oct 09, 2019 5:09 am
				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 9:44 am
				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 10:09 am
				by Greenlaw
				Only in Moho. 

 
			 
			
					
				Re: Is it possible to find out the length of the curve?
				Posted: Wed Oct 09, 2019 10:11 am
				by Greenlaw
				FilosoF wrote: ↑Wed Oct 09, 2019 5:09 am
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 2:32 pm
				by synthsin75
				
			 
			
					
				Re: Is it possible to find out the length of the curve?
				Posted: Thu Oct 10, 2019 2:22 am
				by FilosoF
				Greenlaw wrote: ↑Wed Oct 09, 2019 10:11 am
FilosoF wrote: ↑Wed Oct 09, 2019 5:09 am
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 2: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 5:07 am
				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 1:56 am
				by FilosoF
				hayasidist wrote: ↑Thu Oct 10, 2019 5:07 am
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 3: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 2: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