From e3c59e39cf9bc64ce9d76c324b82956a65515f16 Mon Sep 17 00:00:00 2001 From: opiopan Date: Sun, 7 Apr 2019 22:22:33 +0900 Subject: expand test and fix many issues --- tests/expects/excellon_save.txt | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 tests/expects/excellon_save.txt (limited to 'tests/expects/excellon_save.txt') diff --git a/tests/expects/excellon_save.txt b/tests/expects/excellon_save.txt new file mode 100644 index 0000000..a1d2ba8 --- /dev/null +++ b/tests/expects/excellon_save.txt @@ -0,0 +1,43 @@ +M48 +FMAT,2 +ICI,OFF +METRIC,TZ,000.000 +M71 +T01C0.100 +T02C0.200 +% +T01 +X5000Y9500 +X5200Y9500 +X5400Y9500 +X5600Y9500 +X5800Y9500 +X6000Y9500 +X6200Y9500 +X6400Y9500 +X6600Y9500 +X6800Y9500 +X7000Y9500 +X7200Y9500 +X7400Y9500 +X7600Y9500 +X7800Y9500 +X8000Y9500 +X8200Y9500 +X8400Y9500 +X8600Y9500 +X8800Y9500 +X9000Y9500 +T02 +X5000Y500 +X5400Y500 +X5800Y500 +X6200Y500 +X6600Y500 +X7000Y500 +X7400Y500 +X7800Y500 +X8200Y500 +X8600Y500 +X9000Y500 +M30 -- cgit From 02258202793e9c70f212171fe4a92f6bab3a6f72 Mon Sep 17 00:00:00 2001 From: Hiroshi Murayama Date: Sun, 18 Aug 2019 14:16:22 +0900 Subject: fix a bug that unit traslation of excellon fail --- tests/expects/excellon_save.txt | 66 +++++++++++++++++++---------------------- 1 file changed, 31 insertions(+), 35 deletions(-) (limited to 'tests/expects/excellon_save.txt') diff --git a/tests/expects/excellon_save.txt b/tests/expects/excellon_save.txt index a1d2ba8..6a22a7d 100644 --- a/tests/expects/excellon_save.txt +++ b/tests/expects/excellon_save.txt @@ -2,42 +2,38 @@ 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 -- cgit From 36956f93fe1773229b6b7bb1b851adf169f97f79 Mon Sep 17 00:00:00 2001 From: Hiroshi Murayama Date: Sun, 25 Aug 2019 12:39:01 +0900 Subject: improve routing mode compatibility with excellon specification --- tests/expects/excellon_save.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/expects/excellon_save.txt') diff --git a/tests/expects/excellon_save.txt b/tests/expects/excellon_save.txt index 6a22a7d..18fdcc4 100644 --- a/tests/expects/excellon_save.txt +++ b/tests/expects/excellon_save.txt @@ -28,10 +28,12 @@ X3600Y7100 T04 G00X600Y1700 M15 -G03X1600Y700A1000 +G02X1600Y700I0J-1000 +G03X2600Y-300A1000 +G03X3600Y700A1000 G01X6600Y700 -G01X6600Y4100 -G03X5600Y5100A1000 +G01X6600Y2600 +G03X4100Y5100I-2500J0 G01X600Y5100 G01X600Y1700 M16 -- cgit