[Kicad-developers] [PATCH] Move ZOOM_TOOL to common; add RMB-drag to zoom out

2017-08-30 Thread Jon Evans
Hi all, The attached patch refactors ZOOM_TOOL to common so that it can be used in GerbView, and adds a new behavior where you can use the right mouse button to zoom out when the zoom to selection tool is active. I find this behavior useful when using a 2-button mouse. Best, Jon From

[Kicad-developers] GAL grid style setting inconsistency

2017-08-30 Thread Jon Evans
Hi all, I was looking into why my Gerbview GAL branch was defaulting to line grid when I thought it should be dots grid, and I found an inconsistency in the GAL display options code. In gal_display_options.cpp, the grid options map (gridStyleConfigValues) go in this order: DOTS, LINES,

Re: [Kicad-developers] application for svg to png

2017-08-30 Thread jp charras
Le 30/08/2017 à 20:54, Simon Wells a écrit : > my goal is more to move to using the wxBITMAP_PNG macro which would > use real files on osx and some weird resource hybrid on windows and > xpms on the other platforms that don't have a decent option. hence i > need to convert all the files into png >

[Kicad-developers] [PATCH] Select via sizes from design rules

2017-08-30 Thread Mathias Grimmberger
Hi all, below is a patch to allow selecting one of the vias defined in the design rules in the via properties dialog. It adds a choice control above the via diameter text control to do that. Have fun, MGri diff --git a/pcbnew/dialogs/dialog_track_via_properties.cpp

Re: [Kicad-developers] application for svg to png

2017-08-30 Thread jp charras
Le 30/08/2017 à 19:48, Simon Wells a écrit : > currently cmake is setup to use inkscape and only inkscape for doing > the svg to png conversion, on osx at least this is broken (only > visibly broken when you enable MAINTAIN_PNGS), its also really slow > loading inkscape on osx, > > I was doing

[Kicad-developers] application for svg to png

2017-08-30 Thread Simon Wells
currently cmake is setup to use inkscape and only inkscape for doing the svg to png conversion, on osx at least this is broken (only visibly broken when you enable MAINTAIN_PNGS), its also really slow loading inkscape on osx, I was doing some testing and found that rsvg could easily create

[Kicad-developers] [PATCH] Fix incorrect (missing) initialisation of m_cur_grid in, symbols libraries table dialog box

2017-08-30 Thread Jean-Samuel Reynaud
Hi all, There is an incorrect initialisation of variable m_cur_grid in DIALOG_SYMBOL_LIB_TABLE (file eeschema/dialogs/dialog_sym_lib_table.cpp). This result of a crash on eeschema when: - opening "Symbol Library Table" - click on "Ok" button If before clicking on "Ok" you switch between "Global

Re: [Kicad-developers] New feature: support for Gerber job file.

2017-08-30 Thread jp charras
Le 30/08/2017 à 18:02, Jon Evans a écrit : > Hi JP, > > This is a nice feature and it seems to work well! > I did have to make one change in gerber_jobfile_writer.cpp:154 to get it to > compile on MacOS / LLVM: > adding c_str() > > fputs( header[ii].c_str(), jobFile ); > > Best, > Jon >

Re: [Kicad-developers] New feature: support for Gerber job file.

2017-08-30 Thread Jon Evans
Hi JP, This is a nice feature and it seems to work well! I did have to make one change in gerber_jobfile_writer.cpp:154 to get it to compile on MacOS / LLVM: adding c_str() fputs( header[ii].c_str(), jobFile ); Best, Jon On Wed, Aug 30, 2017 at 11:26 AM, jp charras

Re: [Kicad-developers] New feature: support for Gerber job file.

2017-08-30 Thread jp charras
Le 30/08/2017 à 13:40, Marcos Chaparro a écrit : > For simple jobs I tell the manufacturer layer count and pcb thickness, both > parameters are available > in design rules->layers setup Sure, for simple jobs, this is enough. But in more tricky cases ( impedance controlled boards, or boards

Re: [Kicad-developers] [PATCH] PL Editor UI improvements

2017-08-30 Thread Tomasz Wlostowski
On 30.08.2017 15:08, Wayne Stambaugh wrote: > I prefer "Worksheet Editor" but either one works for me. If no one else > objects, I would go with that. > > On 8/29/2017 3:53 PM, Michael Kavanagh wrote: >> Cheers! Sorry about the policy violations, I'll be more careful next time. >> Which of

Re: [Kicad-developers] [PATCH] PL Editor UI improvements

2017-08-30 Thread Wayne Stambaugh
I prefer "Worksheet Editor" but either one works for me. If no one else objects, I would go with that. On 8/29/2017 3:53 PM, Michael Kavanagh wrote: > Cheers! Sorry about the policy violations, I'll be more careful next time. > Which of "Worksheet Editor"/"Worksheet Layout Editor" would be the >

Re: [Kicad-developers] New feature: support for Gerber job file.

2017-08-30 Thread Marcos Chaparro
For simple jobs I tell the manufacturer layer count and pcb thickness, both parameters are available in design rules->layers setup Silkscreen and soldermask colors are somehow stored for 3Dviewer, maybe they are not stored in a usable way. Cheers Marcos On Wed, Aug 30, 2017 at 8:16 AM, jp

[Kicad-developers] New feature: support for Gerber job file.

2017-08-30 Thread jp charras
Hi all, I just committed a basic support for Gerber job file. The purpose of a Gerber job file is to handle info needed for board manufacturing. Because (unfortunately) Pcbnew has not actual support of the board layers stack, info about layer stack, dielectric and copper thickness, silkscreen