OnShape LEGO CAD Model Generator: Brick Generator
OnShape is a free, cloud-based CAD platform (check it out here https://www.onshape.com)
One of the things that makes OnShape special, is the ability to write something called FeatureScript. FeatureScript is a programming language designed by Onshape for building and working with 3D parametric models. This enables users to write their own CAD features (if that sounds exciting to you, learn more about how to write your own feature here: https://cad.onshape.com/FsDoc/)
Users can also access features written by other OnShape users, one of which is called Brick Correct. Brick Correct will automatically generate a LEGOⓇ brick of any dimension/type, eliminating the need to painstakingly create your LEGO CAD files by hand! Hooray! To get started generating your own custom LEGO CAD files, check out the step-by-step instructions below.
One of the things that makes OnShape special, is the ability to write something called FeatureScript. FeatureScript is a programming language designed by Onshape for building and working with 3D parametric models. This enables users to write their own CAD features (if that sounds exciting to you, learn more about how to write your own feature here: https://cad.onshape.com/FsDoc/)
Users can also access features written by other OnShape users, one of which is called Brick Correct. Brick Correct will automatically generate a LEGOⓇ brick of any dimension/type, eliminating the need to painstakingly create your LEGO CAD files by hand! Hooray! To get started generating your own custom LEGO CAD files, check out the step-by-step instructions below.
1. Log into OnShape (or create a new account)
2. Create a new document
2. Create a new document
4. In the search bar, type in "FeatureScript Bricks", click on the first option.
5. Click on "Brick correct" in the next window, and the Brick correct feature will be added to your toolbar
3. In the top right hand corner, click the "+" button to add a feature
6. Click on the drop down arrow next to the "+" in the top right hand corner, and select brick correct
7. Now the "+" icon should be replaced by the "Bc" icon. Click on that and select the parameters for your LEGO Brick
8. Once you are happy with your CAD LEGO model, you can export it as an STL file for 3D printing! To do that right click on the Part Studio tab at the bottom of the screen.
9. Select "Export" and specify the file type (usually STL) you want to download. Then click OK.
For some of the bricks we made head here!