From: Bdale Garbee Date: Thu, 26 Dec 2019 14:33:31 +0000 (-0300) Subject: start work on 11071 lihata footprint generator, improve license banners X-Git-Tag: telelco-v3.0~353 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=119df297611e1f0c7b6b15f7c613a2ce79a5aed9;p=hw%2Faltusmetrum start work on 11071 lihata footprint generator, improve license banners --- diff --git a/packages/11071.py b/packages/11071.py new file mode 100755 index 0000000..ac1e282 --- /dev/null +++ b/packages/11071.py @@ -0,0 +1,24 @@ +#! /usr/bin/python +# +# generate lihata footprint for 4ucon 11071 tabbed micro USB connector +# Copyright 2020 by Bdale Garbee +# +# 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() diff --git a/packages/Makefile b/packages/Makefile index 9c65b2d..0ab840a 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -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-%) diff --git a/packages/fplht.py b/packages/fplht.py index e169792..dea8c68 100644 --- a/packages/fplht.py +++ b/packages/fplht.py @@ -1,7 +1,16 @@ #! /usr/bin/python -# Copyright 2020 by Bdale Garbee . GPLv3 - # Python library to assist in generating lihata format footprints for pcb-rnd +# Copyright 2020 by Bdale Garbee +# +# 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.