blob: ab2abe95642ba26361d5bda931b86976697e5e61 (
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
|
package org.reprap.geometry;
import javax.vecmath.*;
import org.reprap.Preferences;
import org.reprap.geometry.Producer;
import org.reprap.gui.RepRapBuild;
import org.reprap.machines.NullCartesianMachine;
/**
* A specialisation of Producer that doesn't preview anything
* and always uses the virtual printer. This is useful to
* determine in advance the resource requirements (time and materials)
* to produce an assembly.
*/
public class EstimationProducer extends Producer {
/**
* @param builder
* @throws Exception
*/
public EstimationProducer(RepRapBuild builder) throws Exception {
super(null, builder);
reprap = new NullCartesianMachine(Preferences.getGlobalPreferences());
}
}
|