Ubuntu Manpages

LeoCAD

CAD program using plastic bricks.

leocad [ infile [ -i [ outfile.ext ] [-w x] [-h y] ] ] [-l path]

This manual page documents briefly the LeoCAD program. It was written for the Debian GNU/Linux distribution because the original program does not have a manual page. The information in this manual page came from docs/LINUX.txt in the source archive.

LeoCAD is a CAD program that uses plastic bricks similar to those found in many toys (but not any particular brand). It supports animation as well as exportation to various file formats including POV-Ray.

Below 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.

Loads the project file infile

Saves 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 name based on infile. The file format is selected by ext and can be gif, bmp, png or jpg (if ext is not present then the default preferences format will be used).

Sets the width of the picture to width.

Sets the height of the picture to height.

Start saving pictures at the step or frame time.

Save pictures until the step or frame time.

Tells the program to save animations instead of instructions.

Tells the program to save instructions instead of animations (default).

Adds a border around the pieces in the step or frame they appear when saving pictures.

Use alternate pieces library found in path . The Debian version of LeoCAD uses /usr/share/leocad/ as the default.

Reads LDraw parts from srcpath and generates a new LeoCAD Pieces Library in dstpath.

``LEOCAD_LIB'' may be set to the path of the pieces library.


$ leocad car.lcd -i car.png -w 640 -h 480

This will start LeoCAD, load the file "car.lcd," create a png called "car.png" with a resolution of 640x480 and exit when done.

~/.leocad
User preferences file

If you find any bugs please report them at http://trac.gerf.org/leocad/

LeoCAD is written by Leonardo Zide <leo@gerf.org>. You can visit the LeoCAD homepage at http://www.leocad.org/

This manual page was written by Patrick Mahoney <pat7@gmx.net>, for the Debian GNU/Linux system (but may be used by others).