Is it possible to find out the length of the curve?
Moderators: Víctor Paredes, Belgarath, slowtiger
Is it possible to find out the length of the curve?
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 ?
Maybe there is such a script ?
Re: Is it possible to find out the length of the curve?
Is a curve ever not curved?
You can't have everything. Where would you put it?
Re: Is it possible to find out the length of the curve?
Only in Moho.
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Re: Is it possible to find out the length of the curve?
Can you illustrate what you mean? It's a bit unclear what you're asking for.
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
- synthsin75
- Posts: 9973
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Is it possible to find out the length of the curve?
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Is it possible to find out the length of the curve?
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?
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
- hayasidist
- Posts: 3523
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Is it possible to find out the length of the curve?
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....
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?
Thank. This is what is really needed, it optimizes and reduces a lot of time, thank you!!!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....
- Víctor Paredes
- Site Admin
- Posts: 5664
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
Re: Is it possible to find out the length of the curve?
Ah, this is interesting. Thanks.
Moho Product Manager
www.mohoanimation.com
Rigged animation supervisor in My father's dragon - Lead Moho artist in Wolfwalkers - Cartoon Saloon - My personal Youtube Channel
- hayasidist
- Posts: 3523
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Is it possible to find out the length of the curve?
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
http://www.mediafire.com/file/7vr3glc34 ... e.lua/file