.gitignore fix

This commit is contained in:
Dominik Dancs 2017-01-15 15:04:38 +01:00
parent 54c16089f4
commit 20e7622cf9
15 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
/target/

View File

@ -26,6 +26,7 @@ import javax.swing.text.DefaultCaret;
public class GUI extends javax.swing.JFrame {
private final int zup;
private final double unit = 40.2;
private int feed;
private JFileChooser fc;
@ -40,6 +41,7 @@ public class GUI extends javax.swing.JFrame {
setTitle("HPGL to GCode converter v1.0");
zup = 5;
feed = 30000;
fc = new JFileChooser();
@ -216,7 +218,7 @@ public class GUI extends javax.swing.JFrame {
if (lines[i].contains("PA")) {
int x = Integer.parseInt(lines[i].replace("PA ", "").replace(";", "").split(",")[0]);
int y = Integer.parseInt(lines[i].replace("PA ", "").replace(";", "").split(",")[1]);
appendGCODE("G1 X"+x+" Y"+y+" F"+feed);
appendGCODE("G1 X"+x/unit+" Y"+y/unit+" F"+feed);
}
else if (lines[i].contains("PU")) {
appendGCODE("M5 F"+feed);

BIN
target/HPGL2GCODE-1.0.jar Normal file

Binary file not shown.

Binary file not shown.

View File

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Sun Jan 15 14:49:48 CET 2017
#Sun Jan 15 15:02:51 CET 2017
version=1.0
groupId=info.moow
artifactId=HPGL2GCODE