summaryrefslogtreecommitdiff
path: root/examples/gerbv_test_files/test-layer-mode-1.gbx
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2016-11-18 07:43:02 -0500
committerHamilton Kibbe <hamilton.kibbe@gmail.com>2016-11-18 07:43:02 -0500
commit3b1cf729beb16028422622aac6ba6a872946ad61 (patch)
tree92c14e5381b133e18c96476b0c88510e234f2301 /examples/gerbv_test_files/test-layer-mode-1.gbx
parent521fe89150c6aaa0ff0954cc8d32e4b6f8009324 (diff)
downloadgerbonara-3b1cf729beb16028422622aac6ba6a872946ad61.tar.gz
gerbonara-3b1cf729beb16028422622aac6ba6a872946ad61.tar.bz2
gerbonara-3b1cf729beb16028422622aac6ba6a872946ad61.zip
Add script to render gerbv test files
Diffstat (limited to 'examples/gerbv_test_files/test-layer-mode-1.gbx')
-rwxr-xr-xexamples/gerbv_test_files/test-layer-mode-1.gbx68
1 files changed, 68 insertions, 0 deletions
diff --git a/examples/gerbv_test_files/test-layer-mode-1.gbx b/examples/gerbv_test_files/test-layer-mode-1.gbx
new file mode 100755
index 0000000..95b8555
--- /dev/null
+++ b/examples/gerbv_test_files/test-layer-mode-1.gbx
@@ -0,0 +1,68 @@
+G04 Test handling of unit changes within a RS274X file *
+G04 Handcoded by Julian Lamb *
+%MOIN*%
+%FSLAX23Y23*%
+G04 Aperture 10 should be in Inches *
+%ADD10C,0.050*%
+%MOMM*%
+G04 Aperture 11 should be in MMs *
+%ADD11C,1.250*%
+G04 Aperture 12 should be in MMs *
+%AMTHERMAL*
+7,0,0,25.4,12.7,2.54,0*%
+%MOIN*%
+G04 Aperture 13 is in inches *
+%AMTHERMALTWO*
+7,0,0,1,0.5,0.1,0*%
+%MOMM*%
+%ADD12THERMAL*%
+%MOIN*%
+%ADD13THERMALTWO*%
+
+%MOIN*%
+G04 Box 1, using aperture 10*
+X0Y0D02*
+G54D10*
+X0Y0D01*
+X1000D01*
+Y1000D01*
+X0D01*
+Y0D01*
+
+G04 Box 2, using aperture 11*
+X2000Y0D02*
+G54D11*
+X2000Y0D01*
+X3000D01*
+Y1000D01*
+X2000D01*
+Y0D01*
+
+%MOMM*%
+G04 Box 3, using aperture 10*
+X100000Y0D02*
+G54D10*
+X100000Y0D01*
+X125000D01*
+Y25000D01*
+X100000D01*
+Y0D01*
+
+G04 Draw Thermal in box 1*
+G54D12*
+Y12000X12700D03*
+
+G04 Draw Thermal in box 2*
+G04 ..switch to inches for coordinates*
+G70*
+Y500X2500D02*
+G54D12*
+Y500X2500D03*
+
+G04 ..switch to mms for coordinates*
+G71*
+G04 Draw Thermal in box 3*
+G54D13*
+Y12000X112000D03*
+
+M02*