Makerbot machines.xml
From HacDC Wiki
This is important and necessary.
After installing replicator-G and running it for the first time, a .replicatorg directory will be created in your home directory (without notification). You'll need to replace the machines.xml file in the secret ~/.replicatorg directory with the following code (or at least add in the part about Andy's Cupcake).
On Windows XP, replicatorG v23 doesn't seem to recognize a machines.xml place in ~/.replicatorg folder. Instead, add Andy's makebot info to the makerbot.xml file, located in the machines folder of your replicatorg install.
<?xml version="1.1" encoding="utf-8"?> <machines> <!-- do not remove this machine configuration!!! --> <machine> <name>3-Axis Simulator</name> <geometry type="cartesian"> <axis id="x" length="300" maxfeedrate="1000" scale="11.4485"/> <axis id="y" length="300" maxfeedrate="1000" scale="11.4485"/> <axis id="z" length="300" maxfeedrate="100" scale="320"/> </geometry> <tools> <tool name="Pinch Wheel Extruder v1.1" type="extruder" material="abs" motor="true" floodcoolant="false" mistcoolant="false" fan="true" valve="false" collet="false" heater="true"/> </tools> <clamps></clamps> <driver name="null"> <!-- use a fake driver --> <speedup>20</speedup> <!-- amount to speed up print process: 1 = realtime, 2 = 2x, 10 = 10x, etc. --> </driver> </machine> <machine> <name>Andy Walker's Cupcake</name> <geometry type="cartesian"> <axis id="x" length="300" maxfeedrate="5000" scale="11.767463"/> <axis id="y" length="300" maxfeedrate="5000" scale="11.767463"/> <axis id="z" length="300" maxfeedrate="150" scale="157"/> </geometry> <tools> <tool name="Pinch Wheel Extruder v1.1a" type="extruder" material="abs" motor="true" floodcoolant="false" mistcoolant="false" fan="true" valve="false" heatedplatform="true" collet="false" heater="true"/> </tools> <clamps></clamps> <driver name="sanguino3g"> <!-- optional, defaults to first serial port found. <portname>COM1</portname> --> <!-- required: we need 8 bit and 38400 baud. --> <rate>38400</rate> <parity>8</parity> <!-- optional, defaults to 1. <databits>1</databits> --> <!-- optional, defaults to N. <stopbits>N</stopbits> --> <debuglevel>0</debuglevel> </driver> <warmup> </warmup> <!-- required for replicatorG v 23 --> <cooldown> (Turn off steppers after a build.) M18 </cooldown> </machine> </machines>
The machines.xml file describes how the machine is physically set up to replicator-G. The important difference between the Andy's version and the regular version is that Andy replaced the z-axis screws on his bot with better ones. The new screws are great for stability, but they have a different thread pitch from default, resulting in a different height traveled per rotation. The machines.xml file quantifies that travel for the build software.