X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Injected-Via-Gmane: http://gmane.org/ To: geda-user AT delorie DOT com From: Kai-Martin Knaak Subject: Re: [geda-user] Footprint Generator Date: Wed, 04 Feb 2015 03:38:58 +0100 Organization: Institut =?UTF-8?B?ZsO8cg==?= Quantenoptik Lines: 54 Message-ID: References: <1345A71A-1F70-4FCD-B738-883EA3C833E5 AT sbcglobal DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Complaints-To: usenet AT ger DOT gmane DOT org X-Gmane-NNTP-Posting-Host: 130.75.103.107 User-Agent: KNode/4.14.1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t142Vttn018569 Reply-To: geda-user AT delorie DOT com Jason White wrote: >> That said, I'd love to define this kind of oblate pins in pcb in a >> proper way. But it is not possible due to format restrictions. > > Kai-Martin, can you elaborate on this? The pin statement of pcb does not know anything about layers. Pin [rX rY Thickness Clearance Mask Drill "Name" "Number" SFlags] Its geometry is the same on every copper layer. Its shape in mask is derived on the fly with the parameter mask_clearance. The default pin shape in pcb is "round" with a hole in the center. This can be changed into "square" with a flag. There is no way to make a pin statement refer to anything else but these two shapes. The syntax of the pad statement defines a pad as the outline of a single straight line segment: Pad [rX1 rY1 rX2 rY2 Thickness Clearance Mask "Name" "Number" SFlags] The first four parameters represent the coordinates of start and end of the segment relative to the origin of the footprint. Pads are restricted to either top or bottom layer. There is no way to put pads on inner layers. There is also no way to make asymmetrical pins or pads. ---<)kaimartin(>--- PS: The naming scheme of the pcb manual irritates me time and again. A "footprint" or an "element" are not quite the same as in common languages. The notion of "solder side", "solder layer" and "component side" coexists with "top side" and "bottom side". -- Kai-Martin Knaak tel: +49-511-762-2895 Universität Hannover, Inst. für Quantenoptik fax: +49-511-762-2211 Welfengarten 1, 30167 Hannover http://www.iqo.uni-hannover.de GPG key: http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get