From: Bdale Garbee Date: Fri, 17 Apr 2015 18:18:33 +0000 (-0600) Subject: footprint for fuse holder X-Git-Tag: telelco-v3.0~716 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=8b1988cb2f806bc95308dc9dc6e317373829b0c5;p=hw%2Faltusmetrum footprint for fuse holder --- diff --git a/datasheets/littlefuse/littelfuse_fuse_holder_345_circuit_board_mount_datasheet.pdf b/datasheets/littlefuse/littelfuse_fuse_holder_345_circuit_board_mount_datasheet.pdf new file mode 100644 index 0000000..be20a08 Binary files /dev/null and b/datasheets/littlefuse/littelfuse_fuse_holder_345_circuit_board_mount_datasheet.pdf differ diff --git a/datasheets/littlefuse/littelfuse_fuse_holder_345_circuit_board_mount_datasheet.pdf.pdf b/datasheets/littlefuse/littelfuse_fuse_holder_345_circuit_board_mount_datasheet.pdf.pdf deleted file mode 100644 index be20a08..0000000 Binary files a/datasheets/littlefuse/littelfuse_fuse_holder_345_circuit_board_mount_datasheet.pdf.pdf and /dev/null differ diff --git a/packages/Makefile b/packages/Makefile index 3e8a5ab..81ae591 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -81,7 +81,8 @@ FOOTPRINTS= \ sot666.fp \ sot323.fp \ sod123.fp \ - 0806.fp + 0806.fp \ + fuse345.fp .5c.fp: nickle $*.5c > $@ diff --git a/packages/fuse345.py b/packages/fuse345.py new file mode 100755 index 0000000..97336e7 --- /dev/null +++ b/packages/fuse345.py @@ -0,0 +1,78 @@ +#!/usr/bin/python +# Copyright 2015 by Bdale Garbee . GPLv2 +# +# Program to emit PCB footprint for littlefuse 345 fuse holder +# + +# dimensions in mils from footprint drawing at DigiKey +BodyWidth = 1570 # body outline (width not counting projection) +BodyHeight = 490 +PinSpace1 = 700 +PinSpace2 = 600 + +import sys + +# we're going to use the 1/100 of a mil fundamental unit form +def mm2mils100( mm ): + return int( mm / 25.4 * 1000.0 * 100.0 + 0.5 ) + +print '# author: Bdale Garbee' +print '# email: bdale@gag.com' +print '# dist-license: GPL 2' +print '# use-license: unlimited' + +print 'Element[0x0 "littlefuse345" "" "" 0 0 0 0 0 100 0x0]' +print "(" +print ' Pin(',\ + 0, \ + 0, \ + 125, \ + 30, \ + 150, \ + 56, \ + '"pin1" "1" 0x0001)' + +print ' Pin(',\ + PinSpace1, \ + 0, \ + 125, \ + 30, \ + 150, \ + 56, \ + '"pin2" "2" 0x0001)' + +print ' Pin(',\ + PinSpace1 + PinSpace2, \ + 0, \ + 125, \ + 30, \ + 150, \ + 56, \ + '"pin3" "3" 0x0001)' + + +print ' ElementLine(',\ + 0, \ + -(BodyHeight/2), \ + 0, \ + (BodyHeight/2), \ + 5, \ + ')' + +print ' ElementLine(',\ + 0, \ + -(BodyHeight/2), \ + BodyWidth, \ + -(BodyHeight/2), \ + 5, \ + ')' + +print ' ElementLine(',\ + 0, \ + (BodyHeight/2), \ + BodyWidth, \ + (BodyHeight/2), \ + 5, \ + ')' + +print ")" diff --git a/packages/littlefuse345.py b/packages/littlefuse345.py deleted file mode 100755 index 97336e7..0000000 --- a/packages/littlefuse345.py +++ /dev/null @@ -1,78 +0,0 @@ -#!/usr/bin/python -# Copyright 2015 by Bdale Garbee . GPLv2 -# -# Program to emit PCB footprint for littlefuse 345 fuse holder -# - -# dimensions in mils from footprint drawing at DigiKey -BodyWidth = 1570 # body outline (width not counting projection) -BodyHeight = 490 -PinSpace1 = 700 -PinSpace2 = 600 - -import sys - -# we're going to use the 1/100 of a mil fundamental unit form -def mm2mils100( mm ): - return int( mm / 25.4 * 1000.0 * 100.0 + 0.5 ) - -print '# author: Bdale Garbee' -print '# email: bdale@gag.com' -print '# dist-license: GPL 2' -print '# use-license: unlimited' - -print 'Element[0x0 "littlefuse345" "" "" 0 0 0 0 0 100 0x0]' -print "(" -print ' Pin(',\ - 0, \ - 0, \ - 125, \ - 30, \ - 150, \ - 56, \ - '"pin1" "1" 0x0001)' - -print ' Pin(',\ - PinSpace1, \ - 0, \ - 125, \ - 30, \ - 150, \ - 56, \ - '"pin2" "2" 0x0001)' - -print ' Pin(',\ - PinSpace1 + PinSpace2, \ - 0, \ - 125, \ - 30, \ - 150, \ - 56, \ - '"pin3" "3" 0x0001)' - - -print ' ElementLine(',\ - 0, \ - -(BodyHeight/2), \ - 0, \ - (BodyHeight/2), \ - 5, \ - ')' - -print ' ElementLine(',\ - 0, \ - -(BodyHeight/2), \ - BodyWidth, \ - -(BodyHeight/2), \ - 5, \ - ')' - -print ' ElementLine(',\ - 0, \ - (BodyHeight/2), \ - BodyWidth, \ - (BodyHeight/2), \ - 5, \ - ')' - -print ")"