Re: [Kicad-developers] GerbView GAL

2017-09-11 Thread Jon Evans
Hi Michael, I think this lag on exit is due to the time the VIEW takes to deconstruct itself when it has a lot of objects. I can look at some routes for optimizing this (it affects pcbnew as well). Thank you for testing, Jon On Mon, Sep 11, 2017 at 7:23 PM, Michael Geselbracht <

Re: [Kicad-developers] GerbView GAL

2017-09-11 Thread Michael Geselbracht
Hi, the drills are rendered correctly now, thank you. If i recall correctly this (the GAL Gerbview) is another milestone towards v5. A (very) minor issue remains though: Exiting Gerbview takes a few seconds if several layers are loaded. The time seems to related to the complexity of the layers. A

Re: [Kicad-developers] GerbView GAL

2017-09-11 Thread Michael Geselbracht
Ok, first zip then gmail; I don't know if my last post has reached anyone. I tried to send a proper file... The context menu is working now as expected. - Michael On Mon, Sep 11, 2017 at 11:56 PM, Michael Geselbracht < mgeselbrac...@gmail.com> wrote: > Hi, > the build process is working

Re: [Kicad-developers] GerbView GAL

2017-09-11 Thread Jon Evans
Hi Michael, The first issue you raised with the layer manager context menu has now been fixed I think; please check it if you have a chance. Could you send me a drill file (maybe off the list) that does not render for you? I checked a few of my drill files and they do render. Thanks, Jon On

Re: [Kicad-developers] GerbView GAL

2017-09-11 Thread Jon Evans
HI Michael, Thanks for the report, I will look in to this -- I suspect I broke the drill display in a recent commit. But, your attachment did not come through for me, it just shows an empty zip file for me. Thanks, Jon On Mon, Sep 11, 2017 at 5:07 PM, Michael Geselbracht <

Re: [Kicad-developers] GerbView GAL

2017-09-11 Thread Jon Evans
Thanks JP. For #2, it is a matter of the difference between OpenGL and Cairo implementation of transparency and occlusion in our GAL. Cairo also has the issue that each draw item is composited with transparency, even on a single layer. (maybe that is what is wanted with transparent items

Re: [Kicad-developers] GerbView GAL

2017-09-11 Thread jp charras
Le 10/09/2017 à 02:42, Jon Evans a écrit : > Hi all, > > I've finally had time in the last few weeks to make more progress on GerbView > GAL. > > While it's not perfect, I think it is far enough along to propose merging > into the main repo, so > that more people can start testing it and

[Kicad-developers] GerbView GAL

2017-09-09 Thread Jon Evans
Hi all, I've finally had time in the last few weeks to make more progress on GerbView GAL. While it's not perfect, I think it is far enough along to propose merging into the main repo, so that more people can start testing it and hopefully we can fix any bugs and perhaps get more people working

Re: [Kicad-developers] GerbView GAL: Ready for alpha testing; need more sample Gerber files

2017-03-12 Thread Jon Evans
Hi Kevin, thanks for your valuable feedback. Are you using opengl or Cairo canvas, or have you tried both? By default for now, transparency is turned off in GAL. I will switch it to default to on, but you can hit the button on the left toolbar. I will fix the default grid preference to be dots.

Re: [Kicad-developers] GerbView GAL: Ready for alpha testing; need more sample Gerber files

2017-03-12 Thread Kevin Cozens
On 2017-03-11 09:48 PM, Jon Evans wrote: I want to bump this thread and ask developers who use GerbView a lot to take a look at my branch again. Jon, I have not done an extensive testing of the gerbview branch. I have only tested it with the gerbers from a current project of mine. The

Re: [Kicad-developers] GerbView GAL: Ready for alpha testing; need more sample Gerber files

2017-03-11 Thread Jon Evans
Hi all, I want to bump this thread and ask developers who use GerbView a lot to take a look at my branch again. Most things are working now, so I'm almost ready to submit it as patches so that more people can play with it and/or work on it. Things that definitely don't work yet: - Negative

Re: [Kicad-developers] GerbView GAL: Ready for alpha testing; need more sample Gerber files

2017-03-07 Thread Jon Evans
In aperture-circle-flash-with_hole.gbr, one of the holes should be square. They are all drawn as circular in 4.x as well as in master, but now correctly drawn with square hole in my branch. In apertures_rotated_and_arcs_in_tracks.gbr, some weird artifacts show up in 4.x in Linux, but I can't

Re: [Kicad-developers] GerbView GAL: Ready for alpha testing; need more sample Gerber files

2017-03-06 Thread jp charras
Le 07/03/2017 à 04:40, Jon Evans a écrit : > Hi JP, > Thanks for the tip, I hadn't noticed the test files. > > I now get all tests passing except for the ones related to negative images > and objects... there are > still problems there to solve (working on it). In fact, it looks to me like >

Re: [Kicad-developers] GerbView GAL: Ready for alpha testing; need more sample Gerber files

2017-03-06 Thread Nick Østergaard
Which things? 2017-03-07 4:40 GMT+01:00 Jon Evans : > Hi JP, > Thanks for the tip, I hadn't noticed the test files. > > I now get all tests passing except for the ones related to negative images > and objects... there are still problems there to solve (working on it). In >

Re: [Kicad-developers] GerbView GAL: Ready for alpha testing; need more sample Gerber files

2017-03-06 Thread Jon Evans
Hi JP, Thanks for the tip, I hadn't noticed the test files. I now get all tests passing except for the ones related to negative images and objects... there are still problems there to solve (working on it). In fact, it looks to me like we now can draw a few things properly that were not drawn

Re: [Kicad-developers] GerbView GAL: Ready for alpha testing; need more sample Gerber files

2017-03-06 Thread jp charras
Le 04/03/2017 à 20:35, Jon Evans a écrit : > Hi all, > > My implementation of GAL into GerbView is far enough along that I would like > people who use GerbView > a lot (and have some time) to try building it and running it. > > http://i.imgur.com/W6afbRu.jpg > > You can get the code here: >

Re: [Kicad-developers] GerbView GAL: Ready for alpha testing; need more sample Gerber files

2017-03-05 Thread John Beard
On 4 March 2017 21:37:56 GMT+00:00, Jon Evans wrote: >A few more notes: > >- Grid settings hasn't been added in the GUI yet; I'll be taking that >from >pcbnew so user can pick dot/line/small Hi Jon, I haven't had a chance to recompile yet (full disclosure!) but this sounds

Re: [Kicad-developers] GerbView GAL: Ready for alpha testing; need more sample Gerber files

2017-03-04 Thread Jon Evans
A few more notes: - Grid settings hasn't been added in the GUI yet; I'll be taking that from pcbnew so user can pick dot/line/small - Negative items don't work in Cairo canvas yet. On Sat, Mar 4, 2017 at 4:28 PM, Jon Evans wrote: > Dcode should be better now than it was an

Re: [Kicad-developers] GerbView GAL: Ready for alpha testing; need more sample Gerber files

2017-03-04 Thread Jon Evans
Dcode should be better now than it was an hour ago, depending on when you pulled. I'm working on DCode performance at the moment. -Jon On Sat, Mar 4, 2017 at 4:23 PM, Nick Østergaard wrote: > Nice. > > The D-codes do indeed look funky. > > I note that the grid is drawn with

Re: [Kicad-developers] GerbView GAL: Ready for alpha testing; need more sample Gerber files

2017-03-04 Thread Nick Østergaard
Nice. The D-codes do indeed look funky. I note that the grid is drawn with lines, not with dots and it is in legacy. (In pcbnew we can choose either) Your branch seems to be much slower than 4.0.5, when zooming i and out and having the dcodes enabled. 2017-03-04 20:35 GMT+01:00 Jon Evans

[Kicad-developers] GerbView GAL: Ready for alpha testing; need more sample Gerber files

2017-03-04 Thread Jon Evans
Hi all, My implementation of GAL into GerbView is far enough along that I would like people who use GerbView a lot (and have some time) to try building it and running it. http://i.imgur.com/W6afbRu.jpg You can get the code here: https://github.com/craftyjon/kicad.git branch: gerbview_gal The

Re: [Kicad-developers] GerbView GAL: issue with draw order and negative items

2017-02-27 Thread Jon Evans
Hi Tom, Thanks very much for the suggestions, I will look in to doing it this way. Hi Chris, as you might tell from Tom's response, the existing tree does not keep track of insertion order and draw priority, but I will take the approach of adding that feature. I have a sample of a board with

Re: [Kicad-developers] GerbView GAL: issue with draw order and negative items

2017-02-27 Thread Tomasz Wlostowski
On 26.02.2017 20:49, Jon Evans wrote: > Hi all, > > I've run into a problem while porting GerbView to GAL that doesn't have > (...) > Another would be to implement some sort of render order sorting inside > VIEW, but I haven't looked in to that much yet, so I'm not sure how > complicated it

[Kicad-developers] GerbView GAL: issue with draw order and negative items

2017-02-26 Thread Jon Evans
Hi all, I've run into a problem while porting GerbView to GAL that doesn't have an obvious best solution to me, so I thought I would ask those with more knowledge of the GAL for ideas. Gerber files rely on a fixed draw order. This becomes important when some draw objects in the file are

Re: [Kicad-developers] GerbView GAL port

2017-02-15 Thread jp charras
Le 15/02/2017 à 15:54, Jon Evans a écrit : > Hi all, thanks for the feedback. > > Jon -- I will reach out to Mark and see what his plans are/were. Remember many of his code is already in Kicad. > > JP -- Thanks for the explanation > > Tom -- Thanks for the explanation. I agree it's a good

Re: [Kicad-developers] GerbView GAL port

2017-02-15 Thread Jon Evans
Hi all, thanks for the feedback. Jon -- I will reach out to Mark and see what his plans are/were. JP -- Thanks for the explanation Tom -- Thanks for the explanation. I agree it's a good idea to look into Cairo for printing. Yes, I should be able to fix the issue with PAINTER. -Jon On Wed,

Re: [Kicad-developers] GerbView GAL port

2017-02-15 Thread Tomasz Wlostowski
On 14.02.2017 19:38, Jon Evans wrote: > Hi all, > > I want to get familiar with the GAL codebase, and it occurred to me that > it might be fun to play with porting GerbView to GAL. I know it is on > the 6.x roadmap, but it seemed to me that it would be mostly not > dependent on any other changes

Re: [Kicad-developers] GerbView GAL port

2017-02-15 Thread jp charras
Le 14/02/2017 à 19:38, Jon Evans a écrit : > Hi all, > > I want to get familiar with the GAL codebase, and it occurred to me that it > might be fun to play > with porting GerbView to GAL. I know it is on the 6.x roadmap, but it seemed > to me that it would be > mostly not dependent on any

Re: [Kicad-developers] GerbView GAL port

2017-02-14 Thread Jon Neal
This doesn't answer any of your questions, but Mark Roszko did some refactoring of gerbview that had some really nice changes. I believe he started the refactoring with the intention of switching gerbview over to GAL. https://github.com/marekr/kicad-devel Jon Neal On Tue, Feb 14, 2017 at 1:38

[Kicad-developers] GerbView GAL port

2017-02-14 Thread Jon Evans
Hi all, I want to get familiar with the GAL codebase, and it occurred to me that it might be fun to play with porting GerbView to GAL. I know it is on the 6.x roadmap, but it seemed to me that it would be mostly not dependent on any other changes that I see on the roadmap or have seen people