From 58d5784903c8381aa63d8c06bd9b251861b27d96 Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 18 Jul 2024 16:39:58 +0200 Subject: rs274x: Add support for SR step-repeat command --- gerbonara/tests/resources/zuken-emulated/scripts/zukenka_gerber.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gerbonara/tests/resources/zuken-emulated/scripts') diff --git a/gerbonara/tests/resources/zuken-emulated/scripts/zukenka_gerber.py b/gerbonara/tests/resources/zuken-emulated/scripts/zukenka_gerber.py index b3f9f51..3bfaad5 100644 --- a/gerbonara/tests/resources/zuken-emulated/scripts/zukenka_gerber.py +++ b/gerbonara/tests/resources/zuken-emulated/scripts/zukenka_gerber.py @@ -32,7 +32,7 @@ def map_line(line): return 'X0Y0D02*M00*' # Merge G01/02/03 with following coordinate - if line in ('G01*', 'G02*', 'G03*'): + if line in ('G01*', 'G02*', 'G03*') and ('X' in line or 'Y' in line): return line[:-1] # Preserve line endings for header lines -- cgit