Skip to content
A library of models created with MagicVoxel (
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
LEGO-System/MD Changed file structure Jan 12, 2020
LICENSE Changed license Jan 13, 2020 Added defintions to readme Jan 11, 2020
editorconfig Changed Readme Jan 11, 2020
markdownlint.json Changed Readme Jan 11, 2020


A library of models created with MagicaVoxel.

Setup MagicaVoxel

After cloning this repository, open the file config/config.txt of your MagicaVoxel setup. Modify the two values of dir_model and dir_pattern from the default [[$/vox]] to [[$/{RelativePathToYourRepositoryUrl}]]. Note that you need to adjust the {RelativePathToYourRepositoryUrl} value to fit your folder structure. Open MagicaVoxel and the project view should show you the content of this MagicaVoxelLibrary.

Folder structure

The folder structure defines a folder for each working space. If you want to work only in a special space, it is recommend to modify your MagicaVoxel setup, that the dir_model and dir_pattern variables point to the relevant folders. For example, if you want to work only in the medium density LEGO-System space, the dir_model variable should defined to [[$/{RelativePathToYourRepositoryUrl}/LEGO-System/MD]] and the dir_pattern variable to [[$/{RelativePathToYourRepositoryUrl}/LEGO-System/MD/Patterns]].

File structure


The filename for a lego MagicaVoxelLibrary file must start with the setnummber followed by a hyphen followed by the density definition.

Brick definitions


There are 2 different definitions of a LEGO-System brick for the MagicaVoxelLibrary.

  • LD (Low density) for 1 brick equals 1 voxel
  • MD (Medium density) for 1 brick equals 2 * 2 * 3 (width * depth * height) voxels
You can’t perform that action at this time.