aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorHiroshi Murayama <opiopan@gmail.com>2019-08-18 14:16:22 +0900
committerHiroshi Murayama <opiopan@gmail.com>2019-08-18 14:17:13 +0900
commit02258202793e9c70f212171fe4a92f6bab3a6f72 (patch)
tree4c847d81d29f22fc64e104e645371fe81e44a3f4 /tests/data
parent22f4c8a3f5bdce243908f3787216344b200902df (diff)
downloadpcb-tools-extension-02258202793e9c70f212171fe4a92f6bab3a6f72.tar.gz
pcb-tools-extension-02258202793e9c70f212171fe4a92f6bab3a6f72.tar.bz2
pcb-tools-extension-02258202793e9c70f212171fe4a92f6bab3a6f72.zip
fix a bug that unit traslation of excellon fail
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/ref_drill_inch.txt66
-rw-r--r--tests/data/ref_drill_metric.txt68
2 files changed, 63 insertions, 71 deletions
diff --git a/tests/data/ref_drill_inch.txt b/tests/data/ref_drill_inch.txt
index 8d31df0..6aea2e0 100644
--- a/tests/data/ref_drill_inch.txt
+++ b/tests/data/ref_drill_inch.txt
@@ -2,42 +2,38 @@ M48
FMAT,2
ICI,OFF
INCH,TZ,00.0000
-M72
-T01C0.0039
-T02C0.0078
+T01C0.0236
+T02C0.0275
+T03C0.0314
+T04C0.0393
%
+G90
+M72
T01
-X1969Y3740
-X2047Y3740
-X2126Y3740
-X2205Y3740
-X2283Y3740
-X2362Y3740
-X2441Y3740
-X2520Y3740
-X2598Y3740
-X2677Y3740
-X2756Y3740
-X2835Y3740
-X2913Y3740
-X2992Y3740
-X3071Y3740
-X3150Y3740
-X3228Y3740
-X3307Y3740
-X3386Y3740
-X3465Y3740
-X3543Y3740
+X1815Y960
+X1815Y1344
+X1421Y2402G85X827Y2402
T02
-X1969Y197
-X2126Y197
-X2283Y197
-X2441Y197
-X2598Y197
-X2756Y197
-X2913Y197
-X3071Y197
-X3228Y197
-X3386Y197
-X3543Y197
+X1421Y1535
+X1421Y768
+X843Y768
+X807Y1535
+T03
+G00X1421Y1152
+M15
+G01X843Y1152
+M16
+G05
+X1417Y2795
+T04
+G00X236Y669
+M15
+G03X630Y276A394
+G01X2598Y276
+G01X2598Y1614
+G03X2205Y2008A394
+G01X236Y2008
+G01X236Y669
+M16
+G05
M30
diff --git a/tests/data/ref_drill_metric.txt b/tests/data/ref_drill_metric.txt
index 87f20f5..903fc48 100644
--- a/tests/data/ref_drill_metric.txt
+++ b/tests/data/ref_drill_metric.txt
@@ -2,44 +2,40 @@ M48
FMAT,2
ICI,OFF
METRIC,TZ,000.000
-M71
-T01C0.100
-T02C0.200
+T01C0.600
+T02C0.700
+T03C0.800
+T04C1.000
%
+G90
+M71
T01
-X5000Y9500
-X5200Y9500
-X5400Y9500
-X5600Y9500
-X5800Y9500
-X6000Y9500
-X6200Y9500
-X6400Y9500
-X6600Y9500
-X6800Y9500
-X7000Y9500
-X7200Y9500
-X7400Y9500
-X7600Y9500
-X7800Y9500
-X8000Y9500
-X8200Y9500
-X8400Y9500
-X8600Y9500
-X8800Y9500
-X9000Y9500
-
+X4610Y2438
+X4610Y3413
+X3610Y6100G85X2100Y6100
T02
-X5000Y500
-X5400Y500
-X5800Y500
-X6200Y500
-X6600Y500
-X7000Y500
-X7400Y500
-X7800Y500
-X8200Y500
-X8600Y500
-X9000Y500
+X3610Y3900
+X3610Y1950
+X2140Y1950
+X2050Y3900
+T03
+G00X3610Y2925
+M15
+G01X2140Y2925
+M16
+G05
+
+X3600Y7100
+T04
+G00X600Y1700
+M15
+G03X1600Y700A1000
+G01X6600Y700
+G01X6600Y4100
+G03X5600Y5100A1000
+G01X600Y5100
+G01X600Y1700
+M16
+G05
M30