magnet line width
Moderators: Víctor Paredes, Belgarath, slowtiger
- Víctor Paredes
- Site Admin
- Posts: 5665
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
http://www.mediafire.com/?wjzkz35oyyn
here is it. but I think it needs some improvement. width should variate in relation to the center of the magnet scope. for example, a point which be just in the center should increase 100%, one in the middle 50% and one out of the scope 0%. that would be great.
Current magnet increase 100% all the width of the points inside the scope.
edit:
the magnet make exactly what I want if you move up and down... I forgot it
here is it. but I think it needs some improvement. width should variate in relation to the center of the magnet scope. for example, a point which be just in the center should increase 100%, one in the middle 50% and one out of the scope 0%. that would be great.
Current magnet increase 100% all the width of the points inside the scope.
edit:
the magnet make exactly what I want if you move up and down... I forgot it
thank you!!!!
but it doesn't seem to be quite working properly... i can't change the size of the magnet.
does this work with moho 5.4? or does it have to be anime studio?
but it doesn't seem to be quite working properly... i can't change the size of the magnet.
does this work with moho 5.4? or does it have to be anime studio?
Create cartoon characters and comics in minutes: www.bitstrips.com
- Víctor Paredes
- Site Admin
- Posts: 5665
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
Hi all,
I made a few changes to this script to make it easier to use (for me at least!).
This new version has up increasing the line width with falloff, (going down to increase a value doesn't make sense to me), and if you press shift and drag, that changes the magnet radius.
It can be found here:
http://www.mikegreen.name/Files/rl_magneto_linea.zip
I made a few changes to this script to make it easier to use (for me at least!).
This new version has up increasing the line width with falloff, (going down to increase a value doesn't make sense to me), and if you press shift and drag, that changes the magnet radius.
It can be found here:
http://www.mikegreen.name/Files/rl_magneto_linea.zip
- synthsin75
- Posts: 9979
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Nice mod Dodgy. Works great.
Might I suggest naming it with a unique prefix. Like:'mg_magneto_linea'. I know it may not seem like a huge mod, but it helps keep the scripts separate. I usually do this because I don't assume my mods are going to immediately replace the modded tool. Just makes it easier to try it out I figure.
Although I've already replaced the other tool with yours.
Might I suggest naming it with a unique prefix. Like:'mg_magneto_linea'. I know it may not seem like a huge mod, but it helps keep the scripts separate. I usually do this because I don't assume my mods are going to immediately replace the modded tool. Just makes it easier to try it out I figure.
Although I've already replaced the other tool with yours.
LOL It was more of a modesty thing. I only added a little thing to it, so I figured I shouldn't change the tool name. I do wonder if I should change it so if you have points selected already, it only affects those points, not make a new selection, or just grab the points on the line closest to it, as I imagine you only want to adjust one line width at a time...What do you think?
- synthsin75
- Posts: 9979
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Well since the original writer of this script is no longer around, I think any further development of it should reference the new developer, in case people want to make suggestions or ask questions. Just to be practical. We can always use all the scripters we can get, so modesty shmodesty.
I actually really like that shift key to change the radius. I wouldn't mind seeing that on other tools. Not necessarily radius, but for a key number input.
I actually really like that shift key to change the radius. I wouldn't mind seeing that on other tools. Not necessarily radius, but for a key number input.
- synthsin75
- Posts: 9979
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Doh, it's on the bottom of my plugins page, at www.mikegreen.name
Thank's!
A good addition to this script.
One thing I have wanted to add to it but never had the time to do is a simple point translate mode (invoked by alt perhaps).
As it is now you have to switch to the translate point tool to position the points when changing their width. Just alt-clicking and dragging would speed up working with this tool tremendously.
So, if anyone else feels this would be a good idea, please add it, I won't get around to it in quite a while.
A good addition to this script.
One thing I have wanted to add to it but never had the time to do is a simple point translate mode (invoked by alt perhaps).
As it is now you have to switch to the translate point tool to position the points when changing their width. Just alt-clicking and dragging would speed up working with this tool tremendously.
So, if anyone else feels this would be a good idea, please add it, I won't get around to it in quite a while.
- toonertime
- Posts: 595
- Joined: Tue Feb 27, 2007 8:34 am
- Location: ST. LOUIS
dumbo
a sort of newby inquiry:
I downloaded your line magnet script
and notice in the text file it says
provide Moho with the name of
the script.
How is this done?
I guess if you could simply walk me through
the steps of installing the script, I will pay
you on Wednesday for a hamburger on
Monday!
I downloaded your line magnet script
and notice in the text file it says
provide Moho with the name of
the script.
How is this done?
I guess if you could simply walk me through
the steps of installing the script, I will pay
you on Wednesday for a hamburger on
Monday!
Re: dumbo
That line is just for the script to tell AnimeStudio what it is called, nothing you as a user should worry about.toonertime wrote:...I downloaded your line magnet script
and notice in the text file it says
provide Moho with the name of
the script.
How is this done?
I guess if you could simply walk me through
the steps of installing the script...
To install just copy all files in the zip to your AnimeStudio install folder/scripts/tools and reload AS. (ctrl+F5 or restart) and you should see the new tool at the bottom of your tool panel.
- synthsin75
- Posts: 9979
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Rylleman,One thing I have wanted to add to it but never had the time to do is a simple point translate mode (invoked by alt perhaps).
That's a pretty easy fix, so I'll just tell ya real quick, since it depends on which point translate tool you want it to reference (LM or FA). Under the magnet line tool's "OnMouseDown" function you'd add this:
Code: Select all
if (keyEvent.altKey) then
LM_TranslatePoints:OnMouseDown(moho, mouseEvent)
end
Hope that helps.