Changes between Initial Version and Version 1 of CommandLine


Ignore:
Timestamp:
Apr 1, 2006 10:01:51 PM (11 years ago)
Author:
leo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CommandLine

    v1 v1  
     1== Command Line options ==
     2
     3Below is a summary of all of the options that LeoCAD accepts. Most options have two equivalent names, one of which is a single letter preceded by -, and the other of which is a long name preceded by --. Brackets ([ and ]) indicate that an option takes an optional argument.
     4
     5 * infile
     6Loads the project file ''infile''.
     7
     8 * -i [ outfile.ext ]
     9 * --image [ outfile.ext ]
     10Saves a picture to outfile.ext in the image format specified by ''ext'' and exits. If ''outfile'' is not given then the program will use a file name based on ''infile''. The file format is selected by ''ext'' and can be one of gif, bmp, png or jpg (if ''ext'' is not present then the default preferences format will be used).
     11
     12 * -w width
     13 * --width width
     14Sets the width of the picture to ''width''.
     15
     16 * -h height
     17 * --height height
     18Sets the height of the picture to ''height''.
     19
     20 * -f time
     21 * --from time
     22Start saving pictures at the step or frame ''time''.
     23
     24 * -t time
     25 * --to time
     26Save pictures until the step or frame ''time''.
     27
     28 * --animation
     29Tells the program to save animations instead of instructions.
     30
     31 * --instructions
     32Tells the program to save instructions instead of animations (default).
     33
     34 * --highlight
     35Adds a border around the pieces in the step or frame where they first appear when saving pictures.
     36
     37 * -l path
     38 * --libpath path
     39Load the pieces library from ''path''.
     40
     41 * --libgl library
     42Sets the name of the OpenGL dynamic library used by the program to ''library''.
     43
     44== Examples ==
     45
     46 * leocad car.lcd -i car.png -w 640 -h 480
     47
     48This will start LeoCAD, load the file "car.lcd," create a png called
     49"car.png" with a resolution of 640x480 and exit when done.
     50
     51