delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2016/01/16/00:54:00

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
X-ASG-Debug-ID: 1452923626-0978cd7896275fb00001-ensGXf
X-Barracuda-Envelope-From: gheskett AT shentel DOT net
X-Barracuda-RBL-Trusted-Forwarder: 204.111.2.25
From: "Gene Heskett (gheskett AT shentel DOT net) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
X-Barracuda-Effective-Source-IP: n64s149.fttx.shentel.net[204.111.64.149]
X-Barracuda-Apparent-Source-IP: 204.111.64.149
X-Barracuda-RBL-IP: 204.111.64.149
To: geda-help AT delorie DOT com
Subject: Re: [geda-help] adding missing footprints
Date: Sat, 16 Jan 2016 00:53:46 -0500
X-ASG-Orig-Subj: Re: [geda-help] adding missing footprints
User-Agent: KMail/1.9.10 (enterprise35 0.20100827.1168748)
References: <201601151906 DOT 12486 DOT gheskett AT shentel DOT net> <alpine DOT DEB DOT 2 DOT 00 DOT 1601160426360 DOT 9035 AT igor2priv>
In-Reply-To: <alpine.DEB.2.00.1601160426360.9035@igor2priv>
X-KMail-QuotePrefix: >
MIME-Version: 1.0
Message-Id: <201601160053.46377.gheskett@shentel.net>
X-Barracuda-Connect: smtp2.edbg.cloud.shentel.net[204.111.2.25]
X-Barracuda-Start-Time: 1452923626
X-Barracuda-URL: https://204.111.1.145:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size: 3813
X-Virus-Scanned: by bsmtpd at cloud.shentel.net
X-Barracuda-BRTS-Status: 1
X-Barracuda-BRTS-Evidence: geneslinuxbox.net
X-Barracuda-Spam-Score: 0.50
X-Barracuda-Spam-Status: No, SCORE=0.50 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=6.0 tests=WEIRD_PORT
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.26182
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.50 WEIRD_PORT URI: Uses non-standard port number for HTTP
Reply-To: geda-help AT delorie DOT com

--Boundary-00=_qrdmWLc8lRPmJ/L
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Friday 15 January 2016 22:36:31 gedah AT igor2 DOT repo DOT hu wrote:

> On Fri, 15 Jan 2016, Gene Heskett (gheskett AT shentel DOT net) [via 
geda-help AT delorie DOT com] wrote:
> > On Friday 15 January 2016 07:58:57 gedah AT igor2 DOT repo DOT hu wrote:
> >> On Fri, 15 Jan 2016, Gene Heskett (gheskett AT shentel DOT net) [via
> >
> > geda-help AT delorie DOT com] wrote:
> >>> Greetings, new subscriber;
> >>>
> >>> Using gEDA as in the debian wheezy repo's, although I was able to
> >>> get a newer pcb to build, so it is 1.99z.
> >>>
> >>> I have composed a little 6 part schematic in gschem, but when I do
> >>> the translation gsch2pcb step, 4 of the 6 parts I chose schematic
> >>> symbols for, have no "footprint" and are omitted from the pcb.
> >>> Loaded into pcb, it obviously makes no sense to this beginner.
> >>>
> >>> Can this data be added to the library part description?
> >>>
> >>> If so how?  And if I do it, how can I submit back to gEDA?
> >>
> >> For the PCB workflow, you need to specify the "footprint" attribute
> >> in gschem. It is not possible to ship a generic purpose lib with
> >> footprints already set because most devices are available in
> >> different footprints (e.g. lm358 in SO8 or DIP8, 2n3904 in to92 or
> >> sot23 or even dual NPN in sot23 with 6 pins).
> >>
> >> HTH,
> >>
> >> Igor2
> >
> > Can this be done with a text editor, or must it refer to a known
> > pattern from a library entry somehow?
>
> The normal PCB workflow is that you edit the schematics (the sch file)
> and then use gsch2pcb (or PCB's builtin "import schematics" feature).
>
> The most common way to edit the schematics is using gschem. However,
> the file format is plain text so it is posible to edit it with a text
> editor or using a script.
>
> The text editor way is rather painful as the format is not too
> friendly: you need to find your element (searching for the refdes,
> probably), then add two new lines in the right "attribute list" of it.
>
> I recommend using gschem first, and go with text editing only when you
> are already experienced with the workflow.

I wound up using geany on it anyway, seems this edition of gschem has no 
attribute delete function, so by the time I got the syntax right, I had 
several dups inside each set of {}.  So I had to nuke all the false 
starts.

> > IOW, where does this "footprint" data come from?
>
> The info what footprint you want comes the datasheet of the component
> and your wise choice between the options. The pcb-name of the
> footprint (the string you need to use) comes from checking what pcb or
> gedasymbols.org or other footprint collections have.
>
> > As a for instance the transistor is a 2SK3264 mosfet.
> >
> > The diodes are 1N5822's, and because they are bulky bodied, will
> > likely be mounted standing up, and that may still require pads on
> > >100 mill centers.  That same pattern will serve for mounting
> > everything but the transistor, which of course has 3 legs.
>
> Datasheet says to220; the stadard pcb footpritn lib has multiple to200
> variants, if you need standing try TO220 or TO220W.
>
> Tip: run pcb and press i, then type to220.
>
> > FWIW, I drew up a perfectly servicable pcb pattern in pcb 2 days
> > back, but when I exported it as gcode, what should have been about
> > 100k of gcode, was 1500 bytes and didn't backplot anything but a
> > small blob, so obviously it ignored what I drew and placed on the
> > bottom of the pcb.
>
> Could you attach the pcb file?

Yes. If the server passes it that is.

> Regards,
>
> Igor2


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

--Boundary-00=_qrdmWLc8lRPmJ/L
Content-Type: text/plain;
  charset="iso-8859-15";
  name="board.new.pcb"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="board.new.pcb"

# release: pcb 1.99x
# To read pcb files, the pcb version (or the cvs source date) must be >= the file version
FileVersion[20070407]
PCB["" 600000 500000]
Grid[10000.000000 0 0 0]
Cursor[0 0 0.000000]
PolyArea[200000000.000000]
Thermal[0.500000]
DRC[1000 1000 1000 1000 1500 1000]
Flags("nameonpcb,uniquename,clearnew,snappin")
Groups("1,c:2,s:3:4:5:6:7:8")
Styles["Signal,1000,3600,2000,1000:Power,2500,6000,3500,1000:Fat,4000,6000,3500,1000:Skinny,600,2402,1181,600"]
Element(0x00 "R025" "R1" "unknown" 120 30 0 100 0x00)
(
	Pin(0 50 68 38 "1" 0x101)
	Pin(400 50 68 38 "2" 0x01)
	ElementLine(100 0 300 0 20)
	ElementLine(300 0 300 100 20)
	ElementLine(300 100 100 100 20)
	ElementLine(100 100 100 0 20)
	ElementLine(0 50 100 50 20)
	ElementLine(300 50 400 50 20)
	Mark(0 50)
)
Element(0x00 "TO220W" "Q1" "unknown" 0 10 0 100 0x00)
(
	Pin(100 200 90 60 "1" 0x101)
	Pin(200 200 90 60 "2" 0x01)
	Pin(300 200 90 60 "3" 0x01)

	# Gehaeuse
	ElementLine(  0  80 400  80 20)
	ElementLine(400  80 400 260 20)
	ElementLine(400 260   0 260 20) 
	ElementLine(  0 260   0  80 20) 

	# Kuehlfahne icl. Bohrung
	ElementLine(  0  80 400  80 20)
	ElementLine(400  80 400 140 20)
	ElementLine(400 140   0 140 20)
	ElementLine(  0 140   0  80 20)

	ElementLine(130 80 130 140 10)
	ElementLine(270 80 270 140 10)

	Mark(100 200)
)
Element(0x00 "R025" "Cf" "unknown" 120 30 0 100 0x00)
(
	Pin(0 50 68 38 "1" 0x101)
	Pin(400 50 68 38 "2" 0x01)
	ElementLine(100 0 300 0 20)
	ElementLine(300 0 300 100 20)
	ElementLine(300 100 100 100 20)
	ElementLine(100 100 100 0 20)
	ElementLine(0 50 100 50 20)
	ElementLine(300 50 400 50 20)
	Mark(0 50)
)
Element(0x00 "R025" "D2" "unknown" 120 30 0 100 0x00)
(
	Pin(0 50 68 38 "1" 0x101)
	Pin(400 50 68 38 "2" 0x01)
	ElementLine(100 0 300 0 20)
	ElementLine(300 0 300 100 20)
	ElementLine(300 100 100 100 20)
	ElementLine(100 100 100 0 20)
	ElementLine(0 50 100 50 20)
	ElementLine(300 50 400 50 20)
	Mark(0 50)
)
Element(0x00 "R025" "D1" "unknown" 120 30 0 100 0x00)
(
	Pin(0 50 68 38 "1" 0x101)
	Pin(400 50 68 38 "2" 0x01)
	ElementLine(100 0 300 0 20)
	ElementLine(300 0 300 100 20)
	ElementLine(300 100 100 100 20)
	ElementLine(100 100 100 0 20)
	ElementLine(0 50 100 50 20)
	ElementLine(300 50 400 50 20)
	Mark(0 50)
)
Element(0x00 "R025" "Cp" "unknown" 120 30 0 100 0x00)
(
	Pin(0 50 68 38 "1" 0x101)
	Pin(400 50 68 38 "2" 0x01)
	ElementLine(100 0 300 0 20)
	ElementLine(300 0 300 100 20)
	ElementLine(300 100 100 100 20)
	ElementLine(100 100 100 0 20)
	ElementLine(0 50 100 50 20)
	ElementLine(300 50 400 50 20)
	Mark(0 50)
)
Layer(1 "component")
(
)
Layer(2 "solder")
(
)
Layer(3 "outline")
(
)
Layer(4 "GND")
(
)
Layer(5 "power")
(
)
Layer(6 "signal1")
(
)
Layer(7 "signal2")
(
)
Layer(8 "signal3")
(
)
Layer(9 "silk")
(
)
Layer(10 "silk")
(
)

--Boundary-00=_qrdmWLc8lRPmJ/L--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019