summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHamilton Kibbe <ham@hamiltonkib.be>2014-10-10 17:56:15 -0400
committerHamilton Kibbe <ham@hamiltonkib.be>2014-10-10 17:56:15 -0400
commit152fca07685d6f96f5e5bad723f1f62de99d8b7d (patch)
treec060d89ec01485518c89c80e696ab88c6bf56f02
parent1750c3c60aeffc813dad8191ceabcdb90dd2e0a6 (diff)
downloadgerbonara-152fca07685d6f96f5e5bad723f1f62de99d8b7d.tar.gz
gerbonara-152fca07685d6f96f5e5bad723f1f62de99d8b7d.tar.bz2
gerbonara-152fca07685d6f96f5e5bad723f1f62de99d8b7d.zip
Add layer names file
-rw-r--r--gerber/layer_names.py51
1 files changed, 51 insertions, 0 deletions
diff --git a/gerber/layer_names.py b/gerber/layer_names.py
new file mode 100644
index 0000000..372c40d
--- /dev/null
+++ b/gerber/layer_names.py
@@ -0,0 +1,51 @@
+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+
+# copyright 2014 Hamilton Kibbe <ham@hamiltonkib.be>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+top_copper_ext = ['gtl', 'cmp', 'top', ]
+top_copper_name = ['art01', 'top', 'GTL', 'layer1', 'soldcom', 'comp', ]
+
+bottom_copper_ext = ['gbl', 'sld', 'bot', 'sol', ]
+bottom_coppper_name = ['art02', 'bottom', 'bot', 'GBL', 'layer2', 'soldsold', ]
+
+internal_layer_ext = ['in', 'gt1', 'gt2', 'gt3', 'gt4', 'gt5', 'gt6', 'g1',
+ 'g2', 'g3', 'g4', 'g5', 'g6', ]
+internal_layer_name = ['art', 'internal']
+power_plane_name = ['pgp', 'pwr', ]
+ground_plane_name = ['gp1', 'gp2', 'gp3', 'gp4', 'gt5', 'gp6', 'gnd',
+ 'ground', ]
+
+top_silk_ext = ['gto', 'ts', 'skt', ]
+top_silk_name = ['sst01', 'topsilk, 'silk', 'slk', 'sst', ]
+
+bottom_silk_ext = ['gbo, 'bs', 'skb', ]
+bottom_silk_name = ['sst', 'bsilk', 'ssb', 'botsilk', ]
+
+top_mask_ext = ['gts', 'tmk', 'smt', 'tr', ]
+top_mask_name = ['sm01', 'cmask', 'tmask', 'mask1', 'maskcom', 'topmask',
+ 'mst', ]
+
+bottom_mask_ext = ['gbs', bmk', 'smb', 'br', ]
+bottom_mask_name = ['sm', 'bmask', 'mask2', 'masksold', 'botmask', 'msb', ]
+
+top_paste_ext = ['gtp', 'tm']
+top_paste_name = ['sp01', 'toppaste', 'pst']
+
+bottom_paste_ext = ['gbp', 'bm']
+bottom_paste_name = ['sp02', 'botpaste', 'psb']
+
+board_outline_ext = ['gko']
+board_outline_name = ['BDR', 'border', 'out', ]