MegaMagnet
Posted: Fri Dec 03, 2004 11:11 am
So, in accord with a request and all the rest of the stuff I've found interesting to do...
MegaMagnet
Basically a mod of the magnet, but.
1. You can select the points you want to work with. If you have previously selected points in another tool, that's fine. If you click the "Only Selected" checkbox, that's what you get. The tool will only work on those points. <ALT> click to select new points.<CTRL> <ALT> click to deselect all points, and go back to normal. You can also use <SHIFT><ALT> to add new points to the ones already selected.
2. I hooked up the Magnet Strength part of the script that LM had in there, but hadn't finished. Musta left it for someone like me, so I dropped it in. With the "Use Strength" checked, the amount the points move drops the farther from the center of the circle you are. If you are using the Magnet strength I also swapped to a blue circle to show you roughly where the circle of influence is. It's an ugly bit o' code, so if you use radical changes on the numbers it may not represent whats gonna move so well, but it'll give you a decent rough idea. It's not that far off.
3. The Magnet Strength you can think about as somewhat like the bone strength. Give it a range, and it'll have some influence over all the points in that range (or the selected ones, if you're going that way)
4. The influence determines how far the mouse will move a point, if it's caught inside the Magnets sphere of influence. Subtle or harsh, I think they're both useful.
Separate tool, unzip it in your Moho\Scripts\Tool directory.
Anybody else gonna try this stuff? In the fine tradition of Monty Python, "I wans't expecting..." to be the de-facto official scriptwriter here. Hey, it's cool and all, but don't any of ya got some skills? Anyway, I hope you like this one, I think its a good bit for tweaking drawings, and I could see it handy for some good ol' stretch n' squish animation, especially the Magnet Strength part.
The thought just popped into my head that something similar that worked on the length of all the bones in a layer inside this kinda sphere of influence might be good. Yeah, extend the basic IK setup, yeah. Hmmmm.
Chime in on the scriptng, Yo. I'll put up a nice organized list of the scripts I've done in 2-3 days on my site for download. 'Til then, I don' mind the requests at all. Some help wouldn't suck, though.
--Brian
EDIT- Sorry, It seems I got over my bandwidth limit on that account. This one is fixed, but everything else probably isn't. I'll tune it all up after work. I need to get some proper webspace.
MegaMagnet
Basically a mod of the magnet, but.
1. You can select the points you want to work with. If you have previously selected points in another tool, that's fine. If you click the "Only Selected" checkbox, that's what you get. The tool will only work on those points. <ALT> click to select new points.<CTRL> <ALT> click to deselect all points, and go back to normal. You can also use <SHIFT><ALT> to add new points to the ones already selected.
2. I hooked up the Magnet Strength part of the script that LM had in there, but hadn't finished. Musta left it for someone like me, so I dropped it in. With the "Use Strength" checked, the amount the points move drops the farther from the center of the circle you are. If you are using the Magnet strength I also swapped to a blue circle to show you roughly where the circle of influence is. It's an ugly bit o' code, so if you use radical changes on the numbers it may not represent whats gonna move so well, but it'll give you a decent rough idea. It's not that far off.
3. The Magnet Strength you can think about as somewhat like the bone strength. Give it a range, and it'll have some influence over all the points in that range (or the selected ones, if you're going that way)
4. The influence determines how far the mouse will move a point, if it's caught inside the Magnets sphere of influence. Subtle or harsh, I think they're both useful.
Separate tool, unzip it in your Moho\Scripts\Tool directory.
Anybody else gonna try this stuff? In the fine tradition of Monty Python, "I wans't expecting..." to be the de-facto official scriptwriter here. Hey, it's cool and all, but don't any of ya got some skills? Anyway, I hope you like this one, I think its a good bit for tweaking drawings, and I could see it handy for some good ol' stretch n' squish animation, especially the Magnet Strength part.
The thought just popped into my head that something similar that worked on the length of all the bones in a layer inside this kinda sphere of influence might be good. Yeah, extend the basic IK setup, yeah. Hmmmm.
Chime in on the scriptng, Yo. I'll put up a nice organized list of the scripts I've done in 2-3 days on my site for download. 'Til then, I don' mind the requests at all. Some help wouldn't suck, though.
--Brian
EDIT- Sorry, It seems I got over my bandwidth limit on that account. This one is fixed, but everything else probably isn't. I'll tune it all up after work. I need to get some proper webspace.