How to Use ReplicatorG

Start ReplicatorG

First, start ReplicatorG!

Configuring your machine

If it's your first time using ReplicatorG, you'll need to configure it to connect to your machine. Select "Machine Type (Driver) from the Machine menu.

select-driver.jpg

Select the entry that best describes your machine. If you have an unusual machine or one that does not appear in this menu, you may need to add a profile for it yourself. For detailed configuration information, please see the machines.xml configuration page. (If you've created a working profile for a common machine type, drop us a line and let us know so we can include it in the next release!)

If (like most users) you're connecting to your machine via a serial port (like a USB-TTL cable), you'll need to tell ReplicatorG which serial port to use. Select the appropriate entry from the "Machine>Serial Port" submenu:

select-port.jpg

The naming of serial ports varies from platform to platform, so it may not be obvious which one to select at first. On most platforms, the phrase "usb" will appear somewhere in the port name; on Windows, you'll probably want to select the highest-numbered COM port.

Once you've selected a port, click the connect button at the right of the top bar and ReplicatorG will attempt to connect to the machine. If it's having trouble, it will time out after about fifteen seconds or so. If it's successful, the status bar will turn green, and the window will look like this:

connected.jpg

Take a look at the row of buttons at the top of the ReplicatorG window. The arrow pointing to the bean-shaped object is the Build button, which will start a print via USB.

The Build from SD button, just to the right, will pull up a list of the files currently on the SD card in your machine and will allow you to print one of them.

The third button in the row is Build to File, which will convert your Gcode file to an s3g file and save it.

The fourth button, with the arrow pointing to a piece of paper with the letter "g," opens up the Generate Gcode window.

The Pause and Stop buttons near the center of the row will pause and stop a print, respectively.

The button with the four arrows will open up ReplicatorG's Control Panel, from which you can control different parts of your machine.

You can restart your machine by clicking the next button, the one with two arrows forming a circle. And the final two buttons allow you to connect to and disconnect from your machine.

Printing from an STL file

With ReplicatorG 0017 and later, you can load STL files and print them from within ReplicatorG. To start, find an STL file! There are plenty on Thingiverse which are appropriate for printing.

Open the STL file

You can open the STL file by selecting the "File>Open…" menu option.

open-file.jpg

This will bring up an open file dialog. Select the STL file that you want to print.

open-file-dialog.jpg

Now you'll see the 3D model you've selected:

model-view.jpg

The model will be enclosed in a box representing the size of your machine's build envelope. You can use this to judge how large your final print will be, and whether your machine is capable of printing it at its current size.

You can use the mouse to rotate and zoom your view by following the instructions on the toolbar at the right:

rotate-model-view.jpg

Keep in mind that you're only changing your viewpoint— you're not actually changing the orientation or size of your object!

Manipulating the object

(Note: if you're happy with how the object looks right now, you can skip ahead to "Generate the toolpath".)

Warning: ReplicatorG by default saves modified objects on top of original files! If it's important to you to keep an original, unmodified copy of your model around, consider making a copy of the file before you begin.

This pair of pliers is nice, but we'd like to make it a little larger. First, we'll click on the "XY" view button in the View panel to see what the object looks like from above:

XY-view.jpg

Next, we need to scale the object up a bit. Click on the "Scale" button at the bottom of the toolbar. Then click and drag in the preview window until the object is the desired size. You can also scale by a multiplier — .5 will halve the object's size and 2 will double it — or use the "Fill Build Space!" button to make your object as large as your machine can print it.

scale-object.jpg

As placed, this object is too big to fit on the build platform, so we'll want to rotate it. First, we'll click on the "Rotate" button in the toolbar. Then check the "Rotate around Z" checkbox, as shown.

rotate-around-Z.jpg

This will ensure that the object only rotates around the Z axis. Now you can click and drag your mouse in the preview window to rotate the object to the correct angle.

rotated.jpg

You can also uncheck "Rotate around Z" and rotate your object along all three axes, or use the individual axis buttons to rotate your object in 90° increments. For example, if the bottom of your object isn't the flattest side, you can rotate it to rest on a different side. Get it pretty close to the orientation you want and then use the "Lay flat" button to make sure it's oriented correctly in relation to the platform.

Sometimes an object won't be centered on the build platform, or it can rest above or below the platform. In the image below, the pliers are at an angle and the handles are poking through the platform.

uncentered.jpg

Go to the "Move" view, and click the "Center" and "Put on platform" buttons. This will move the object to the center of the platform and place it so its bottom rests on the build platform. You can also use the axis buttons move your object around in the build envelope in specified increments.

centered.jpg

You can save your object by selecting "Save" from the menu before you generate the toolpath, but if you forget, clicking the "Generate toolpath" button will prompt you to save.

save-model.jpg

Generate the toolpath

Next, you'll need to generate the toolpath — the directions that explain how to the extruder needs to move to print the object. These instructions are currently written in a format called gcode. The model must be converted to gcode before it can be printed.

We usually use a tool called Skeinforge to convert a model into gcode. Skeinforge is very powerful, but can be difficult to use. To make it a bit easier, we've integrated Skeinforge into ReplicatorG. All you need to do to generate a toolpath is click the Generate GCode button at the lower right.

generate-gcode-window.jpg

Choose a profile from the dropdown menu. Try to find the one that best describes your machine and material. Then you can either click the "Generate Gcode" button right away, or you can change some settings first, like whether you need a raft or support, or if you want to use Print-O-Matic to override some of the settings in your chosen profile. The Print-O-Matic settings are described in more detail further down on this page.

generating-gcode.jpg

Keep in mind that Skeinforge is a very computationally intensive program, and generating a toolpath may take several minutes for complex models. If it's taking too long, you can always hit the "Cancel" button to abort.

When toolpath generation is complete, the dialog will disappear and you'll see a "gcode" tab appear above your model:

gcode-tab.jpg

You're ready to start printing! If you like, you can click on the gcode tab to review the generated gcode before you print:

review-gcode.jpg

Print!

Now you can click the Build button, and let your machine make you something! Check your machine's documentation before you start to print — sometimes you'll have to do some calibration to get your machine set up.

Printing from a GCode file

If you already have a gcode file you want to print, just load it directly and click Build to print.

Editing profiles

Some users will want to tune Skeinforge for their specific machines, or create new profiles. You can do this by selecting "Edit Slicing profiles" from the Gcode menu.

editprofiles.jpg

This will bring up the Edit Profiles dialog. You can create edit existing profiles by selecting them and hitting the "Edit…" button. You can also use the "Duplicate…" button to create a copy of an existing profile so you can edit it without losing the original.

When you edit a Skeinforge profile, you'll see the Skeinforge configuration interface appear. Change whatever you like — the settings are stored in different directories for different profiles, and won't interfere with any other Skeinforge profile you may already have on your computer. If you come up with a good profile for any machine, let us know so we can include it in the next release!

skeinforge-multiply.jpg

(Windows users: sometimes the Skeinforge process fails to report that you've finished editing a profile and, after closing the Skeinforge profile editor, ReplicatorG becomes unresponsive. If you find that this happens sometimes, there is a setting in File->Preferences (Ctrl+,) called "Skeinforge timeout." It specifies the number of seconds to wait before assuming that Skeinforge has failed to return. Setting it to 60, for example, will cause ReplicatorG to unblock after one minute. Any changes made in Skeinforge can still be saved and will be used when generating gcode if they have been saved.)

Profile Location

Skeinforge profiles are located in various locations; the ones shipped with ReplicatorG can be found in:
replicatorg/skein_engines/skeinforge-[VER]/skeinforge_application/profiles
replicatorg/skein_engines/skeinforge-[VER]/skeinforge_application/profiles-experimental

Duplicated profiles are saved to your home directory and will show up between different versions of ReplicatorG. This location varies depending on your operating system:
Windows - /Users/[USERNAME]/.replicatorg/sf_[VER]_profiles/

About Print-O-Matic

Print-O-Matic is a streamlined interface for Skeinforge, integrated into recent versions of ReplicatorG. It offers a limited number of configuration options and relies on the currently selected profile for the others.

Using Print-O-Matic

Using Print-O-Matic is straightforward. First, select an appropriate Skeinforge profile. If you don't see an appropriate profile for your 3D printer, check the GCode->GCode Generator menu. If you're using a MakerBot Replicator, this should be set to 'Skeinforge (50).' On older printers it should be set to 'Skeinforge (35).' This page deals with the settings for Skeinforge 47 and 50, but the Skeinforge 35 settings are substantially similar.

generategcode0037.jpg

The Print-O-Matic settings are the ones in the lower half of the "Generate Gcode" window. You can deactivate Print-O-Matic and hide these settings by unchecking "Use Print-O-Matic," but using Print-O-Matic is the simplest way for you to customize your print settings.

The Print-O-Matic Menu

The Print-O-Matic menu consists of four tabs: Settings, Plastic, Extruder and Defaults. The default extruder settings should be correct. You'll want to check that you have the right plastic type and diameter entered, although those defaults will likely be correct, too.

pomsettings0037.jpg

The Settings tab is where you can experiment with different configurations.

Object Infill dictates the density of your print. 100% infill will make your object completely solid, while 0% will make it hollow.

Layer Height is exactly what it sounds like: it determines how flat each layer of your print is going to be. The default is around .3 mm, but you can experiment with layer heights as low as .1 mm if you're looking for finer detail.

Number of shells refers to the outer structure — the thickness of the perimeter your bot prints on each layer before it starts on the infill. Every model is going to start with one shell, so the number of shells you set in Print-O-Matic is actually the number you're adding. If you enter 2 here, your object will be printed with three concentric perimeters. These build in towards the center, so they make your object more sturdy without changing the modelled surface.

Feedrate is the speed at which your bot moves while extruding plastic, and "Travel Feedrate" is how fast it moves when it's not. Again, the defaults are a good place to start, but you might want to experiment with setting them a little bit lower.

Set infill and shells based on how strong you need your printed object to be. Then you can start experimenting with layer height and feedrate. These two settings will have huge effects on print quality, so you'll want to try out different combinations. Experiment as much as you like: you can always revert the settings to the original base profile by going to the Defaults tab — you can choose between accelerated and regular defaults.

pomdefaults0037.jpg

When you’re done entering your settings, click “Generate Gcode” and the automagic will begin.

What Did Print-O-Matic Do?

Print-O-Matic works by overriding a number of settings in Skeinforge. Some of these settings, like layer thickness and infill solidity, come straight from the values you entered into Print-O-Matic. Others, like flow rate, are computed using the numbers you entered. Print-O-Matic's basic approach is based on the idea that the axes should move at the same speed as the plastic leaves the nozzle. This method yields the highest rate of successful prints and works wonders on challenging geometry like bridging large gaps. Print-O-Matic doesn't allow for as much fine-tuning as entering settings into Skeinforge directly, but it's much simpler and easier to use.

To see the Skeinforge values that Print-O-Matic created according to your settings, you can turn on logging in ReplicatorG Preferences.

6-again-prefswitharrows.jpg

Check the box to “Log to File” and type in a preferred name in the field to the right. This file is stored in the same folder as your ReplicatorG application. Set the level of logging detail to INFO. Now when you generate gCode, the debugging section located at the bottom of the ReplicatorG application window will show the values generated by Print-O-Matic.

7-overrides.jpg

For more information on Print-O-Matic, take a look at this helper doc by Nick Starno on Thingiverse.com! http://www.thingiverse.com/thing:7308

Conclusion

Thats about it! You should probably read up on the various generators that will create GCode for you. If you want to write your own GCode or generator, you should start with the GCode Primer.

Unless otherwise stated, the content of this page is licensed under GNU Free Documentation License.