Maya for 3D Printing - Rapid Prototyping
In this course we're going to look at something a little different, creating technically accurate 3D printed parts.
# 1 26-11-2007 , 08:23 AM
sjtaylor84's Avatar
Subscriber
Join Date: Nov 2005
Location: England
Posts: 102

mac equivalent of .bat file rendering?

Hi there,

When at Uni I render using a .bat file with a list of files in it. How do I do this on a mac as I have a mac at home?

Thanks in advance
Simon


www.simontayloranimation.com
# 2 26-11-2007 , 08:35 AM
gster123's Avatar
Moderator
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
No too sure of this is the way to do it but I think that MAC OS is UNIX based, and if so this is out of Maya 6 the complete ref.

save it as a .txt file then you change the permissions so out of the book

"open a shell then use the cd command to navigate to the location then type the following

chmod a=rwx filename.txt

(where filename is the name of the text file)

press enter (return) then to begin rendering type

./filename.txt

As I say I dont know if this is the correct way to do it for a mac but it might make more sense to a mac user as some of the commands might be commonplace in your OS vocab, and hence make sense.


"No pressure, no diamonds" Thomas Carlyle
# 3 27-11-2007 , 01:26 PM
t1ck135's Avatar
Registered User
Join Date: May 2004
Location: UK
Posts: 1,991
yep that looks good steve user added image

I still use chmod 755 or 644 or similar for ownerships (depending on what you want to do) even though it might be the 'old' way

You can do it all from your current location as well, I think its a bourne shell variant on the mac so auto tab completion should work. If you go to a terminal and type the first couple of letters of the directories that it is in and then presse the tab then it should give you the path (or if there are many with the same starting name it will cycle through them with each tab press).
once you get into the directory with the file just add the ./filename to the end and if the permissions are set correct it will execute it.
e.g,
In command terminal:
/home/simon/scripts/./filename
obviously replace with your own details user added image

not that beneficial here but just a different way of executing a script without having to move into its location

Si


Examples of bTraffic - a traffic animation tool for Maya
bFlocking - a tool for Maya 8.5+ to generate flocking and swarming behaviours
Jan/Feb Challenge 2007 Entry and W.I.P
May/Jun Challenge 2006 Entry and W.I.P
Mar/Apr Challenge 2006 Entry and W.I.P
Jan/Feb Challenge 2006 Entry and W.I.P
Nov/Dec Challenge 2005 Entry and W.I.P
Sep/Oct Challenge 2005 Entry and W.I.P
Jul/Aug Challenge 2005 Entry
www.flash-fx.net
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads