Parametric Lego Brick
by HeySweet, published
Parametric Lego Brick is a scalable, dimension-pickable open-source OpenSCAD Lego model file that can support all sizes
I've gotten the measurements from online, and haven't tested it myself, so no guarantees that this brick will fit. If you decide to print, please let me know! (I imagine you'll have to slice it in half before the pegs and print the bottom and top halves to avoid printing massive amounts of support).
Open the scad file in OpenSCAD and start tweaking the variables at the top:
//Non-Zero integer values for rows and cols, or number of pegs
numRows = 2;
numCols = 3;
// 1/3 and 1 are the two standard heights,
// all non-negative heights technically supported
height = 1;
// Multiples of 2 of each other can fit into each other
brickScale = 1.0;
// The higher the number, the smoother the curves
// (pump this number up if planning on printing)
curveFidelity = 50;
Liked ByView All
Give a Shout Out
Parametric Lego Brick by HeySweet is licensed under the Creative Commons - Attribution - Share Alike license.
What does this mean?
- You must attribute (give credit) to the creator of this Thing.
- You must distribute Remixes under the same license as the original.
- Remixing or Changing this Thing is allowed.
- Commercial use is allowed.
We're sure HeySweet would love to see what you've printed. Please document your print and share a Make with the community.
To post a Make simply visit this Thing again and click I Made One to start uploading your photo. It’s even easier to post a Make via the Thingiverse Mobile app (available via Google Play and Apple App Store).