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/data/ref_drill_inch.txt | 10 ++++++---- tests/data/ref_drill_metric.txt | 24 +++++++++++++++--------- 2 files changed, 21 insertions(+), 13 deletions(-) (limited to 'tests/data') 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 -- cgit