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[5]->transform.scaleX = -1.0; Cheers, Bob von Knobloch. ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ Gerbv-devel mailing list Gerbv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gerbv-devel