Leonardo Zide a84c3d7b7e Clean up shader initialization and preserve optional rendering fallbacks
The fixed-function renderer was removed, but shader capability guards,
bitmap text paths, and legacy attribute state still implied a working
shaderless fallback. Remove that obsolete state and check shader support
once when initializing rendering resources.

Return detailed context and shader errors through lcResult and show fatal
startup errors in GUI mode. Keep lighting, conditional lines, SDF text,
view sphere, and outlines optional, with program validity checks selecting
Flat shading, skipping unavailable overlays, or retaining selection tint.
Non-rendering exports initialize only the context needed for asset loading.

Apply icon availability to every parts list without overwriting requested
sizes. Disable unavailable lighting and view-sphere preference controls,
make attribute aliases explicit, and prevent signed-byte glyph indexing.

Validation: macOS debug build, GUI and image export under forced optional
shader compile/link failures, Flat fallback image comparisons, export
initialization checks, preference preservation, and glyph byte-range checks.
2026-10-11 21:00:12 -07:00
2026-09-19 17:28:49 -07:00
2026-09-30 09:58:38 +02:00
2016-10-02 13:39:37 -07:00
2021-03-20 17:00:04 -07:00
2026-09-19 17:28:49 -07:00
2026-09-18 16:43:20 -07:00
2026-09-30 09:58:38 +02:00

About LeoCAD

LeoCAD is a CAD program for creating virtual LEGO(R) models. It's available for free under the GNU Public License v2 and works on the Windows, Linux and macOS Operating Systems.

Installation

You can download the latest version of LeoCAD and its Parts Library from the main website at https://www.leocad.org

It's recommended that you install the latest drivers for your video card since LeoCAD uses OpenGL to take advantage of hardware acceleration for rendering.

LeoCAD for Windows

Download the latest LeoCAD-Windows.exe to your computer, double click on the icon to launch the installer and follow the instructions.

LeoCAD for macOS

Download the latest LeoCAD-macOS.dmg to your computer, double click on the icon to open the archive, copy LeoCAD.app to your Applications folder and then launch it from there.

LeoCAD for Linux

There are multiple ways to install LeoCAD on Linux.

  • Snap Store

    You can find LeoCAD in your distribution's Snap Store. Alternatively, you can enter sudo snap install leocad to install it using the command line.

  • AppImage

    Download the latest LeoCAD-Linux.AppImage, make the file executable (chmod +x) and run it.

  • Flatpak

    You can also install LeoCAD releases as a Flatpak from Flathub: https://flathub.org/apps/details/org.leocad.LeoCAD

    Note: there might be a delay for new releases to appear there. If you have it already installed, it will be updated.

  • From source

    If you prefer to compile LeoCAD yourself, go to the GitHub releases page at https://github.com/leozide/leocad/releases/latest and download the source archive from there. If you do not already have a Parts Library installed, you will need to download one and follow the installation instructions. More information on how to compile your own executable is available in the Documentation section of https://www.leocad.org

Online Resources

New users should read the online tutorial located at https://www.leocad.org/docs/tutorial1.html to learn how to use LeoCAD.

Legal Disclaimer

LEGO(R) is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this software.

S
Description
A CAD application for creating virtual LEGO models
Readme
30 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 98.4%
QMake 0.5%
GLSL 0.4%
C 0.3%
NSIS 0.2%
Other 0.2%