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]" 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: Message-ID: References: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 Precedence: bulk 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