]> git.gag.com Git - hw/altusmetrum/commitdiff
start work on 11071 lihata footprint generator, improve license banners
authorBdale Garbee <bdale@gag.com>
Thu, 26 Dec 2019 14:33:31 +0000 (11:33 -0300)
committerBdale Garbee <bdale@gag.com>
Thu, 26 Dec 2019 14:33:31 +0000 (11:33 -0300)
packages/11071.py [new file with mode: 0755]
packages/Makefile
packages/fplht.py

diff --git a/packages/11071.py b/packages/11071.py
new file mode 100755 (executable)
index 0000000..ac1e282
--- /dev/null
@@ -0,0 +1,24 @@
+#! /usr/bin/python
+#
+# generate lihata footprint for 4ucon 11071 tabbed micro USB connector
+# Copyright 2020 by Bdale Garbee <bdale@gag.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+import math
+from fplht import *
+
+fp = footprint()
+
+fp.name = "11071"
+fp.description = "4ucon 11071 tabbed micro USB connector"
+
+fp.emit()
index 9c65b2da3fb0c5144985315101f75e784a7d7b13..0ab840a09a1dbc74cab016b626f62c615199f6d9 100644 (file)
@@ -122,6 +122,7 @@ FOOTPRINTS= \
        A29100-009.fp \
        506CD.fp \
        11071.fp \
+       11071.lht \
        M1040M.fp \
        pts645.fp \
        l102.fp \
@@ -140,6 +141,9 @@ FOOTPRINTS= \
 .py.fp:
        python $*.py > $@
 
+.py.lht:
+       python $*.py > $@
+
 BUILDDIRS=$(DIRS:%=build-%)
 CLEANDIRS=$(DIRS:%=clean-%)
 
index e169792880c7d7a841b70cf1e23919415e232e49..dea8c6890bd0c63df99096f2ca3feb339a1bc01a 100644 (file)
@@ -1,7 +1,16 @@
 #! /usr/bin/python
-# Copyright 2020 by Bdale Garbee <bdale@gag.com>.  GPLv3
-
 # Python library to assist in generating lihata format footprints for pcb-rnd
+# Copyright 2020 by Bdale Garbee <bdale@gag.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
 
 # Each footprint should have a parent Python script that initializes this 
 # library and provides a high-level description of the primitives required.