Mail Archives: geda-user/2017/06/18/01:49:32
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
>
- Raw text -