uBrick Generator — Procedural LEGO®-compatible brick add-on for Blender
Hey everyone! I just released uBrick Generator, a free open-source Blender add-on that generates parametric LEGO®-compatible bricks — fully manifold and ready to slice for 3D printing, with zero Boolean operations.
What it does
Shift+A → Mesh → uBrick drops a print-ready brick into your scene. Adjust everything in the F9 panel:
- Any size from 1×1 to 32×32 studs
- Stackable heights (1 brick = 9.6 mm)
- Hollow shell with 1.2 mm walls (LEGO spec)
- Solid top plate
- Anti-stud tubes + internal ribs
- Tolerance sliders for outer walls, tubes and studs
Mesh quality
- 0 open edges — manifold on every configuration
- All face normals correct (no blue faces, no slicer artifacts)
- Tested in PrusaSlicer with Prusa MK3 + PETG
Why I built it
I wanted to 3D print custom LEGO bricks and couldn’t find a Blender add-on that generated a clean, slicer-ready mesh without manual fixes. So I built one from scratch — it took two days and a surprising amount of debugging over face winding order ![]()
Download
GitHub: https://github.com/maox/UBrick
Free, GPL v3. Feedback and PRs welcome!
LEGO® is a trademark of the LEGO Group, which does not sponsor, authorize or endorse this project.




