OnWorks favicon

leocad - Online in the Cloud

Run leocad in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

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

-i [outfile.ext]
--image [outfile.ext]
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).

-w width
--width width
Sets the width of the picture to width.

-h height
--height height
Sets the height of the picture to height.

-f time
--from time
Start saving pictures at the step time.

-t time
--to time
Save pictures until the step time.

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

-l path
--libpath path
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

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    Download LMMS Digital Audio Workstation
  • 2
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 3
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 4
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    Download XMLTV
  • 5
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    Download strikr
  • 7
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • More »

Linux commands