Streincorp Pistons
A script that recreates the tutorial from Dario Strano.
Updated to v 1.6
Fixed up the piston order in both the flat planes and cross plane I accidentally broke in the previous update
Updated v1.5 Added new features based on the second video on the series
Added ini file to save settings
It can make v angles either pre-set or user defined.
It can set either Two stroke or Four stroke engines.
You can't go from either of the flat or cross planes to 90 degrees, 45 or any of the others you must go to Off first.
At this point you'll have to wire the offset lines as per the second video yourself I'm still working on scripting this.
Attachment | Size |
---|---|
piston_v1.6_2012.ms | 14.49 KB |
Comments
Good!! Very nice script!! :)
Good!! Very nice script!! :) Thanks!!!!
22-12-10
Ok I've solved the v8 flatplane and crossplane part of the script.
Any and all constructive crits and suggestions welcome. Just remember I'm still a scripting noob. ;)
Thank you to everyone who has helped weather you know it or not, and have a happy Christmas and new year, or what ever it is you celebrate at this time of year.
Luke
Thanks Anubis and Kilad
(Hangs his head in shame)
If it were any more obvious........
speed = (my_brain + paint_drying) :)
I'm so slow it takes me two hours to watch 60 minutes
Put destroyDialog before rollout def
Put
destroyDialog
before the rollout definition (this is important).Adding
destroyDialog
after rollout def do nothing'cause the new def overwrite old one and
the command lose connection to the previous rollout.
Cheers
my recent MAXScripts RSS (archive here)
just use try(destroydialog
just use try(destroydialog pistonRollout)catch()
haha Thanks, I seems to want
haha Thanks, I seems to want to make everything more complicated than it needs to be and over think everything. :)
I have to work out why my bit of code
"if pistonRollout != undefined do destroyDialog pistonRollout"
doesn't work now
Cheers
Hey Luke, you did it :) nice work!
my recent MAXScripts RSS (archive here)