From: Robert von Knobloch <bob@en...> - 2013-06-13 10:16:23
I use Cadsoft Eagle to make PCBs and am starting to add instructions for
assemblers (board stuffers). So far I have used a script using libgerbv
to import the appropriate gerbers, colour them to highlight the
important stuff (e.g. top component placement) and add notes etc. I am
then producing .png files which are printable or can be embedded in
other docs. One stumbling block is that I need to L-R mirror the back
layers (these are documents to be human read). I can't find anything
that will let me mirror a layer, is there a solution?
Bob von Knobloch
From: Robert von Knobloch <bob@en...> - 2013-10-02 14:40:07
On 04/07/13 11:19, Robert von Knobloch wrote:
> Using libgerbv to process gerber files from eagle, I get:
> WARNING **: Most likely found a RS-274D file...trying to open anyways
> and the file is not included in the output png.
> This only occurs with some projects and not others, although all have
> the same file name "fab.gbr".
> Any pointers as to where to look?
Just to let you know that I have found out the reason for this 'failing
to mirror' problem.
[Unmirrored, the object was visible in the output .PNG file, mirorred,
it was not.]
The line width I was using is too small (0.001 mm), increasing the width
to 0.01mm has fixed the problem. I imagine it is due to some rounding
problem in the maths that mirrors the X-axis:
mainProject->file->transform.scaleX = -1.0;
Bob von Knobloch.
Get latest updates about Open Source Projects, Conferences and News.