<?xml version="1.1" encoding="utf-8"?>
<machines>
  <machine>
    <name>Thingomatic w/ HBP and Stepstruder MK7 (Sailfish)</name>
    <geometry type="cartesian">
      <!-- different pulleys on X and Y axii -->
      <axis id="x" length="106" maxfeedrate="9600" homingfeedrate="500" stepspermm="47.069852" endstops="min"/>  <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
      <axis id="y" length="120" maxfeedrate="9600" homingfeedrate="500" stepspermm="47.069852" endstops="min" timeout="30"/>  <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
      <axis id="z" length="106" maxfeedrate="1000" homingfeedrate="500" stepspermm="200" endstops="max"/> <!-- TR-8x8 Z axis = 1/(8/1600) -->
      <axis id="a" length="100000" maxfeedrate="1600" stepspermm="50.235478806907409" endstops="none"/> <!-- stepspermm is incoming filament length, 127 is ca. 4 RPM, 1600 ca. 50 RPM -->
    </geometry>
    <tools>
      <tool name="Stepstruder MK7" type="extruder" material="abs" motor="true" fan="true" heatedplatform="true" motor_steps="1600" default_rpm="3" heater="true" stepper_axis="a"/>
    </tools>
    <clamps></clamps>
    <driver name="makerbot4gsailfish">
      <!-- optional: <portname>COM1</portname> -->
      <rate>115200</rate>
    </driver>
    <warmup>
    </warmup>
    <cooldown>
M18 (Turn off steppers after a build.)
    </cooldown>
    <bookend start="machines/thingomatic/start+HBP+Stepstruder+Sailfish.gcode" end="machines/thingomatic/end+Stepstruder+Sailfish.gcode"/>
  </machine>
  <machine>
    <name>Thingomatic w/ ABP and Stepstruder MK7 (Sailfish)</name>
    <geometry type="cartesian">
      <!-- different pulleys on X and Y axii -->
      <axis id="x" length="106" maxfeedrate="9600" homingfeedrate="500" stepspermm="47.069852" endstops="min"/>  <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
      <axis id="y" length="120" maxfeedrate="9600" homingfeedrate="500" stepspermm="47.069852" endstops="min" timeout="30"/>  <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
      <axis id="z" length="106" maxfeedrate="1000" homingfeedrate="500" stepspermm="200" endstops="max"/> <!-- TR-8x8 Z axis = 1/(8/1600) -->
      <axis id="a" length="100000" maxfeedrate="1600" stepspermm="50.235478806907409" endstops="none"/> <!-- stepspermm is incoming filament length, 127 is ca. 4 RPM, 1600 ca. 50 RPM -->
    </geometry>
    <tools>
      <tool name="Stepstruder MK7" type="extruder" material="abs" motor="true" fan="true" heatedplatform="true" automatedplatform="true" motor_steps="1600" default_rpm="3" heater="true" stepper_axis="a"/>
    </tools>
    <clamps></clamps>
    <driver name="makerbot4gsailfish">
      <!-- optional: <portname>COM1</portname> -->
      <rate>115200</rate>
    </driver>
    <warmup>
    </warmup>
    <cooldown>
M18 (Turn off steppers after a build.)
    </cooldown>
    <bookend start="machines/thingomatic/start+ABP+Stepstruder+Sailfish.gcode" end="machines/thingomatic/end+ABP+Stepstruder+Sailfish.gcode"/>
  </machine>
  <machine experimental="0">
    <name>Thingomatic w/ HBP and Dual Stepstruder MK7 (Sailfish)</name>
    <geometry type="cartesian">
      <!-- different pulleys on X and Y axii -->
      <axis id="x" length="80" maxfeedrate="9600" homingfeedrate="500" stepspermm="47.069852" endstops="min"/>  <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
      <axis id="y" length="80" maxfeedrate="9600" homingfeedrate="500" stepspermm="47.069852" endstops="min" timeout="30"/>  <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
      <axis id="z" length="106" maxfeedrate="1000" homingfeedrate="500" stepspermm="200" endstops="max"/> <!-- TR-8x8 Z axis = 1/(8/1600) -->
      <axis id="a" length="100000" maxfeedrate="1600" stepspermm="50.235478806907409" endstops="none"/> <!-- stepspermm is incoming filament length, 127 is ca. 4 RPM, 1600 ca. 50 RPM -->
      <axis id="b" length="100000" maxfeedrate="1600" stepspermm="50.235478806907409" endstops="none"/> <!-- stepspermm is incoming filament length, 127 is ca. 4 RPM, 1600 ca. 50 RPM -->
    </geometry>
    <tools>
      <tool name="MK7 Right (A)" index="0" type="extruder" motor="true" fan="false" heatedplatform="false" motor_steps="1600" default_rpm="3" heater="true" stepper_axis="a"/>
      <tool name="MK7 Left (B)" index="1" type="extruder" motor="true" fan="false" heatedplatform="true" motor_steps="1600" default_rpm="3" heater="true" stepper_axis="b"/>
    </tools>
    <wipes>
      <wipe index="0" X1="44.0" Y1="55.0" Z1="9" X2="44.0" Y2="55.0" Z2="9" wait="1000.0" purge_duration="1000" reverse_duration="15" purge_rpm="5.0" reverse_rpm="25.0"/>
      <wipe index="1" X1="-36.0" Y1="55.0" Z1="9" X2="-45.0" Y2="55.0" Z2="9" wait="1000.0" purge_duration="1000" reverse_duration="15" purge_rpm="5.0" reverse_rpm="25.0"/>
      <exclusion>
	<exclusion_zone topleftback="x,y,z" bottomrightfront="x,y,z" reason="box 1"/>
	<exclusion_zone topleftback="x,y,z" bottomrightfront="x,y,z" reason="box 2"/>

      </exclusion>
    </wipes>
    <clamps></clamps>
    <driver name="makerbot4gsailfish">
      <!-- optional: <portname>COM1</portname> -->
      <rate>115200</rate>
    </driver>
    <warmup>
    </warmup>
    <cooldown>
M18 (Turn off steppers after a build.)
    </cooldown>
    <bookend dualstart="machines/thingomatic/start+dual+Sailfish.gcode" start="machines/thingomatic/start+dual+single+Sailfish.gcode" end="machines/thingomatic/end+dual+Sailfish.gcode"/>
  </machine>
  <machine>
    <name>Thingomatic w/ HBP and Extruder MK6 (Sailfish)</name>
    <geometry type="cartesian">
      <!-- different pulleys on X and Y axii -->
      <axis id="x" length="106" maxfeedrate="9600" homingfeedrate="2500" stepspermm="47.069852" endstops="min"/>  <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
      <axis id="y" length="120" maxfeedrate="9600" homingfeedrate="2500" stepspermm="47.069852" endstops="min"/>  <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
      <axis id="z" length="106" maxfeedrate="1000" homingfeedrate="1000" stepspermm="200" endstops="max"/> <!-- TR-8x8 Z axis = 1/(8/1600) -->
      <axis id="a" length="100000" maxfeedrate="1600" stepspermm="50.235478806907409" endstops="none"/> <!-- stepspermm is incoming filament length, 127 is ca. 4 RPM, 1600 ca. 50 RPM -->
    </geometry>
    <tools>
      <tool name="Stepstruder MK6" type="extruder" material="abs" motor="true" fan="true" heatedplatform="true" motor_steps="1600"
	    default_rpm="1.98" heater="true" stepper_axis="a"/>
    </tools>
    <clamps></clamps>
    <driver name="makerbot4gsailfish">
      <!-- optional: <portname>COM1</portname> -->
      <rate>115200</rate>
    </driver>
    <warmup>
    </warmup>
    <cooldown>
(Turn off steppers after a build.)
M18
    </cooldown>
    <bookend start="machines/thingomatic/start+HBP+Stepstruder+Sailfish.gcode" end="machines/thingomatic/end+Stepstruder+Sailfish.gcode"/>
  </machine>
</machines>
