<?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 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>
		<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" 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>
