leocad/docs/leocad.1

138 lines
3.2 KiB
Groff
Raw Normal View History

2011-09-07 23:06:51 +02:00
.TH LEOCAD 1 "20 July 2000"
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
.\" other parms are allowed: see man(7), man(1)
.SH NAME
2014-03-12 00:05:21 +01:00
LeoCAD \- CAD program for LEGO models.
2011-09-07 23:06:51 +02:00
.SH SYNOPSIS
2013-01-06 16:33:37 +01:00
\fIleocad \fR[\fI infile \fR[ \-i \fR[\fI outfile.ext \fR]\fI \fR[\fI\-w x\fR]\fI \fR[\fI\-h y\fR] ] \fR] [\fI\-l path\fR]
2011-09-07 23:06:51 +02:00
.SH "DESCRIPTION"
2014-03-12 00:05:21 +01:00
\fILeoCAD \fR is a CAD program for creating virtual LEGO models. It
has an easy to use interface and includes thousands of different
parts in its library.
2011-09-07 23:06:51 +02:00
.SH OPTIONS
Below is a summary of all of the options that \fILeoCAD\fR
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.
.TP
.B infile
Loads the project file \fIinfile\fR
.TP
.BI "\-i [" outfile.ext ]
.ns
.TP
.BI "\-\-image [" outfile.ext ]
Saves a picture to \fIoutfile.ext \fR in the image format specified
by \fIext\fR and exits. If outfile is not given then the program will
use a name based on \fIinfile\fR. The file format is selected by \fIext\fR
and can be gif, bmp, png or jpg (if \fIext\fR is not present then the
default preferences format will be used).
.TP
.BI "\-w "width
.ns
.TP
.BI "\-\-width "width
Sets the width of the picture to \fIwidth\fR.
.TP
.BI "\-h "height
.ns
.TP
.BI "\-\-height "height
Sets the height of the picture to \fIheight\fR.
.TP
.BI "\-f "time
.ns
.TP
.BI "\-\-from "time
2014-03-12 00:05:21 +01:00
Start saving pictures at the step \fItime\fR.
2011-09-07 23:06:51 +02:00
.TP
.BI "\-t "time
.ns
.TP
.BI "\-\-to "time
2014-03-12 00:05:21 +01:00
Save pictures until the step \fItime\fR.
2011-09-07 23:06:51 +02:00
2017-06-23 23:57:46 +02:00
.TP
.BI "\-m "model
.ns
.TP
.BI "\-\-model "model
Sets the active submodel to \fImodel\fR.
.TP
.BI "\-c "camera
.ns
.TP
.BI "\-\-camera "camera
Sets the active camera to \fIcamera\fR.
.TP
.BI "\-\-viewpoint "front\ back\ left\ right\ top\ bottom\ home
Sets the viewpoint to one of the predefined angles.
.TP
.B \-\-orthographic
Use an orthographic projection.
2011-09-07 23:06:51 +02:00
.TP
.B \-\-highlight
2014-03-12 00:05:21 +01:00
Adds a border around the pieces in the step they appear when saving pictures.
2011-09-07 23:06:51 +02:00
.TP
.BI "\-l "path
.ns
.TP
.BI "\-\-libpath "path
Use alternate parts library found in \fIpath \fR. The Linux version
2011-09-07 23:06:51 +02:00
of \fILeoCAD \fRuses /usr/share/leocad/ as the default.
2017-06-23 23:57:46 +02:00
.TP
.BI "\-obj [" outfile.obj ]
2017-06-23 23:57:46 +02:00
Exports the model to wavefront format.
.TP
.BI "\-3ds [" outfile.3ds ]
Exports the model to 3DS format.
.TP
.BI "\-dae [" outfile.dae ]
Exports the model to COLLADA DAE format.
.TP
.BI "\-html [" path ]
Creates an HTML page for the model.
2011-09-07 23:06:51 +02:00
.SH ENVIRONMENT
2014-03-12 00:05:21 +01:00
``LEOCAD_LIB'' may be set to the path of the parts library.
2011-09-07 23:06:51 +02:00
.SH EXAMPLES
.PP
2013-01-06 16:33:37 +01:00
$ leocad car.lcd \-i car.png \-w 640 \-h 480
2011-09-07 23:06:51 +02:00
.PP
This will start LeoCAD, load the file "car.lcd," create a png called
"car.png" with a resolution of 640x480 and exit when done.
.SH FILES
.TP
2014-03-12 00:05:21 +01:00
.I ~/.config/LeoCAD Software/LeoCAD.conf
2011-09-07 23:06:51 +02:00
User preferences file
.SH BUGS
2014-03-12 00:05:21 +01:00
If you find any bugs please report them at http://leocad.org/trac/newticket
2011-09-07 23:06:51 +02:00
.SH AUTHOR
2014-03-12 00:05:21 +01:00
\fILeoCAD \fRis written by Leonardo Zide <leozide@gmail.com>.
2011-09-07 23:06:51 +02:00
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).