STEAM DISCOVERY LAB
  • About
  • Tools
  • Projects
  • Resources
  • Product
  • About
  • Tools
  • Projects
  • Resources
  • Product
Search

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. 
Picture
Picture
Picture
1. Log into OnShape (or create a new account)
2. Create a new document 
Picture
Picture

​4. In the search bar, type in "FeatureScript Bricks", click on the first option.
Picture

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
Picture

6. Click on the drop down arrow next to the "+" in the top right hand corner, and select brick correct
Picture

7. Now the "+" icon should be replaced by the "Bc" icon. Click on that and select the parameters for your LEGO Brick
Picture

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. 
Picture

9. Select "Export" and specify the file type (usually STL) you want to download. Then click OK. 
Picture
For some of the bricks we made head here!
Picture
200 Boston Ave, Medford, MA 02155
steamdiscoverylab@gmail.com
Center for Engineering Education and Outreach
​Tufts University
About
Tools
Projects
Resources
​
Contact
LEGO®, the LEGO® logo, the Brick, MINDSTORMS®, and the Minifigure are trademarks of ©The LEGO® Group. On some parts of this site  you will get access to so-called “developer software”, which offers documentation on different ways to operate the LEGO® Education SPIKE™ Prime Hub and technology. Whatever use you make of the developer software, bear in mind that the results are not experiences that the LEGO Group endorses, is with or will be liable for. No rights in or to trademarks of the LEGO Group are implied or given, and you may not apply to or register any protection anywhere in the world for intellectual property or industrial rights or similar in respect of any developer software, derivative or other result achieved through its use. The developer software is made available “as is” and, to the extent possible, no warranties or representations are implied or given in relation to it by the LEGO Group. It’s your responsibility to ensure all uses that you make and enable others to make comply with all applicable laws and best practices. By accessing the developer software, you acknowledge that the terms and conditions set out above and in LEGO Education’s terms of use for SPIKE Prime apply.
  • About
  • Tools
  • Projects
  • Resources
  • Product