summaryrefslogtreecommitdiff
path: root/gerbonara/tests/resources/zuken-emulated/scripts/prepare.sh
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-02-06 01:10:17 +0100
committerjaseg <git@jaseg.de>2022-02-06 01:10:17 +0100
commit263617ca754fc7b3fc550a33934fcbcbe5ef8acf (patch)
tree48bee309f4311a030cae5ed518d6499a93edfb8b /gerbonara/tests/resources/zuken-emulated/scripts/prepare.sh
parent5c4e18031623207b31855ff58be6b4c907962474 (diff)
downloadgerbonara-263617ca754fc7b3fc550a33934fcbcbe5ef8acf.tar.gz
gerbonara-263617ca754fc7b3fc550a33934fcbcbe5ef8acf.tar.bz2
gerbonara-263617ca754fc7b3fc550a33934fcbcbe5ef8acf.zip
Add Zuken tests and fix parsing
Diffstat (limited to 'gerbonara/tests/resources/zuken-emulated/scripts/prepare.sh')
-rw-r--r--gerbonara/tests/resources/zuken-emulated/scripts/prepare.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/gerbonara/tests/resources/zuken-emulated/scripts/prepare.sh b/gerbonara/tests/resources/zuken-emulated/scripts/prepare.sh
new file mode 100644
index 0000000..45b56b7
--- /dev/null
+++ b/gerbonara/tests/resources/zuken-emulated/scripts/prepare.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+python3 scripts/zukenka_gerber.py < orig/driver-B_Cu > Gerber/Conductive-2.fph
+python3 scripts/zukenka_gerber.py < orig/driver-B_Mask > Gerber/Resist-B.fph
+python3 scripts/zukenka_gerber.py < orig/driver-B_Paste > Gerber/MetalMask-B.fph
+python3 scripts/zukenka_gerber.py < orig/driver-B_SilkS > Gerber/Symbol-B.fph
+python3 scripts/zukenka_gerber.py < orig/driver-F_Cu > Gerber/Conductive-1.fph
+python3 scripts/zukenka_gerber.py < orig/driver-F_Mask > Gerber/Resist-A.fph
+python3 scripts/zukenka_gerber.py < orig/driver-F_Paste > Gerber/MetalMask-A.fph
+python3 scripts/zukenka_gerber.py < orig/driver-F_SilkS > Gerber/Symbol-A.fph
+
+python3 scripts/zukenka_excellon.py < orig/driver-NPTH > Drill/8seg_Driver__routed_Drill_thru_nplt.fdr
+mkdir -p Drill/8seg_Driver__routed_Drill_thru_plt.fdr
+python3 scripts/zukenka_excellon.py < orig/driver-PTH > Drill/8seg_Driver__routed_Drill_thru_plt.fdr/8seg_Driver__routed_Drill_thru_plt.fdr
+
+cp scripts/drill_log_sample Drill/8seg_Driver__routed_Drill_thru_plt.fdr/8seg_Driver__routed_Drill_thru_plt.fdl
+cp scripts/drill_log_sample Drill/8seg_Driver__routed_Drill_thru_nplt.fdl
+