summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorHiroshi Murayama <opiopan@gmail.com>2019-08-25 12:39:01 +0900
committerHiroshi Murayama <opiopan@gmail.com>2019-08-25 12:40:37 +0900
commit36956f93fe1773229b6b7bb1b851adf169f97f79 (patch)
treeea88dae5234593ba1a1d9ef48f26da6097b50984 /tests/data
parentf8fe16708502e0588d9d0be42d097a933d6f12d3 (diff)
downloadgerbonara-36956f93fe1773229b6b7bb1b851adf169f97f79.tar.gz
gerbonara-36956f93fe1773229b6b7bb1b851adf169f97f79.tar.bz2
gerbonara-36956f93fe1773229b6b7bb1b851adf169f97f79.zip
improve routing mode compatibility with excellon specification
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/ref_drill_inch.txt10
-rw-r--r--tests/data/ref_drill_metric.txt24
2 files changed, 21 insertions, 13 deletions
diff --git a/tests/data/ref_drill_inch.txt b/tests/data/ref_drill_inch.txt
index 6aea2e0..6af5494 100644
--- a/tests/data/ref_drill_inch.txt
+++ b/tests/data/ref_drill_inch.txt
@@ -1,7 +1,7 @@
M48
FMAT,2
ICI,OFF
-INCH,TZ,00.0000
+INCH,TZ
T01C0.0236
T02C0.0275
T03C0.0314
@@ -28,10 +28,12 @@ X1417Y2795
T04
G00X236Y669
M15
-G03X630Y276A394
+G02X630Y276I0J-394
+G03X1024Y-118A394
+G03X1417Y276A394
G01X2598Y276
-G01X2598Y1614
-G03X2205Y2008A394
+G01X2598Y1024
+G03X1614Y2008I-984J0
G01X236Y2008
G01X236Y669
M16
diff --git a/tests/data/ref_drill_metric.txt b/tests/data/ref_drill_metric.txt
index 903fc48..3a50856 100644
--- a/tests/data/ref_drill_metric.txt
+++ b/tests/data/ref_drill_metric.txt
@@ -24,18 +24,24 @@ M15
G01X2140Y2925
M16
G05
-
X3600Y7100
T04
-G00X600Y1700
+G00
+X600Y1700
M15
-G03X1600Y700A1000
-G01X6600Y700
-G01X6600Y4100
-G03X5600Y5100A1000
-G01X600Y5100
-G01X600Y1700
+I0J-1000
+G02X1600Y700
+G03
+A1000
+I-2000J0
+X2600Y-300
+X3600Y700
+G01X6600
+Y2600
+G03X4100Y5100I-2500J0
+G01
+X600
+Y1700
M16
G05
-
M30