package org.reprap.machines; import org.reprap.Attributes; import org.reprap.CartesianPrinter; import org.reprap.Preferences; import org.reprap.Extruder; import org.reprap.ReprapException; import org.reprap.gui.Previewer; import org.reprap.devices.NullExtruder; /** * */ public class NullCartesianMachine extends GenericCartesianPrinter { /** * @param config */ public NullCartesianMachine(Preferences config) throws Exception { super(config); } /** * @return speed of the extruder */ public int getSpeed() { return 200; } /* (non-Javadoc) * @see org.reprap.Printer#getFastSpeed() */ public int getFastSpeed() { return getSpeed(); } /* (non-Javadoc) * @see org.reprap.Printer#setSpeed(int) */ public void setSpeed(int speed) { } /* (non-Javadoc) * @see org.reprap.Printer#setFastSpeed(int) */ public void setFastSpeed(int speed) { } /* (non-Javadoc) * @see org.reprap.Printer#getSpeedZ() */ public int getSpeedZ() { return 200; } /* (non-Javadoc) * @see org.reprap.Printer#setSpeedZ(int) */ public void setSpeedZ(int speed) { } /* (non-Javadoc) * @see org.reprap.Printer#printStartDelay(long) */ public void printStartDelay(long msDelay) { // intentionally do nothing. // This would extrude for the given interval to ensure polymer flow. } public void delay(long millis) { } }