Newer
Older
/**
* This file is part of VisiCut.
* Copyright (C) 2012 Thomas Oster <thomas.oster@rwth-aachen.de>
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
* RWTH Aachen University - 52062 Aachen, Germany
*
* VisiCut is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* VisiCut is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with VisiCut. If not, see <http://www.gnu.org/licenses/>.
**/
/**
* Known Limitations:
* - If there is Raster and Raster3d Part in one job, the speed from 3d raster
* is taken for both and eventually other side effects:
* IT IS NOT RECOMMENDED TO USE 3D-Raster and Raster in the same Job
*/
package com.t_oster.liblasercut.drivers;
import java.util.LinkedList;
import java.util.List;
/**
*
* @author Thomas Oster <thomas.oster@rwth-aachen.de>
*/
public class EpilogZing extends EpilogCutter
{
public EpilogZing()
{
}
public EpilogZing(String hostname)
{
super(hostname);
}
@Override
public String getModelName()
{
return "Epilog ZING";
}
private static final double[] RESOLUTIONS = new double[]
Thomas Oster
committed
100, 200, 250, 400, 500, 1000
public List<Double> getResolutions()
List<Double> result = new LinkedList();
for (double r : RESOLUTIONS)
{
result.add(r);
}
return result;
}
@Override
public EpilogZing clone()
{
EpilogZing result = new EpilogZing();
result.setHostname(this.getHostname());
result.setPort(this.getPort());
result.setBedHeight(this.getBedHeight());
result.setBedWidth(this.getBedWidth());
result.setAutoFocus(this.isAutoFocus());
Thomas Oster
committed
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
//We need this methods for XMLEncoder to work properly
@Override
public boolean isAutoFocus()
{
return super.isAutoFocus();
}
@Override
public void setAutoFocus(boolean b)
{
super.setAutoFocus(b);
}
@Override
public void setBedHeight(double bh)
{
super.setBedHeight(bh);
}
@Override
public double getBedHeight()
{
return super.getBedHeight();
}
@Override
public void setBedWidth(double bh)
{
super.setBedWidth(bh);
}
@Override
public double getBedWidth()
{
return super.getBedWidth();
}
@Override
public void setHostname(String host)
{
super.setHostname(host);
}
@Override
public String getHostname()
{
return super.getHostname();
}
@Override
public int getPort()
{
return super.getPort();
}
@Override
public void setPort(int p)
{
super.setPort(p);
}