summaryrefslogtreecommitdiff
path: root/trunk/users/adrian/host/src/org/reprap/geometry/EstimationProducer.java
blob: d0aeb477e85d5361a5c69a01523b49cbfce0b91b (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
package org.reprap.geometry;

import org.reprap.geometry.Producer;
import org.reprap.gui.RepRapBuild;
import org.reprap.machines.Simulator;

/**
 * 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);
		
		layerRules.setPrinter(new Simulator()); 
		//reprap = new NullCartesianMachine(); 

	}

}