Skip to content

Instantly share code, notes, and snippets.

@hairmare
Created April 12, 2013 03:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hairmare/5369074 to your computer and use it in GitHub Desktop.
Save hairmare/5369074 to your computer and use it in GitHub Desktop.
machine definition file that adds our repstrap
<?xml version="1.1" encoding="utf-8"?>
<machines>
<!-- Cupcake Basic -->
<machine>
<name>Cupcake Basic</name>
<geometry type="cartesian">
<!-- different pulleys on X and Y axii -->
<axis id="x" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
<axis id="y" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
<axis id="z" length="100" maxfeedrate="150" stepspermm="320" endstops="min"/>
</geometry>
<tools>
<tool name="Pinch Wheel Extruder v1.1" type="extruder" material="abs" motor="true" fan="true" heater="true"/>
</tools>
<clamps></clamps>
<driver name="sanguino3g">
<!-- optional: <portname>COM1</portname> -->
<rate>38400</rate>
</driver>
<warmup>
</warmup>
<cooldown>
(Turn off steppers after a build.)
M18
</cooldown>
</machine>
<machine>
<name>Cupcake Basic with MK7 + wolfgang cable hack</name>
<geometry type="cartesian">
<!-- different pulleys on X and Y axii -->
<axis id="x" length="100" maxfeedrate="150" stepspermm="400" endstops="min"/>
<axis id="y" length="100" maxfeedrate="150" stepspermm="400" endstops="min"/>
<axis id="z" length="100" maxfeedrate="150" stepspermm="400" endstops="min"/>
</geometry>
<tools>
<tool name="Pinch Wheel Extruder v1.1" type="extruder" material="abs" motor="true" fan="true" heater="true"/>
</tools>
<clamps></clamps>
<driver name="sanguino3g">
<!-- optional: <portname>COM1</portname> -->
<rate>38400</rate>
</driver>
<warmup>
</warmup>
<cooldown>
(Turn off steppers after a build.)
M18
</cooldown>
</machine>
<machine>
<name>Cupcake w/ automated build platform</name>
<geometry type="cartesian">
<!-- different pulleys on X and Y axii -->
<axis id="x" length="100" maxfeedrate="5000" stepspermm="11.767463"/>
<axis id="y" length="100" maxfeedrate="5000" stepspermm="11.767463"/>
<axis id="z" length="100" maxfeedrate="150" stepspermm="320"/>
</geometry>
<tools>
<tool name="Plastruder Mk5" type="extruder" material="abs" motor="true" automatedplatform="true" heatedplatform="true" heater="true"/>
</tools>
<clamps></clamps>
<driver name="sanguino3g">
<!-- optional: <portname>COM1</portname> -->
<rate>38400</rate>
</driver>
<warmup>
</warmup>
<cooldown>
(Turn off steppers after a build.)
M18
</cooldown>
</machine>
<machine>
<name>Cupcake w/ heated build platform</name>
<geometry type="cartesian">
<!-- different pulleys on X and Y axii -->
<axis id="x" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
<axis id="y" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
<axis id="z" length="96" maxfeedrate="150" stepspermm="320" endstops="min"/>
</geometry>
<tools>
<tool name="Pinch Wheel Extruder v1.1a" type="extruder" material="abs" motor="true" fan="true" heatedplatform="true" 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>
<cooldown>
(Turn off steppers after a build.)
M18
</cooldown>
</machine>
<machine experimental="1">
<name>Cupcake w/ heated build platform and stepper extruder</name>
<geometry type="cartesian">
<!-- different pulleys on X and Y axii -->
<axis id="x" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
<axis id="y" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
<axis id="z" length="96" maxfeedrate="150" stepspermm="320" endstops="min"/>
</geometry>
<tools>
<tool name="Pinch Wheel Extruder v1.1a" type="extruder" material="abs" motor="true" fan="true" heatedplatform="true" heater="true" motor_steps="3200"/>
</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>
<cooldown>
(Turn off steppers after a build.)
M18
</cooldown>
</machine>
<machine>
<name>Cupcake w/ Gen4 electronics and ABP</name>
<geometry type="cartesian">
<!-- different pulleys on X and Y axii -->
<axis id="x" length="100" maxfeedrate="4000" stepspermm="47.069852"/>
<axis id="y" length="100" maxfeedrate="4000" stepspermm="47.069852"/>
<axis id="z" length="100" maxfeedrate="150" stepspermm="1280"/>
</geometry>
<tools>
<tool name="Plastruder Mk5" type="extruder" material="abs" motor="true" automatedplatform="true" fan="true" heatedplatform="true" heater="true"/>
</tools>
<clamps></clamps>
<driver name="sanguino3g">
<!-- optional: <portname>COM1</portname> -->
<rate>115200</rate>
</driver>
<warmup>
</warmup>
<cooldown>
(Turn off steppers after a build.)
M18
</cooldown>
</machine>
<machine experimental="1">
<name>Cupcake w/ HBP, 2 toolheads</name>
<geometry type="cartesian">
<!-- different pulleys on X and Y axii -->
<axis id="x" length="100" maxfeedrate="5000" stepspermm="11.767463"/>
<axis id="y" length="100" maxfeedrate="5000" stepspermm="11.767463"/>
<axis id="z" length="96" maxfeedrate="150" stepspermm="320"/>
</geometry>
<tools>
<tool index="4" name="Pinch Wheel Extruder v1.1a" type="extruder" material="abs" motor="true" fan="true" heatedplatform="false" heater="true"/>
<tool index="3" name="Pinch Wheel Extruder v1.1a" type="extruder" material="abs" motor="true" fan="true" heatedplatform="true" heater="true"/>
</tools>
<clamps></clamps>
<driver name="sanguino3g">
<!-- optional: <portname>COM1</portname> -->
<rate>38400</rate>
</driver>
<warmup>
</warmup>
<cooldown>
(Turn off steppers after a build.)
M18
</cooldown>
</machine>
<machine>
<name>Cupcake w/ Frostruder</name>
<!-- This configuration is for cupcakes outfitted with a frostruder. -->
<geometry type="cartesian">
<!-- different pulleys on X and Y axii -->
<axis id="x" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
<axis id="y" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
<axis id="z" length="100" maxfeedrate="150" stepspermm="320" endstops="min"/>
</geometry>
<tools>
<tool name="Frostruder v1.0" type="extruder" material="abs" motor="false" fan="true" valve="true" heater="false">
<remap port="fan" name="Pressure Valve" actuated="open"/>
<remap port="valve" name="Relief Valve" actuated="open"/>
</tool>
</tools>
<clamps></clamps>
<driver name="sanguino3g">
<!-- optional: <portname>COM1</portname> -->
<rate>38400</rate>
</driver>
<warmup>
</warmup>
<cooldown>
(Turn off steppers after a build.)
M18
</cooldown>
</machine>
</machines>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment