Re: [Kicad-developers] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-28 Thread jp charras
Le 28/08/2017 à 14:36, Greg Smith a écrit : > Thank you!! > > I have updated LayerViewSet with fixes for those three problems. > https://github.com/HiGregSmith/LayerViewSet > Thank you. Works better now! -- Jean-Pierre CHARRAS ___ Mailing list: ht

Re: [Kicad-developers] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-28 Thread Greg Smith
Thank you!! I have updated LayerViewSet with fixes for those three problems.https://github.com/HiGregSmith/LayerViewSet On Monday, August 28, 2017 6:07 AM, jp charras wrote: Le 27/08/2017 à 23:24, Greg Smith a écrit : > Tested: kicad-r8452.e3c64f1f0-x86_64.exe >

Re: [Kicad-developers] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-28 Thread jp charras
Le 27/08/2017 à 23:24, Greg Smith a écrit : > Tested: kicad-r8452.e3c64f1f0-x86_64.exe > > > Great job! > > LayerViewSet now works without having to manually change the canvas type. > > It has gone back to function

Re: [Kicad-developers] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-27 Thread Greg Smith
Tested: kicad-r8452.e3c64f1f0-x86_64.exe Great job! LayerViewSet now works without having to manually change the canvas type. It has gone back to function similar to 4.0.6 stable, requiring the cursorto enter the GLCanvas window to see the layer updates. In the case of LayerViewSet, pcbnew.Update

Re: [Kicad-developers] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-27 Thread jp charras
Le 27/08/2017 à 08:54, Greg Smith a écrit : > Thank you!! > > Just curious: yesterday's (aug 26) nightly has the number: db3491f3 > > > > Yet the windows nightly has: > > kicad-r8450.db3491f38-x86_64.

Re: [Kicad-developers] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-26 Thread Greg Smith
Thank you!! Just curious: yesterday's (aug 26) nightly has the number: db3491f3 Yet the windows nightly has: kicad-r8450.db3491f38-x86_64.exe Any idea why the windows nightly has the extra "8" after db3491f3? I'll wait for the Aug 27 nightly build and test it out with my python scripts. I appre

Re: [Kicad-developers] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-26 Thread jp charras
Le 23/08/2017 à 16:27, Greg Smith a écrit : > Better formatting: > > How do you get PCB_EDIT_FRAME functions exposed to python? > > I've been looking around the source code to > see how to expose them. Specifically,  > PCB_EDIT_FRAME::syncLayerVisibilities, and other PCB_EDIT_FRAME functions. >

Re: [Kicad-developers] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-23 Thread Greg Smith
Better formatting: How do you get PCB_EDIT_FRAME functions exposed to python? I've been looking around the source code tosee how to expose them. Specifically, PCB_EDIT_FRAME::syncLayerVisibilities, and other PCB_EDIT_FRAME functions. It looks like to me the definitions are in pcbnew/pcbframe.cpp

Re: [Kicad-developers] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-23 Thread Greg Smith
How do you get PCB_EDIT_FRAME functions exposed to python? I've been looking around the source code tosee how to expose them. Specifically, PCB_EDIT_FRAME::syncLayerVisibilities, and other PCB_EDIT_FRAME functions. It looks like to me the definitions are inpcbnew/pcbframe.cppand the declarations

Re: [Kicad-developers] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-22 Thread Greg Smith
That's awesome, jp! I am able to test the nightly version of Windows, so let me know (perhaps via the bug here: https://bugs.launchpad.net/kicad/+bug/1712233) when you'd like me to test. I am currently unable to rebuild KiCad, so I rely on the nightly builds to test. On Tuesday, August 22,

Re: [Kicad-developers] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-22 Thread jp charras
Le 22/08/2017 à 19:33, Greg Smith a écrit : > Continuing to review, it appears I am wrong. PCB_EDIT_FRAME:sLV does in fact > synchronize the > checkboxes, but also calls PCB_DRAW_PANEL_GAL::SLV to do the background > synchronization of the layers. > > Thank you jp, and I apologize for not resear

Re: [Kicad-developers] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-22 Thread Greg Smith
Continuing to review, it appears I am wrong. PCB_EDIT_FRAME:sLV does in fact synchronize the checkboxes, but also calls PCB_DRAW_PANEL_GAL::SLV to do the background synchronization of the layers. Thank you jp, and I apologize for not researching sufficiently your answer before posting. So at thi

Re: [Kicad-developers] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-22 Thread Greg Smith
Thank you jp! This appears to not actually be true and reveals (I think) an inconsistency in the KiCad code. PCB_DRAW_PANEL_GAL::SyncLayersVisibility is VERY different from PCB_EDIT_FRAME::syncLayerVisibilities  PCB_DRAW_PANEL_GAL::SLV modifies the visibility of the layers themselves, taking care

Re: [Kicad-developers] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-22 Thread jp charras
Le 22/08/2017 à 14:42, Greg Smith a écrit : > > How do I call PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python? I can't > find where it exists in > the python hierarchy. > https://bugs.launchpad.net/kicad/+bug/1712233 > > I believe it's the solution to fixing a bug that prevents LayerViewSet

[Kicad-developers] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-22 Thread Greg Smith
How do I call PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python? I can't find where it exists in the python hierarchy. https://bugs.launchpad.net/kicad/+bug/1712233 I believe it's the solution to fixing a bug that prevents LayerViewSet.py from working well.https://github.com/HiGregSmith/Laye