summaryrefslogtreecommitdiff
path: root/gerbonara/tests/resources/zuken-emulated/scripts
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2024-07-18 16:39:58 +0200
committerjaseg <git@jaseg.de>2024-07-18 16:39:58 +0200
commit58d5784903c8381aa63d8c06bd9b251861b27d96 (patch)
treecc6cc2572deeda9d59f3981e3c157b9b8da97fa1 /gerbonara/tests/resources/zuken-emulated/scripts
parent1ecb7be6f9ccabf9ae50af5ad20ce1cc79a01973 (diff)
downloadgerbonara-58d5784903c8381aa63d8c06bd9b251861b27d96.tar.gz
gerbonara-58d5784903c8381aa63d8c06bd9b251861b27d96.tar.bz2
gerbonara-58d5784903c8381aa63d8c06bd9b251861b27d96.zip
rs274x: Add support for SR step-repeat command
Diffstat (limited to 'gerbonara/tests/resources/zuken-emulated/scripts')
-rw-r--r--gerbonara/tests/resources/zuken-emulated/scripts/zukenka_gerber.py2
1 files changed, 1 insertions, 1 deletions
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