Customizable Lego-like Brick 3D Printer Model

Author: @
License: CC BY
File formats: stl,scad
Download type: zip
Size:69.0KB

The file 'Customizable Lego-like Brick 3D Printer Model' is (stl,scad) file type, size is 69.0KB.

Summary

Generate Lego-like bricks, plates, and tiles of various sizes.

What I hope sets this apart from other customizable Lego-like bricks available so far is a focus on creating STL files which will print well and fit with other bricks over accuracy to real Lego pieces. This manifests in several ways, including:

  1. Minor deviations from real Lego dimensions, in order to improve printer results. Commonly, this shows as thicker cross supports on 1xN bricks and wall thicknesses aligned for common nozzle widths.
  2. Studs in real Lego bricks are hollow and open underneath. I find they print better if we render them solid
  3. Options in the customizer where you can set small adjustments in the brick based on your printer and your slicer.

With this in mind, please read the following sections before using the customizer. They explain many of the options in more detail. Additionally, don't blindly download and print the sample STL brick files. That misses the point of the project. If you're not using Customizer or OpenSCAD to tweak the bricks for your environment, you're probably better off using someone else's pre-rendered brick STLs. These bricks are intended as a starting point, rendered using the default settings. Print them once, but then use them as a reference point for adjustments.

Note I only plan to support basic bricks. Look here for more exotic pieces.

This is still a work in progress, but it's far enough along to be ready for general use. I still need to create some adjustments for the inside of the brick, for how it fits the studs to a brick below it, and to reduce the thickness of the upper surface. Later, I want a 2.0 version that simplifies the adjustments based on feedback here. So, if you make a print, please leave a comment about how it worked!

UPDATE 3/6/2019

Various fixes, default adjustment changes, and support for post size adjustments on 2xN bricks.

UPDATE 3/17/2020

This is a significant revision. I re-wrote much of the scad code to use modules. This makes the code easier to change, and makes it possible to use this code as part of larger SCAD projects to make new and more-interesting things (I have something else in the works that will take advantage of this). The revision history, including the ability to download the prior version, is available via the GitHub link the Contribute section.

2x1_brick.stl 82.0KB
2x2_brick.stl 182.6KB
2x2_plate.stl 162.7KB
4x1_brick.stl 185.4KB
4x2_brick.stl 410.5KB
create_brick.scad 12.3KB