View Single Post
Old 21st January 2010, 01:55 PM   #5
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,565
Default Re: Not yet a user ... Is it possible to 'script' and object ?

I think the only object you can make in a script is a cube but you can also load any object from a script line and then reposition that in a similar way - see the list of commands that come back from an 'ac3d list' command.

If you can write plugins you can add your own commands which can then be used from scripts.

Look into tcl/tk - that's what AC3D uses for scripting. You could make a UI where you enter scripts and a button which will execute the code. Alternatively, you can send commands to AC3D via a socket.

If you don't know tcl/tk, you could always use your favourite scripting language to generate AC3D files. The format is pretty simple.
Andy is offline   Reply With Quote