www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/08/08/09:09:57

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Sat, 8 Aug 2015 15:09:06 +0200 (CEST)
X-X-Sender: igor2 AT igor2priv
To: "Wojciech Kazubski (wk AT ire DOT pw DOT edu DOT pl) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu"
From: gedau AT igor2 DOT repo DOT hu
Subject: Re: [geda-user] yet another footprint generator
In-Reply-To: <sig.665371e6db.4158492.2f5nA1Qjd7@jawor>
Message-ID: <alpine.DEB.2.00.1508081504000.6924@igor2priv>
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1507162039300 DOT 6924 AT igor2priv> <sig DOT 365312e466 DOT 13318802 DOT nfOMCWsRbR AT jawor> <alpine DOT DEB DOT 2 DOT 00 DOT 1507301331540 DOT 6924 AT igor2priv> <sig DOT 665371e6db DOT 4158492 DOT 2f5nA1Qjd7 AT jawor>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi,

On Thu, 30 Jul 2015, Wojciech Kazubski (wk AT ire DOT pw DOT edu DOT pl) [via geda-user AT delorie DOT com] wrote:

>>> Please add more pin numbering options to connector generator. The existing
>>> one can be named "d-sub" style, also "flat cable" and "dip" should be
>>> considered.
>> Two alternate numbering can be achieved by pivoting n and m:
>>
>> connector(2,3) and connector(3,2) will generate the same geometry 90
>> degrees rotated but because of the pivot the numbering scheme (seems)
>> different.
>
> One is a mirror image of the other.  Not a problem if one remembers to place
> the connector on the other side of the board.
> Additionally the "outer" mark is on short side of the connector instead of
> long one.
>
>> The "dip" numbering is not accessible this way, I will invent a parameter
>> for that, thanks for the idea!


I've added a new optional parameter to connector(), called sequence. A 
sequence=pivot swaps the pin numbering scheme between the x and y axis. A 
sequence=zigzag does the "dip" numbering. I didn't call it dip because 
it'd make sense only when there are exactly two rows, while the script 
behaves "as expected" for larger matrix of pins. There are some broken 
corner cases when sequence=zigzag is combined with etrunc=1 and row number 
larger (ny) than 2 - I am not sure whether it is worth the complication to 
fix them.

I've also added silkmark=externaly which rotates the triangle. Another 
option "externalx" is an alias to the original "external". This way you 
can chose to put the triangle along the "long" or "short" side (but the 
terminology is x and y, since long and short doesn't always make sense, 
especially with n*n pins, while x and y always works).

Thanks again for the ideas!

Regards,

Igor2

- Raw text -


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