3d printing

From Applied Optics Wiki
Jump to: navigation, search

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)

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

  2. Turn the .STL into .x3g
    1. Load the .STL file in replicatorg
      NB: Make sure replicatorg is set for the correct printer (machine:machine type (driver):replicator 2).
    2. Use the GCode:estimate function to estimate how long your design will take to print - do you really want to do this?
    3. 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.
    4. Generate the .x3g file - press the ->document icon (Build file for SD card, located next to ->gcode button). Make sure you select .x3g".
    5. Check the .gcode with RepitierHost
      Simply load the .gcode file and check it layer by layer to make sure you are happy.
  3. Put your .x3g file onto an SD card. Take to the printer, insert and print.