Code Generation (MakerBot)

 Main Article: 3D Printing

Code generation is done in ReplicatorG. ReplicatorG converts the STL file into a build plan for Makerbot based on the selected settings. Various changes to the parts orientation, size, and build quality can be adjusted in ReplicatorG. {|
 * colspan="2"|
 * colspan="2"|

Prerequisites

 * colspan="2"|
 * colspan="2"|

File Naming limitations
The file name cannot exceed more than 26 characters (not including the file extension). All valid file name characters should be accepted, but may be the problem if the file does not show up on Makerbot when the file is transferred.
 * colspan="2"|
 * colspan="2"|

STL File

 * style="vertical-align:top;"|STL is a generic 3D file type and can be produced by most 3D based programs. Instead of having the steps to create the part, a stl file contains only the geometric surface dimensions.
 * style="vertical-align:top;"|STL is a generic 3D file type and can be produced by most 3D based programs. Instead of having the steps to create the part, a stl file contains only the geometric surface dimensions.

Because a stl file contains only the geometric surface dimensions it is important to save the part as the typical SLDPRT. This enables a user to go back to the Solidworks file and make changes to the parts design if required.
 * Save as STL.png


 * colspan="2"|
 * colspan="2"|

Exporting STL from SolidWorks
 Varify the part meets the geometric constraints of Makerbot. Save Part as typical “SLDPRT” Select “Save As” Choose Destination Change Save As Type to "STL(*.stl)"  Click “Save” 

Exporting STL from CATIA

 * colspan="2"|
 * colspan="2"|

Steps for Generating Code
 Run Replicator G </li> Open Part</li> Orient Part and Scale </li> Select "Generate Code" </li> Apply Options</li> Hit “OK” on Accelertion Warning </li> After GCode is made select “Build to File for use with SD Card”</li> Select Save location</li> Change "Save As"</li> </ol>
 * colspan="2"|
 * colspan="2"|

Opening a Part
Once ReplicatorG is running, parts can be opened from the file menu. Only STL files are usable by ReplicatorG.
 * colspan="2"|
 * colspan="2"|

Move
Opened parts can be moved by using the “Move” button on the left. This allows for the part to be moved by use of the buttons on the right side or by clicking and moving the cursor. It is best practice to place the part in the center of base plate (or as close to the center as possible). The “Center” button will typically center the part.
 * colspan="2"|
 * colspan="2"|

Rotate
Opened parts can be rotated by using the “Rotate” button on the left. This allows for the part to be rotated in 90° increments by use of the buttons on the right side or by clicking and moving the cursor. Clicking and moving the cursor is tricky and not recommended.
 * colspan="2"|
 * colspan="2"|

Scale
Opened parts can be scaled by using the “Scale” button on the left. Parts will scale relative to current size. If it has been scaled once, the second scale will be based of the new scaled part.

For example: If a 1" part is scaled by .5 the result is a .5" part. If the part is scaled again by .5 the result is a .25" part. If, after the previous scaling, it is required the part be 1/3 the original, it must be scaled up by 2 and then down by .333334.
 * colspan="2"|
 * colspan="2"|

Supports
Supports are placed strategically throughout parts that have overhangs and arches to prevent the plastic from drooping when plastic layers are being placed. Only supports if absolutely necessary because it increases build time and leaves marks where the supports were attached.

Supports can be added by ????
 * colspan="2"|
 * colspan="2"|

Rafts
Rafts are used to make removing the part from plate easier and to prevent warping. They also help create smooth bottom finishes. Rafts should not be used if part is circular.
 * colspan="2"|
 * colspan="2"|

Object infill (%)
This changes the percentage of internal fill in the part. The standard 10% will suffice for most parts and is fairly strong. If extra strength is needed this can be raised. DO NOT EXCEED ??% THIS WILL JAM THE MACHINE.
 * colspan="2"|
 * colspan="2"|

Layer Height
Layer Height changes the thickness of layers. Decreasing layer height will increase the number of layers and increase build time. It will also result in a more accurate piece. Decreasing layer height can remove build errors such as: jagged arches, sagging arches, and rough fillets. It is recommended that .27mm be used for standard builds and .1mm to .15mm be used for builds that could be problematic. The minimum layer height of MakerBot is .1mm.
 * colspan="2"|
 * colspan="2"|

Number of Shells:
Changing the number of shells is necessary when a thicker outer wall is needed for post print processing. The default value of 1 fine for most builds. Changing the value will yield the following results


 * colspan="2"|
 * colspan="2"|

Feedrate (mm/s)
Set feedrate to 70. This will always be the same
 * colspan="2"|
 * colspan="2"|

Travel Feedrate
Set travel feedrate to 150. This will always be the same
 * colspan="2"|
 * colspan="2"|

Print Temperature
Set print temperature to 230&deg;C. This will always be the same.
 * colspan="2"|
 * colspan="2"|