Actions

Makerbot machines.xml: Difference between revisions

From HacDC Wiki

No edit summary
No edit summary
Line 1: Line 1:
=== This is important and necessary. ===
=== 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).   
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 folderInstead, add Andy's makebot info to the makerbot.xml file, located in the machines folder of your replicatorg install.


<pre>
<pre>
Line 44: Line 46:
                 </driver>
                 </driver>
                 <warmup>
                 <warmup>
                </warmup> <!-- required for replicatorG v 23 -->
                 <cooldown>
                 <cooldown>
(Turn off steppers after a build.)
(Turn off steppers after a build.)

Revision as of 18:57, 19 December 2010

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.