PDA

View Full Version : Hydraulics Setup - Layout LScript



falogfx
11-21-2011, 12:53 PM
Continuing my efforts to give something back to the community... Here's a small script to makes setups for hydraulics (cylinder/piston).


Use this script in a separate scene, then use "Import from scene". Problems can occur otherwise.
The cylinder and piston shall NOT be parented to each other.
Make sure the two objects are modeled so they meet each other. Just as they would in real life.
Set the pivot points of both objects correctly.
Run the script
Select Cylinder Object and Piston Object
Select which rotation channels shall use IK.
Click OK
Now you can move either object and the other one should follow.


Oh, this script can eventually crash your scene and might be buggy, that's why I suggest to run it in a separate scene. or at least SAVE before use.

Please, report any bugs you find here.

That's it for now, have fun :)

OnlineRender
11-21-2011, 01:05 PM
wicked thanks make sure you add to the http://www.lwplugindb.com/ otherwise it may get lost here ....

also on lightwiki would you like me to add to the cloud storage ?

falogfx
11-21-2011, 01:22 PM
wicked thanks make sure you add to the http://www.lwplugindb.com/ otherwise it may get lost here ....

also on lightwiki would you like me to add to the cloud storage ?

Yeah, for sure put 'em in the cloud :) I'll check out lwplugindb.
Have you seen my other two script threads? "Layer Selection Tools" and "Radial Move". You can put them at lightwiki also if you'd like to.

Thanks!
/Michael

nightrider
11-21-2011, 01:22 PM
Oh thx for this you are good :)

nightrider
11-21-2011, 01:26 PM
where do you have your script threads ??

falogfx
11-21-2011, 01:34 PM
Here...
Radial Move - Modeler LScript (http://forums.newtek.com/showthread.php?t=123806)
And here...
Layer Selection Tools - modeler LScripts (http://forums.newtek.com/showthread.php?t=123893)

BigHache
11-21-2011, 02:08 PM
Thanks! Could come in handy.

animadeco
12-08-2011, 09:30 PM
very good, I'm a mechanical engineer, this will help me very much I have not find out plugins like that.

thanks

zapper1998
02-13-2012, 07:30 PM
cool

BigHache
02-21-2012, 04:14 PM
Your Radial Move script just saved my tail. Thanks again!

falogfx
02-22-2012, 12:08 AM
Your Radial Move script just saved my tail. Thanks again!

Glad to hear that, you're welcome :)