blob: 460c169647633047f19152b0ad11680057e3ab71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
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) {
}
}
|