This is a simple 2x2 lego block generator, I will be producing a 1x1 version and a slope version in the future. Once you have loaded the fusion 360 backup, under modify goto parameters and change the length/width/height to suit your needs.
You will need to redo the extrusion plane selection but the heights are done through parameters.
I currently have no Legos so I can't comment on how compatible these are yet.
12/26/2017: Added v6 which includes a chamfer to the studs and the base for better fit and 3d printing.
12/31/2017: Added v7 which includes modifiers to the stud and the base so that a better fit to actual Legos can be made with either chamfers or modifiers.
1/17/2018: Added v8 of the generator, this changes the generation of the center pillar to be more dimensionally sound for 3D printing by subtracting the floating point modulus of the result calculation by 0.4. I have also added expressions for the chamfers, please play around with the latest file!
Overview and Background
Fusion 360 and the power of parameters
The purpose of this project was to create a generator for Lego bricks at least of the size 2x2 to show how parameters can impact the design of a product. Using parameters you can change the sketches and plane placement to create a variety of bricks. Parameters can take a complex project with varying dimensions and reduce it to a couple user driven parameters.
Lesson Plan and Activity
- Access to a computer capable of running AutoDesk Fusion 360 software.
- (if printing) Access to a 3D printer and PLA filament.
Startup and running
Once you have loaded the fusion 360 archive file you should see a 2x2 Brick on the screen. What we are going to do is create a 3x3 brick and observe how the parameters change the design.
On the ribbon select "modify" and go to "Change Parameters", this will bring up a window showing many variables. Notice that most have "Don't Change" in the comments, these are calculations or constants. The three that should be changed are length, width, and height; note that a length of 2 and a width of 2 would create a block with a total of 4 studs.
Change the length to 4 and observe how the model changes, note how most variables associated with length have changed. On the model you will see that not all the studs have been extruded. Scroll around the model and see what else was not extruded.
Turn on visibility for the first sketch and see what wasn't extruded. You should see that the cylinder is on the sketch but not extruded. Now double click the first extrusion in the timeline and add the missing cylinder to the extrusion.
Also note the small indention's under the top studs are missing, turn off visibility for the first sketch and turn on the second sketch. Double click the second extrusion and add the required faces.
Next looking at the top of the model, similar to the previous steps, using the third sketch and extrusion add the missing pieces.
Next turn on the construction planes and see how the location is calculated for them. Lets take a look at the height, lets make it one for a slim block. Note how the planes adjusted since the location was based on the height parameter.
- Continue to explore various brick configurations and think about how parameters could be included into your future design.
Access to a 3D printer and PLA filament (PLA-Pro a plus), for Lego brick compatibility use a 0.1 mm layer height and ~0.2 mm nozzle or equivalent.