Difference between revisions of "3d printing"
From Applied Optics Wiki
Rikesh Patel (talk | contribs) (→Typical workflow (how to design and print something)) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
The Fab Lab has a Makerbot Replicator 2 for 3D printing using PLA plastic. | The Fab Lab has a Makerbot Replicator 2 for 3D printing using PLA plastic. | ||
+ | |||
+ | '''Watch out - experimental advice - not road tested!''' | ||
==Training== | ==Training== | ||
Line 12: | Line 14: | ||
// linos compatible plate with 30mm hole | // linos compatible plate with 30mm hole | ||
$fn=50; | $fn=50; | ||
− | difference(){ | + | difference() |
+ | { | ||
// the cube | // the cube | ||
− | minkowski(){ | + | minkowski() // does convolution of the shapes in the routine |
− | + | { | |
− | + | cube([38,38,8],center=true); | |
− | + | cylinder(r=1,h=1); | |
+ | } | ||
// the stuff we remove | // the stuff we remove | ||
rotate([0,0,0])cylinder(h=50,r=15,center=true); | rotate([0,0,0])cylinder(h=50,r=15,center=true); | ||
− | translate([15,15,0])cylinder(h=10,r=3,center=true); | + | translate([15,15,0])cylinder(h=10,r=3,center=true); // translation/movements stack |
translate([-15,15,0])cylinder(h=10,r=3,center=true); | translate([-15,15,0])cylinder(h=10,r=3,center=true); | ||
translate([15,-15,0])cylinder(h=10,r=3,center=true); | translate([15,-15,0])cylinder(h=10,r=3,center=true); | ||
Line 26: | Line 30: | ||
} | } | ||
</pre> | </pre> | ||
+ | |||
+ | In-depth review of commands can be found on [http://en.wikibooks.org/wiki/OpenSCAD_User_Manual wikibooks]. | ||
When you're happy use OpenSCAD to save in the .STL format | When you're happy use OpenSCAD to save in the .STL format |
Latest revision as of 11:48, 12 June 2013
The Fab Lab has a Makerbot Replicator 2 for 3D printing using PLA plastic.
Watch out - experimental advice - not road tested!
Training
The replicator 2 is a relatively easy and straightforward machine to use. BUT please ask someone who has used it before to show you how before trying it.
Import stuff before you start including what software to use
Typical workflow (how to design and print something)
- In OpenSCAD design an object - this is done by writing a little program to describe it. This is very easy and very efficient, eg.
// linos compatible plate with 30mm hole $fn=50; difference() { // the cube minkowski() // does convolution of the shapes in the routine { cube([38,38,8],center=true); cylinder(r=1,h=1); } // the stuff we remove rotate([0,0,0])cylinder(h=50,r=15,center=true); translate([15,15,0])cylinder(h=10,r=3,center=true); // translation/movements stack translate([-15,15,0])cylinder(h=10,r=3,center=true); translate([15,-15,0])cylinder(h=10,r=3,center=true); translate([-15,-15,0])cylinder(h=10,r=3,center=true); }
In-depth review of commands can be found on wikibooks.
When you're happy use OpenSCAD to save in the .STL format
- Turn the .STL into .x3g
- Load the .STL file in replicatorg
NB: Make sure replicatorg is set for the correct printer (machine:machine type (driver):replicator 2). - Use the GCode:estimate function to estimate how long your design will take to print - do you really want to do this?
- Select generate .gcode (or click the ->gcode button), this will typically take a few minutes. This should spot if your design has -ve height - allow replicatorg to fix this. Get a cup of tea.
- Generate the .x3g file - press the ->document icon (Build file for SD card, located next to ->gcode button). Make sure you select .x3g".
- Load the .STL file in replicatorg
- Check the .gcode with RepitierHost
Simply load the .gcode file and check it layer by layer to make sure you are happy.