Back to Content
Command Line Interface
The professional version of CopperCube supports advanced command line options
in order to batch-create files and scenes. The syntax is:
CopperCube.exe [file] [-import:file] [-save:file] [-publish:WebGL|Flash|Windows|MacOSX] [-quit]
Example:
CopperCube -import:somefile.3ds -save:myscene.ccb -publish:WebGL -quit
This will import a 3DStudio file 'somefile.3ds', save it as 'myscene.ccb' and publish it as WebGL scene. When everything is finished, the editor will close.
Details:
- [file]: Specifies a .ccb file to be opened in the editor. This is optional.
- [-import:file]: Specifies a static 3d model file to be imported into the current scene in the editor. The file can be of any supported format, like .3ds, .x, .obj, .lwo etc. This is optional.
- [-save:file]: Saves the current document as .ccb file. This is optional.
- [-publish:WebGL|Flash|Windows|MacOSX]: Publishes the current document as WebGL, Flash, Windows .exe or Mac OS X .app. Note: Use the -save option to save the document before, in order to make coppercube publish the document to the location you want it to be. This is optional.
- [-quit]: Closes the editor again. If not specified, the editor stays open.
In order to use the command line interface on On Mac OS X, run the command line with the application binary inside the .app bundle.