Re: [Kicad-developers] [PATCH] Zoom to fit on empty canvas

2017-03-17 Thread Maciej Suminski
GAL tools do not perform any unit conversion. They work with the internal units, whatever they are, by calling Get/SetPosition() methods. I doubt there are other hardcoded conversions in the GAL code. The problem with the hardcoded scaling you see in the patch (and as a matter of fact, in the orig

[Kicad-developers] [PATCH] Kill EDA_ITEM::Show() and both users.

2017-03-17 Thread Simon Richter
--- common/base_screen.cpp | 20 -- common/base_struct.cpp | 46 eeschema/class_libentry.h | 8 --- eeschema/class_netlist_object.cpp | 107 eeschema/class_netlist_object.h

Re: [Kicad-developers] [PATCH] Enhanced arc tool in pcbnew

2017-03-17 Thread Maciej Suminski
Hi John, Thank you very much for the patch. The arc drawing tool looks much better now, so I decided to push it. Cheers, Orson On 03/14/2017 04:44 PM, John Beard wrote: > Hi, > > This is something I've bene toying with for a little while: an > enhanced overlay and construction method for arcs i

[Kicad-developers] EDA_ITEM::Show()

2017-03-17 Thread Simon Richter
Hi, I've looked at where EDA_ITEM::Show() is actually used: - NETLIST_OBJECT::Show() uses it from DumpNetList(), which is called if DEBUG_NETLIST is defined in addition to DEBUG, probably to debug the sorting during netlist generation. - PCB_BASE_FRAME and PCB_EDIT_FRAME also have references i

Re: [Kicad-developers] [PATCH] additions/fix to python interface

2017-03-17 Thread Wayne Stambaugh
Hey Miles, Thank you for your interest in contributing to KiCad. We can always use the help with the Python scripting support. Your KiCad python scripting blog looks interesting. If you don't mind, I would like to link to it from the KiCad website. I think it would be a beneficial resource for

Re: [Kicad-developers] Patch to compile _pcbnew.kiface only once

2017-03-17 Thread Wayne Stambaugh
Thank you Nick! On 3/17/2017 10:17 AM, Nick Østergaard wrote: > I have disabled scripting. > > 2017-03-17 15:04 GMT+01:00 Chris Pavlina : >> On Fri, Mar 17, 2017 at 10:01:20AM -0400, Wayne Stambaugh wrote: >>> On 3/17/2017 9:56 AM, Chris Pavlina wrote: On Fri, Mar 17, 2017 at 08:08:28AM -040

Re: [Kicad-developers] Patch to compile _pcbnew.kiface only once

2017-03-17 Thread Nick Østergaard
I have disabled scripting. 2017-03-17 15:04 GMT+01:00 Chris Pavlina : > On Fri, Mar 17, 2017 at 10:01:20AM -0400, Wayne Stambaugh wrote: >> On 3/17/2017 9:56 AM, Chris Pavlina wrote: >> > On Fri, Mar 17, 2017 at 08:08:28AM -0400, Wayne Stambaugh wrote: >> >> Would someone please disable python scr

Re: [Kicad-developers] Patch to compile _pcbnew.kiface only once

2017-03-17 Thread Wayne Stambaugh
On 3/17/2017 9:56 AM, Chris Pavlina wrote: > On Fri, Mar 17, 2017 at 08:08:28AM -0400, Wayne Stambaugh wrote: >> Would someone please disable python scripting on OSX builds so we can >> provide nightly builds until we can find a solution for the python issue. >> >> On 3/16/2017 4:56 PM, Jean-Paul L

Re: [Kicad-developers] Patch to compile _pcbnew.kiface only once

2017-03-17 Thread Chris Pavlina
On Fri, Mar 17, 2017 at 10:01:20AM -0400, Wayne Stambaugh wrote: > On 3/17/2017 9:56 AM, Chris Pavlina wrote: > > On Fri, Mar 17, 2017 at 08:08:28AM -0400, Wayne Stambaugh wrote: > >> Would someone please disable python scripting on OSX builds so we can > >> provide nightly builds until we can find

Re: [Kicad-developers] Patch to compile _pcbnew.kiface only once

2017-03-17 Thread Chris Pavlina
On Fri, Mar 17, 2017 at 09:56:14AM -0400, Chris Pavlina wrote: > On Fri, Mar 17, 2017 at 08:08:28AM -0400, Wayne Stambaugh wrote: > > Would someone please disable python scripting on OSX builds so we can > > provide nightly builds until we can find a solution for the python issue. > > > > On 3/16/

Re: [Kicad-developers] Patch to compile _pcbnew.kiface only once

2017-03-17 Thread Chris Pavlina
On Fri, Mar 17, 2017 at 08:08:28AM -0400, Wayne Stambaugh wrote: > Would someone please disable python scripting on OSX builds so we can > provide nightly builds until we can find a solution for the python issue. > > On 3/16/2017 4:56 PM, Jean-Paul Louis wrote: > > I agree 150% with Bernhard. > >

Re: [Kicad-developers] Patch to compile _pcbnew.kiface only once

2017-03-17 Thread Simon Wells
Well unfortunately we can't do much until python build is fixed. On 18 March 2017 at 01:11, Wayne Stambaugh wrote: > Thanks Adam and Simon for taking care of this! > > On 3/16/2017 6:24 PM, Adam Wolf wrote: >> I have some time to do testing on this now that the stable package is >> finished. >> >

[Kicad-developers] pretty folder content updating only with KiCad reboot

2017-03-17 Thread Fabrizio Tappero
Hi Guys, I apologize if this is something has been discussed already but I could not find any info about it. In my normal workflow, I created lib components and footprints while I work on the schematic and I do not seem to understand (mainly in CVPCB) how to update the content of a .pretty folder

Re: [Kicad-developers] [PATCH] Zoom to fit on empty canvas

2017-03-17 Thread Wayne Stambaugh
On 3/17/2017 3:06 AM, jp charras wrote: > Le 17/03/2017 à 00:32, José Ignacio a écrit : >> eeschema uses mils, which are exactly 25400 nanometers, eeschema can be >> losslessly converted to >> nanometers. Another advantage of using nm in eeschema would be that it would >> be possible to use >> ro

Re: [Kicad-developers] Patch to compile _pcbnew.kiface only once

2017-03-17 Thread Wayne Stambaugh
Thanks Adam and Simon for taking care of this! On 3/16/2017 6:24 PM, Adam Wolf wrote: > I have some time to do testing on this now that the stable package is > finished. > > Simon, please resend if possible and I'll take a look this weekend. > > Adam Wolf > > On Thu, Mar 16, 2017, 5:05 PM Simon

Re: [Kicad-developers] Patch to compile _pcbnew.kiface only once

2017-03-17 Thread Wayne Stambaugh
Would someone please disable python scripting on OSX builds so we can provide nightly builds until we can find a solution for the python issue. On 3/16/2017 4:56 PM, Jean-Paul Louis wrote: > I agree 150% with Bernhard. > > A disabled Python is 150% better than no new build at all. > > I do not u

[Kicad-developers] [PATCH] additions/fix to python interface

2017-03-17 Thread miles mccoo
Hello, This is the first patch I'm submitting to Kicad. Hopefully, I'm following the directions correctly. My interest is in pcbnew's python interface and this patch adds/fixes a couple things - EDA_RECT.Inflate takes a wxCoord as an argument. swig didn't know that wxCoord is just an int.

Re: [Kicad-developers] [PATCH] Zoom to fit on empty canvas

2017-03-17 Thread jp charras
Le 17/03/2017 à 00:32, José Ignacio a écrit : > eeschema uses mils, which are exactly 25400 nanometers, eeschema can be > losslessly converted to > nanometers. Another advantage of using nm in eeschema would be that it would > be possible to use > round metric quantities (right now it's impossibl