← Back to team overview

kicad-developers team mailing list archive

Re: GerbView GAL: Ready for alpha testing; need more sample Gerber files

 

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 images (in either canvas)
- Negative items aren't transparent in Cairo canvas - I may need to
implement some kind of image compositing mode in Cairo to fix this.
- OpenGL caching has to be disabled otherwise settings changes take a long
time to update; not sure why yet.
- Selected items disappear unless you are zoomed out (see my other thread
asking about this issue)

git@xxxxxxxxxx:craftyjon/kicad.git branch gerbview_gal

Please let me know if you find bugs, files that don't look like they
should, or have suggestions!

Best,
Jon

On Tue, Mar 7, 2017 at 9:07 AM, Jon Evans <jon@xxxxxxxxxxxxx> wrote:

> 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 reproduce them in Windows. No artifacts in my
> branch on GAL canvas.  This one I want to investigate some more.
>
> As far as I can tell, negative objects work properly in legacy master
> branch (not sure about 4.0), but they don't work properly in my branch
> yet.  For negative images, I guess I will need to create a "backdrop"
> object that the image objects can cut into, since in legacy it just uses
> the wxDC background to cut away from.
>
> Best,
> Jon
>
> On Tue, Mar 7, 2017 at 2:15 AM, Nick Østergaard <oe.nick@xxxxxxxxx> wrote:
>
>> Which things?
>>
>> 2017-03-07 4:40 GMT+01:00 Jon Evans <jon@xxxxxxxxxxxxx>:
>> > 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 properly in 4.x!
>> >
>> > Best,
>> > Jon
>> >
>> > On Mon, Mar 6, 2017 at 10:55 AM, jp charras <jp.charras@xxxxxxxxxx>
>> wrote:
>> >>
>> >> 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:
>> >> > https://github.com/craftyjon/kicad.git branch: gerbview_gal
>> >> >
>> >> > The following things are still missing and will be implemented
>> before I
>> >> > consider it ready to merge:
>> >> >
>> >> > - Selection of items
>> >> > - Highlighting of items (nets, etc)
>> >> > - A few edge case painting branches (need your help here with test
>> >> > material!)
>> >> > - Some improvements to transparency and a new "diff" display mode
>> that
>> >> > I'm working on
>> >> > - DCODE display is currently not done in a good way
>> >> > - A number of code refactorings should happen under the hood before
>> >> > merge.
>> >> >
>> >> > I need help now in looking for rendering issues with certain Gerber
>> >> > files.  So far, the files I've
>> >> > tried work fine.  If you have a Gerber file that throws an ASSERT or
>> >> > displays differently in GAL
>> >> > than it does in legacy, please let me know, and send me the file if
>> >> > possible!
>> >> >
>> >> > Thanks,
>> >> > Jon
>> >>
>> >> Thanks Jon, for this important work.
>> >>
>> >> You have  many test files in <kicad sources>/gerbview/gerber_test_
>> files
>> >>
>> >> Each file is a test for a given Gerber feature.
>> >>
>> >> Currently, apertures from aperture macros are not displayed in GAL
>> mode.
>> >>
>> >> --
>> >> Jean-Pierre CHARRAS
>> >>
>> >> _______________________________________________
>> >> Mailing list: https://launchpad.net/~kicad-developers
>> >> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> >> Unsubscribe : https://launchpad.net/~kicad-developers
>> >> More help   : https://help.launchpad.net/ListHelp
>> >
>> >
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~kicad-developers
>> > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~kicad-developers
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>>
>
>

Follow ups

References