[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: stretching components
Stefan Salewski wrote:
> On Tue, 2009-03-31 at 11:26 +0100, richard wrote:
>
>> Hi Stefan
>> I've looked in both places, and your site without success, and also the
>> handbook. Its probably me not spotting it.
>> I need footprints for two capacitors, both through hole.
>>
>
> OK, here they are. Please verify and let me know if something is wrong.
> I have used the naming scheme used/suggested by www.luciani.org and
> dimensions from datasheet. First the input for my Ruby script, then the
> two footprints, each beginning with "Element[" and ending with ")"
>
> I see some long lines are broken, so I attach the files. A copy is
> available at http://www.ssalewski.de/tmp/
>
> stefan@AMD64-X2 ~/sfg-footprints $ cat sfg-input.txt
> # input for sfg.rb
> Device = Global
> author = "Stefan Salewski"
> email = "mail@xxxxxxxxxxxx"
> dist-license = GPL
> use-license = unlimited
> date = "31-MAR-2009"
> elementdir = "./"
> silkwidth = 10 mil
> silkoffset = 10 mil
> textpos = upperleft
> textorientation = horizontal
> refdessize = 100
> mask = 6 mil
> clearance = 10 mil
>
> Device = DIP
> # two pin rectangular capacitor
> defaultunit mm
> silkbox custom
> silkboxwidth 41.5
> silkboxheight 18
> description = "EPCOS Film/EMI Suppression Capacitors (MKP)"
> desc = "Capacitor"
> documentation =
> "http://docs-europe.electrocomponents.com/webdocs/0980/0900766b80980911.pdf"
> pins = 2
> width = 37.5
> pitch = 0 # ignored
> pad-dia = 1*3 # 3 times drill
> drill-dia = 1*1.2 # 20% tolerance
> p1silkmark = no
> p1coppermark = no
> Generate CAPA-3750P-4150L-1800W__EPCOS.fp
>
> # next
> silkboxwidth 30.5
> silkboxheight 19
> description = "Panasonic Metallized Polyester Film Capacitor"
> desc = "Capacitor"
> documentation =
> "http://docs-europe.electrocomponents.com/webdocs/07a0/0900766b807a00b1.pdf"
> width = 27.5
> pad-dia = 0.8*3
> drill-dia = 0.8*1.2 # 20% tolerance
> Generate CAPA-2750P-3050W-1900H__Panasonic.fp
>
>
> stefan@AMD64-X2 ~/sfg-footprints $ ~/Bash/sfg.rb sfg-input.txt
> stefan@AMD64-X2 ~/sfg-footprints $
> stefan@AMD64-X2 ~/sfg-footprints $ cat CAPA-3750P-4150L-1800W__EPCOS.fp
> Element["" "Capacitor" "CAPA-3750P-4150L-1800W__EPCOS" "" 0 0 -81693
> -42933 0 100 ""]
> (
> Pin[-73819 0 11811 2000 13011 4724 "1" "1" ""]
> Pin[73819 0 11811 2000 13011 4724 "2" "2" ""]
> ElementLine[-81693 -35433 -81693 35433 1000]
> ElementLine[-81693 -35433 81693 -35433 1000]
> ElementLine[81693 35433 81693 -35433 1000]
> ElementLine[81693 35433 -81693 35433 1000]
> Attribute("name" "CAPA-3750P-4150L-1800W__EPCOS")
> Attribute("author" "Stefan Salewski")
> Attribute("email" "mail@xxxxxxxxxxxx")
> Attribute("dist-license" "GPL")
> Attribute("use-license" "unlimited")
> Attribute("date" "31-MAR-2009")
> Attribute("description" "EPCOS Film/EMI Suppression Capacitors (MKP)")
> Attribute("desc" "Capacitor")
> Attribute("documentation"
> "http://docs-europe.electrocomponents.com/webdocs/0980/0900766b80980911.pdf")
> )
>
> stefan@AMD64-X2 ~/sfg-footprints $ cat
> CAPA-2750P-3050W-1900H__Panasonic.fp
> Element["" "Capacitor" "CAPA-2750P-3050W-1900H__Panasonic" "" 0 0 -60039
> -44902 0 100 ""]
> (
> Pin[-54134 0 9449 2000 10649 3780 "1" "1" ""]
> Pin[54134 0 9449 2000 10649 3780 "2" "2" ""]
> ElementLine[-60039 -37402 -60039 -6224 1000]
> ElementLine[-60039 37402 -60039 6224 1000]
> ElementLine[-60039 -37402 60039 -37402 1000]
> ElementLine[60039 -37402 60039 -6224 1000]
> ElementLine[60039 37402 60039 6224 1000]
> ElementLine[60039 37402 -60039 37402 1000]
> Attribute("name" "CAPA-2750P-3050W-1900H__Panasonic")
> Attribute("author" "Stefan Salewski")
> Attribute("email" "mail@xxxxxxxxxxxx")
> Attribute("dist-license" "GPL")
> Attribute("use-license" "unlimited")
> Attribute("date" "31-MAR-2009")
> Attribute("description" "Panasonic Metallized Polyester Film
> Capacitor")
> Attribute("desc" "Capacitor")
> Attribute("documentation"
> "http://docs-europe.electrocomponents.com/webdocs/07a0/0900766b807a00b1.pdf")
> )
> stefan@AMD64-X2 ~/sfg-footprints $
>
>
>
Thanks Stefan they all look OK and the gerbers have been sent to the fab
house.
Thanks for the help
--
Best wishes
Richard Bown
#####################################################################
Registered Linux User 36561
OS: Ubuntu 8.10, Intrepid, on AMD Dual Athlon 64 +4400: 8 GB RAM DDR2
Ham Call: G8JVM , QRA IO82SP, Interests Microwave
####################################################################
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user