Re: gEDA-user: gerbv failure to parse sample gerber file (data attached)

2009-12-20 Thread Peter Clifton
On Fri, 2009-12-18 at 14:39 -0500, Julian wrote: And, to answer your question about the GDK rendering, it's probably never going to get better than it is now. Cairo is just a much more powerful library, and doing everything in GDK would require a lot of tedious coding. Once

Re: gEDA-user: gerbv failure to parse sample gerber file (data attached)

2009-12-20 Thread timecop
For example, polygon primitive drawing is not done in GDK. When I tried to look at the code to add it, I noticed polygon WAS handled in one place but not in another. In amacro it prints as circle (and none of amacros handle p2/p3/p4/p5 parameters), but from prim(21? i think, not in front of code

Re: gEDA-user: gerbv failure to parse sample gerber file (data attached)

2009-12-18 Thread Ineiev
On 12/18/09, timecop time...@gmail.com wrote: Gerbv and libgerbv (lastest git version as well) fails to parse the attached files. Try the attachment. gerbv does not recognises D2 as D02, despite the format documents this option. The patch does not fixes all issues with these files, though.

Re: gEDA-user: gerbv failure to parse sample gerber file (data attached)

2009-12-18 Thread timecop
Yep, works to at least display them somewhat. Getting some more warnings, Found AD code with no following 'D' in file In file ,aperture number out of bounds : -1 etc. At least they're visible now. Thanks On Fri, Dec 18, 2009 at 5:34 PM, Ineiev ine...@gmail.com wrote: On 12/18/09, timecop

Re: gEDA-user: gerbv failure to parse sample gerber file (data attached)

2009-12-18 Thread Ineiev
On 12/18/09, timecop time...@gmail.com wrote: At least they're visible now. Does it show them correctly? Here are other things in gnd.gbr making gerbv uneasy: (1) missing M02* in end of file; (2) I think this string is invalid: %AD*% (3) Gerbv seems not to parse the aperture macro

Re: gEDA-user: gerbv failure to parse sample gerber file (data attached)

2009-12-18 Thread Ineiev
On 12/18/09, Ineiev ine...@gmail.com wrote: Try the attachment. gerbv does not recognises D2 as D02, despite the format documents this option. Awfully sorry, typo in one of the modified lines. diff --git a/src/gerber.c b/src/gerber.c index bba2211..d91b6e1 100644 --- a/src/gerber.c +++

Re: gEDA-user: gerbv failure to parse sample gerber file (data attached)

2009-12-18 Thread timecop
Ya, that one was obvious, I hand-copied those anyway and saw the bug. By the way, cairo rendering frontend seems to be more maintained than the GDK one - example, not supporting additional parameters in apertures (i.e. circle inside circle, rectangle inside circle etc). Any plans on making that

Re: gEDA-user: gerbv failure to parse sample gerber file (data attached)

2009-12-18 Thread Julian
I've patched gerbv git with ineiev's patch, so feel free to just use git now. Your files do have 2 invalid lines, like ineiev mentioned. Gerbv gives warning for both of these problems, although it will go ahead and render them anyways. If you ever want the clean up RS274X

Re: gEDA-user: gerbv failure to parse sample gerber file (data attached)

2009-12-18 Thread Ineiev
On 12/18/09, Julian thepurl...@gmail.com wrote: The thermals seem to be rendering fine with git...I'm not sure if ineiev is using an older version? I'm sorry, I just thought Gerbv _might_ have some trouble with it, I was not sure at all. Thank you for exemplary support, Ineiev