X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Sun, 18 Jun 2017 07:59:21 +0200 (CEST) X-X-Sender: igor2 AT igor2priv To: "Erich Heinzle (a1039181 AT gmail DOT com) [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: [geda-user] [pcb-rnd] further XY export origin upgrade (Re: multiple XYRS pick and place export formats now supported by pcb-rnd) 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 all, as Erich wrote a week ago, we've upgraded pcb-rnd's XY exporter to be able to work from format templates, so we can easily add new XY formats. Meanwhile our users also figured the coordinates were off. We've fixed this in pcb-rnd, but I believe it is present in mainline. All XY coordinates are translated using the lower left edge of the drawing area. This is fine for the simplest rectangular boards where the drawing area's width and height match the board's, but tends to break in any other case. It especially breaks in the case that seems to be the most common for non-rectangular boards: large drawing area, outline explicitly drawn in the middle. To fix this, we introduced an optional "pick and place origin mark" in pcb-rnd. The user is free to place this mark anywhere and the XY export code will take that as 0;0. It optionally supports different origin per format or the same origin can be used for all or multiple formats. For more info, please refer to: http://repo.hu/projects/pcb-rnd/tutorials/pnp-origin/ or check out the tutorial videos: https://archive.org/details/pcb-rnd-xy-origin-sq https://archive.org/details/pcb-rnd-xy-origin-round Best regards, Igor2 On Fri, 9 Jun 2017, Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > Following interest by multiple users, the existing XYRS pick and place > machine export code has been extended in pcb-rnd svn head to allow: > > - any one of various formats to be selected during export, and > > - formats to be easily defined by users with simple additions to two > files, a template file and the main exporter > > - export formats including BOM and formats requiring per-pin and/or > per-pad information, even up to details such as pad area for special > finishes > > > The XYRS export code now supports simple xyrs export, gxyrs format, > TM220/TM2440 pick and place machine format, and Macrofab format. > > The new XYRS export code will be included in the next stable release. > > For further details, including details of how custom export formats > can be defined, see: > > http://vk5hse.blogspot.com.au/2017/06/template-defined-multiple-pick-and.html >