Open Brick is a browser-based tool for creating classic interlocking bricks and exporting them as STL files for 3D printing.
LLM-friendly docs:
llms.txt(short rules)llms-full.txt(expanded context).well-known/llms.txt(well-known mirror)
Brick type roadmap:
Share a specific brick configuration with:
https://openbrick.cogan.dev/?template=classic_brick&width=X&length=Y&height=Z&scale=SCALE
https://openbrick.cogan.dev/?template=classic_plate&width=X&length=Y&scale=SCALE
https://openbrick.cogan.dev/?template=classic_tile&width=X&length=Y&scale=SCALE
https://openbrick.cogan.dev/?template=mechanical_axle&l=L&scale=SCALE
Where:
template:classic_brick,classic_plate,classic_tile, ormechanical_axlewidth: studs in X (classic_brick: 1-10,classic_plate/classic_tile: 1-16)length: studs in Y (classic_brick: 1-12,classic_plate/classic_tile: 1-16)height: plate units in Z (classic_brick: 1-9)l: axle length (mechanical_axle: 1-16)scale: global scale percent (90-110)
Example:
https://openbrick.cogan.dev/?template=classic_brick&width=4&length=2&height=3&scale=101
https://openbrick.cogan.dev/?template=classic_plate&width=2&length=4&scale=100
https://openbrick.cogan.dev/?template=classic_tile&width=2&length=4&scale=100
https://openbrick.cogan.dev/?template=mechanical_axle&l=6&scale=100
Notes:
- Opening that URL preloads the sliders with those values.
- As you move sliders in the UI, the query params update automatically so the URL is immediately shareable.
- Out-of-range values are clamped to the nearest valid value.
1x1bricks are supported (width=1&length=1).
Open:
https://openbrick.cogan.dev/?template=classic_brick&width=2&length=4&height=3&scale=100
Then click Download STL.
Start with scale=100. If parts are too tight, try 99 or 98. If too loose, try 101.
Yes. Copy the URL after adjusting controls. The query string stores the full brick settings.
Open:
https://openbrick.cogan.dev/?template=mechanical_axle&l=6&scale=100
Then click Download STL.
Yes. width=1&length=1 is valid for brick/plate/tile, and l=1 for mechanical axle.
- Choose a template (brick, plate, tile, or mechanical axle).
- Adjust brick dimensions and global scale.
- Preview the model in 3D directly in the browser.
- Download the result as an STL file.
- Everything runs client-side in your browser.
- No backend is required.
- Brick geometry is generated from
.scadsource files.
Serve this project with any static file server, for example:
python3 -m http.server 8080Then open:
http://localhost:8080
Local share link example:
http://localhost:8080/?template=classic_brick&width=4&length=2&height=3&scale=101
This project is static and can be hosted on platforms like:
- GitHub Pages
- Netlify
- Cloudflare Pages
- Vercel (static hosting)