Streincorp Pistons

19 votes
Version: 
v 1.6
Date Updated: 
12/01/2011
Author Name: 
Luke Pettit

A script that recreates the tutorial from Dario Strano.

 

 

Additional Info: 

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.

Video URL: 
AttachmentSize
piston_v1.6_2012.ms14.49 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Michele71's picture

Good!! Very nice script!! :)

Good!! Very nice script!! :) Thanks!!!!

lucpet59's picture

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

lucpet59's picture

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

Anubis's picture

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)

kilad's picture

just use try(destroydialog

just use try(destroydialog pistonRollout)catch()

lucpet59's picture

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

Anubis's picture

Cheers

Hey Luke, you did it :) nice work!

my recent MAXScripts RSS (archive here)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.