This is the command leocad that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
LeoCAD - CAD program for LEGO models.
leocad [ infile [ -i [ outfile.ext ] [-w x] [-h y] ] ] [-l path]
LeoCAD 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.
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
infile 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 time.
Save pictures until the step time.
Adds a border around the pieces in the step they appear when saving pictures.
Use alternate parts library found in path . The Debian version of LeoCAD uses
/usr/share/leocad/ as the default.
``LEOCAD_LIB'' may be set to the path of the parts 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" loading="lazy" with a
resolution of 640x480 and exit when done.
Use leocad online using onworks.net services