Loading

Corner Bricks OpenSCAD Module Lego Angled Brick Builder

by kresty, published

Corner Bricks OpenSCAD Module Lego Angled Brick Builder by kresty Dec 10, 2013

Contents

Liked By

View All

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag

Makes

Thing Statistics

6481Views 4037Downloads Found in Construction Toys

Summary

Corner Bricks is designed to create Lego-like bricks with a built-in angle. I needed these for L3-G0, my full size Lego R2-D2 (L3-G0 has a Blog and Youtube channel.

L3-G0's main body consists of a barrel of 12 plates at 30 degree angles. I was using Lego hinges, which worked, but flex and weren't completely sturdy. So I made this library to create ~48 filler hinges to help L3-G0 keeps his shape.

The lettering is just because I could, and to show it was originally designed for my L3-G0 robot. https://youtu.be/wdFkKSe0ZX0 shows some video of L3-G0 running around buying his own Lego

Please support my designs


Sort of a random thing, but if you like my stuff please check out my Lego R2-D2's blog at http://L3-G0.com or L3-G0's Youtube, and please tweet of facebook a link to his page, every visitor helps!

Instructions

CornerBricks is intended to allow you to create your own custom angles. I included a few STL files for 30, 60 & 120 degree angles, but you can do 42 degrees for your next thing if you want.

CornerBricks depends on my FancyBricks library. See FancyBricks for instructions on tweaking it's "fudge" factors to get good fit between these bricks and Lego bricks on your printer. The included stuff was working on my FlashForge version of Replicator in ABS with 70C plate and 230C extruder. You may need to file the base or something if your printer mushes the first layer a bit fat.

Skip the first steps if you've played with OpenSCAD and know how libraries behave.

  1. Get OpenSCAD if you don't have it already, http://www.openscad.org/
  2. Copy the FancyBricks.scad, CornerBricks.scad & font.dxf to some folder on your machine.
  3. Either use a real library location, or to KISS, just make a new document and save it in the same folder as *.scad modules. (or just look at one of the other scad files).
  4. Enter something like this into your OpenSCAD script (on the left)
    use <CornerBricks.scad>
    CornerBrick(2,2,30,1.0);
  5. Press F5 (Design->Compile). You'll see an angled brick with 2x2 "wings" at a 30 degree angle with 1.0mm between the corners on top.
  6. To make OpenSCAD create an STL file, you have to render it first, press F6 (Design->Compile and Render)
  7. Design->Export the STL.

cornerbricks() is used to create an angled brick. The main inputs are:

  • length, which is the length of each wing (so length 2 at 0 degrees would be about a 4 long plate). default is 2.
  • depth, which is how wide the brick is, default 2.
  • angle, which is the angle between the two plates.

There are 2 more inputs to tweak things a little:

  • fudge, normally 0, which puts a space of fudge mm between the 2 corner plates.
  • hollow, normally true. Set it to false to have a flat "bottom". It prints faster and is a bit stronger without tubes on the bottom side, and L3-G0 doesn't need to stick stuff on the "bottom".

See my FancyBricks thing for more control over the brick shape. The stud size, wall thickness and other factors are all adjustable in fancybricks.scad if your bricks are too loose or too tight. These files print well on my FlashForge printer with my current ABS spool, using 230C extruder and 70C plate temps. My previous PLA seemed to print differently, so you may need to tweak things.

Additionally, steep sides can make the studs droop, so you might need to tweak values, or use a file to trim them. My printer also "mushes" the brick onto the glass plate on the 1st layer, so you may need to trim something there as well.

Support my designs please


Don't forget to take a look at L3-G0's Blog, he's the reason this library exists. Especially since he's complete now. Also he has video on YouTube. Please share & thumbs up and all that!

More from Construction Toys

view more

All Apps

Auto-magically prepare your 3D models for 3D printing. A cloud based 3D models Preparing and Healing solution for 3D Printing, MakePrintable provides features for model repairing, wall thickness...

App Info Launch App

Kiri:Moto is an integrated cloud-based slicer and tool-path generator for 3D Printing, CAM / CNC and Laser cutting. *** 3D printing mode provides model slicing and GCode output using built-in...

App Info Launch App
KiriMoto Thing App

With 3D Slash, you can edit 3d models like a stonecutter. A unique interface: as fun as a building game! The perfect tool for non-designers and children to create in 3D.

App Info Launch App

Quickly Scale, Mirror or Cut your 3D Models

App Info Launch App

Could you design one of these in right angle?

Open the "cornerbricks.scad" in openscad and change the angle to 90 :)

Note that depending on how you print it & filament & whatnot the studs may "droop" and stuff, so you may need to tweak some of the variables labeled "fudge"

Also check out http://www.thingiverse.com/thing:197171 - FancyBricks. There you have options to put studs on any "face" of a brick. (Remember a stud is 2.5 plates, so you have to make it 5 plates tall to have room for 2 studs). There are similar variables there.

Fancy Bricks OpenSCAD Lego Brick Builder
by kresty
Top