Re: [Kicad-developers] 3D refactor

2016-03-01 Thread Cirilo Bernardo
Hi Simon, For the scaling, some people do like to have independent scaling of XYZ. One example I can think of are users who use a generic box to represent most components and simply change the X,Y,Z scale to give a rough model of each component. Historically the orientation data was entered as

Re: [Kicad-developers] 3D refactor

2016-03-01 Thread Simon Wells
Hey Cirilo, The performance is much better for me now, and yeah touchpad scroll is zoom. Has anyone actually run into a situation where they need to scale differently in each axis? as it seems thats one setting that could be just made into a single scale amount. To avoid any confusion is it

Re: [Kicad-developers] 3D refactor

2016-03-01 Thread Cirilo Bernardo
Thanks Wayne, I had a look at the code and part of the problem seems to be that the wxGLCanvas derived class wasn't calling event.Skip() on the mouse buttons. I just added event.Skip() and the 3D frame now gets the focus upon clicking. I decided against the ENTER_WINDOW event since that could

Re: [Kicad-developers] Pcbnew delete hot key behavior.

2016-03-01 Thread Sergey Borshch
On 01.03.2016 15:23, Wayne Stambaugh wrote: I was under the impression that the user was trying to delete a trace and a nearby footprint was deleted rather than the trace. That shouldn't happen without a disambiguation menu. So you'll get annoying menu every time you want to delete wire under

Re: [Kicad-developers] 3D refactor

2016-03-01 Thread Simon Wells
i could use touchpad scroll (which was zoom i think the performance was so terrible that i am unsure whether it was pinch or scroll) in the preview window But yeah the performance is worse for me than cairo On Wed, Mar 2, 2016 at 1:15 PM, Wayne Stambaugh wrote: > Take a

Re: [Kicad-developers] PATCH: Unify mirror and copy block functions between schematic editor and library aditor

2016-03-01 Thread Wayne Stambaugh
No problem. I hold of until you submit the patch with the rotate issue resolved. Thanks, Wayne On 3/1/2016 11:25 AM, Mikael Arguedas wrote: > Hi, > > Sorry about that, I'll update the patch to comply to the coding policy. > I'm currently investigating the rotate block function. It seems to be

Re: [Kicad-developers] 3D refactor

2016-03-01 Thread Wayne Stambaugh
Take a look at the wxEVT_ENTER_WINDOW event. You can set the canvas focus on this event. This event should fire when the mouse enters the canvas so it should be handled there unless the parent frame window doesn't pass it down to the child canvas window. On 3/1/2016 5:24 PM, Cirilo Bernardo

Re: [Kicad-developers] 3D refactor

2016-03-01 Thread Cirilo Bernardo
Thanks Bernhard, I found on MSWin after adding the SetFocus() as Mario suggested, if I click somewhere else the wxGLCanvas loses focus again and the rotate etc. no longer works until I use [tab] to set focus to the window. Are there any GUI experts out there who have some idea how we can

Re: [Kicad-developers] Legacy Canvas Mousewheel Behavior?

2016-03-01 Thread Bernhard Stegmaier
> On 01 Mar 2016, at 22:20, Wayne Stambaugh wrote: > > Even without touchpad panning enabled, on windows it works exactly how I > would expect it to. I can do both horizontal and vertical 2 finger > scrolling with the touchpad. Good. > When I enable touchpad panning,

Re: [Kicad-developers] Legacy Canvas Mousewheel Behavior?

2016-03-01 Thread Wayne Stambaugh
Even without touchpad panning enabled, on windows it works exactly how I would expect it to. I can do both horizontal and vertical 2 finger scrolling with the touchpad. When I enable touchpad panning, the mouse wheel becomes vertical scroll instead of zoom irregardless of the shift or control

Re: [Kicad-developers] 3D refactor

2016-03-01 Thread Bernhard Stegmaier
I’ll check zoom on OS X hopefully tomorrow. I can tell that rotating the preview does work as expected. And if I remember correctly, I did accidentally zoom once, but I didn’t pay attention how I did it and if it was as it should be. > On 01 Mar 2016, at 21:52, Cirilo Bernardo

Re: [Kicad-developers] [RFC] Intra-sheet links and dangling ERC checks

2016-03-01 Thread Nick Østergaard
2016-02-29 19:48 GMT+01:00 Daniel Silverstone : > On Mon, Feb 29, 2016 at 17:09:53 +, Kaspar Emanuel wrote: >> I read through your blog post, I will build your fork and test it out if I >> get a chance. > > Wonderful. > >> The extra ERC option seems useful indeed. I

Re: [Kicad-developers] 3D refactor

2016-03-01 Thread Cirilo Bernardo
Thanks Mario, I'll test that on MSWin soon; hopefully that works now. - Cirilo On Tue, Mar 1, 2016 at 9:03 PM, Mário Luzeiro wrote: > > I'd also appreciate some help from anyone on the zoom function for the > > 3D preview pane. The zoom works on Linux when using the mouse

Re: [Kicad-developers] Legacy Canvas Mousewheel Behavior?

2016-03-01 Thread Bernhard Stegmaier
Thanks, I’ll check 3D viewer. Do you mean touchpad scrolling with non-touchpad panning mode? Are you sure you are getting mouse wheel events when horizontal scrolling? I don’t see any checks in 3D viewer wrt axis (in non-touchpad mode), so it should treat horizontal/vertical events just the

Re: [Kicad-developers] Legacy Canvas Mousewheel Behavior?

2016-03-01 Thread Wayne Stambaugh
This patch doesn't seem to break anything on windows. However, I noticed that the touchpad scroll behavior is wrong in the 3D viewer. The touchpad horizontal scroll does nothing and the touchpad vertical scroll zooms. We should probably fix this as well. I commit this patch as is r6606.

Re: [Kicad-developers] Legacy Canvas Mousewheel Behavior?

2016-03-01 Thread Bernhard Stegmaier
It was the one you responded with <<< I believe the axis is for mice with multiple wheels where the 0 axis is the scroll wheel typically used for vertical scrolling. ... >>> I did forget to mark it as [PATCH] in the title. Sorry, my fault. For your convenience, again attached to this mail.

Re: [Kicad-developers] About dialog

2016-03-01 Thread Wayne Stambaugh
On 3/1/2016 12:04 PM, Simon Wells wrote: > Ah, thats the issue you had with it The help menu option has been > removed in v2 which i attached a few hours ago. Probably should have > made it all a single patch from the start but i didn't for some > reason. > > I will work on adding the ABI

Re: [Kicad-developers] Legacy Canvas Mousewheel Behavior?

2016-03-01 Thread Wayne Stambaugh
What patch? Did I miss an email in this thread at some point? On 3/1/2016 1:42 PM, Bernhard Stegmaier wrote: > With my patch it should behave the same way on all platforms. > It just does ignore axis then… > > GAL does things already differently and apparently it is fine on > Windows/Linux >

Re: [Kicad-developers] OS X: "Save Block" doesn't work from context menu

2016-03-01 Thread Bernhard Stegmaier
OK, thanks. I’ll go ahead and replace the used wxID_* event IDs with own ones. Maybe also the other buttons will start to be useful on OS X. I have never seen them being anything else than grey… :) Regards, Bernhard > On 01 Mar 2016, at 19:57, jp charras wrote: > > Le

Re: [Kicad-developers] OS X: "Save Block" doesn't work from context menu

2016-03-01 Thread jp charras
Le 01/03/2016 19:48, Bernhard Stegmaier a écrit : > Hi, > > I just had a quick look at that bug report: >https://bugs.launchpad.net/kicad/+bug/1551063 > > > See my comments in there… is there any special reason why wxID_COPY is used? > Any

[Kicad-developers] OS X: "Save Block" doesn't work from context menu

2016-03-01 Thread Bernhard Stegmaier
Hi, I just had a quick look at that bug report: https://bugs.launchpad.net/kicad/+bug/1551063 See my comments in there… is there any special reason why wxID_COPY is used? Any objections about changing the IDs to own ones? There is also some

Re: [Kicad-developers] Legacy Canvas Mousewheel Behavior?

2016-03-01 Thread Bernhard Stegmaier
With my patch it should behave the same way on all platforms. It just does ignore axis then… GAL does things already differently and apparently it is fine on Windows/Linux and Mac with that code. So, just using my patch should be the easiest way to get things consistent again on all platforms

Re: [Kicad-developers] Python functionality on Windows

2016-03-01 Thread Nick Østergaard
Ahh, yeah, sure. I forgot that, I have now installed those now. 2016-03-01 19:04 GMT+01:00 Константин Барановский : > Hi, Nick! > I installed nightly builds from here: > http://downloads.kicad-pcb.org/windows/nightly/ > kicad-product-r6599.8522b0d-i686.exe from

Re: [Kicad-developers] Legacy Canvas Mousewheel Behavior?

2016-03-01 Thread Wayne Stambaugh
On 3/1/2016 1:25 PM, Bernhard Stegmaier wrote: > I did that for a PC mouse with my Mac. > As I said in the beginning… Whoever does this, I get axis 0 when nothing > is pressed, and axis 1 when shift is pressed (using the same mouse, the > same mousewheel, no touchpad). > That’s why it only did

Re: [Kicad-developers] Legacy Canvas Mousewheel Behavior?

2016-03-01 Thread Bernhard Stegmaier
I did that for a PC mouse with my Mac. As I said in the beginning… Whoever does this, I get axis 0 when nothing is pressed, and axis 1 when shift is pressed (using the same mouse, the same mousewheel, no touchpad). That’s why it only did scroll horizontal with the original code (obviously only

Re: [Kicad-developers] Legacy Canvas Mousewheel Behavior?

2016-03-01 Thread Bernhard Stegmaier
> On 01.03.2016, at 19:08, Garth Corral wrote: > > Even on Linux I think this behavior is wrong. I can’t think of any > applications where shift-modified scrollwheel causes vertical scrolling. If > an unmodified scrollwheel does that, and shift-modified commonly does >

Re: [Kicad-developers] Legacy Canvas Mousewheel Behavior?

2016-03-01 Thread Wayne Stambaugh
I believe the axis is for mice with multiple wheels where the 0 axis is the scroll wheel typically used for vertical scrolling. I do not believe the shift or control keys have anything to do with the axis in the wxMouseEvent but I have looked at the wxWidget code to see if that is the case.

Re: [Kicad-developers] Legacy Canvas Mousewheel Behavior?

2016-03-01 Thread Garth Corral
> On Mar 1, 2016, at 9:44 AM, Bernhard Stegmaier > wrote: > > Yes, but documentation doesn’t state anything about changing axis with > shift/ctrl (at least, I didn’t see it). > > If the non-touchpad scroll code shall ignore ignore any additional axis, > then the

Re: [Kicad-developers] Python functionality on Windows

2016-03-01 Thread Константин Барановский
Hi, Nick! I installed nightly builds from here: http://downloads.kicad-pcb.org/windows/nightly/ kicad-product-r6599.8522b0d-i686.exe from 28-Feb-2016 17:26 kicad-product-r6601.bd80063-i686.exe from 29-Feb-2016 17:25 In both is present python2.exe but missing pip (and setuptools). It looks like not

Re: [Kicad-developers] Legacy Canvas Mousewheel Behavior?

2016-03-01 Thread Bernhard Stegmaier
Yes, but documentation doesn’t state anything about changing axis with shift/ctrl (at least, I didn’t see it).If the non-touchpad scroll code shall ignore ignore any additional axis, then the current implementation is wrong (it doesn’t ignore axis).Attached a patch to ignore axis in non-touchpad

Re: [Kicad-developers] [PATCH 3/8] Use PATH to search for shared libraries on Windows

2016-03-01 Thread Simon Richter
Hi, On 01.03.2016 16:58, jp charras wrote: > I do no see what issue patch 1 fixes. That is one half of the things I did -- the Windows API offers InterlockedIncrement and InterlockedDecrement only for unsigned types, while gcc's intrinsic is overloaded, so I had to change that in a common

Re: [Kicad-developers] About dialog

2016-03-01 Thread Simon Wells
Ah, thats the issue you had with it The help menu option has been removed in v2 which i attached a few hours ago. Probably should have made it all a single patch from the start but i didn't for some reason. I will work on adding the ABI information, build time info for wx and the curl info

Re: [Kicad-developers] About dialog

2016-03-01 Thread Wayne Stambaugh
On 3/1/2016 10:49 AM, Simon Wells wrote: > Hey Wayne > > For what reasons are you not thrilled with putting it in the > about_dialog? even on linux/windows i can't say i can remember an > application which has copy version info in the menu structure. > > The main reason i reimplemented it in the

Re: [Kicad-developers] PATCH: Unify mirror and copy block functions between schematic editor and library aditor

2016-03-01 Thread Mikael Arguedas
Hi, Sorry about that, I'll update the patch to comply to the coding policy. I'm currently investigating the rotate block function. It seems to be working only is the selection rectangle lands on a pin location but doesn't work otherwise. I'm trying to figure out why this appears only for the

Re: [Kicad-developers] [PATCH 3/8] Use PATH to search for shared libraries on Windows

2016-03-01 Thread jp charras
Le 26/02/2016 22:18, Simon Richter a écrit : > > This is appropriate for all Windows targets, not just MSYS. > --- > include/kiway.h | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > I committed patches 2 and 3. Thanks. PS: I do no see what issue patch 1 fixes. -- Jean-Pierre

Re: [Kicad-developers] About dialog

2016-03-01 Thread Simon Wells
Hey Wayne For what reasons are you not thrilled with putting it in the about_dialog? even on linux/windows i can't say i can remember an application which has copy version info in the menu structure. The main reason i reimplemented it in the about dialog class was due to wanting/expecting it to

Re: [Kicad-developers] About dialog

2016-03-01 Thread Wayne Stambaugh
Simon, I'm not thrilled with adding the copy version info button to the about box. The information you are copying to the clipboard is incomplete and I don't want users the think this is the version information that we want included in bug reports. I don't understand why you wouldn't have just

Re: [Kicad-developers] PATCH: Unify mirror and copy block functions between schematic editor and library aditor

2016-03-01 Thread Wayne Stambaugh
Mikael, I just tested your patches and they do unify the block mirror behavior but the rotate hot key (R) does not rotate a block in component library editor. I would prefer that you fix that before I commit your patches. Also, you have some copy policy violations (trailing white space, curly

Re: [Kicad-developers] About dialog

2016-03-01 Thread Kaspar Emanuel
Sorry simon, this wasn't specific to your patch, more of a general question. Thanks for the clarification Nick. On 1 March 2016 at 13:52, Nick Østergaard wrote: > It depends on how it is built. Currently the triplet version number is > manually added by packagers. If you build

Re: [Kicad-developers] About dialog

2016-03-01 Thread Nick Østergaard
It depends on how it is built. Currently the triplet version number is manually added by packagers. If you build from the tars you will get no-bzr or something like that. If you build from a bzr repo you will get a bzr revno, if you build from a git repo, you will get a bzr and git hash.

Re: [Kicad-developers] About dialog

2016-03-01 Thread Simon Wells
can you post your version info please On Wed, Mar 2, 2016 at 1:43 AM, Kaspar Emanuel wrote: > Why doesn't the version in the about dialog actually give the versions that > are announced e.g. 4.0.2? > > On 1 March 2016 at 10:19, Simon Wells wrote: >>

Re: [Kicad-developers] About dialog

2016-03-01 Thread Kaspar Emanuel
Why doesn't the version in the about dialog actually give the versions that are announced e.g. 4.0.2? On 1 March 2016 at 10:19, Simon Wells wrote: > Removed the menu option from help in this version of the patch. > > On Tue, Mar 1, 2016 at 7:45 AM, Simon Wells

Re: [Kicad-developers] Pcbnew delete hot key behavior.

2016-03-01 Thread Bernhard Stegmaier
On 2016-02-29 21:29, Wayne Stambaugh wrote: On 2/29/2016 3:25 PM, Tiger12506 wrote: I'm always accidentally deleting components when trying to cleanup a track that i didn't route correctly. I don't know if one is a good idea over the other, but I can certainly understand why someone would

Re: [Kicad-developers] About dialog

2016-03-01 Thread Simon Wells
Removed the menu option from help in this version of the patch. On Tue, Mar 1, 2016 at 7:45 AM, Simon Wells wrote: > Attached is a patch that modifies a few things in the About dialog, a > screenshot with old and new is also attached > > It removes the horizontal rule which is

Re: [Kicad-developers] 3D refactor

2016-03-01 Thread Mário Luzeiro
> I'd also appreciate some help from anyone on the zoom function for the > 3D preview pane. The zoom works on Linux when using the mouse scroll > wheel but in MSWin I can only change the viewing angle, not the zoom. On > OSX I have no idea what the status is for zooming the model. Hi Cirilo,

Re: [Kicad-developers] KiCad GUI Translation HOWTO error (docs.kicad-pcb.org)

2016-03-01 Thread Nick Østergaard
2016-03-01 8:59 GMT+01:00 Marco Ciampa : > On Wed, Feb 24, 2016 at 02:06:47PM +0100, Nick Østergaard wrote: >> Remember that that menu entry is different in the 4.0 series and the >> latest product. legacy versus defualt. >> >> @Marco, I would like to know if the 4.0 branch on

Re: [Kicad-developers] KiCad GUI Translation HOWTO error (docs.kicad-pcb.org)

2016-03-01 Thread Marco Ciampa
On Wed, Feb 24, 2016 at 02:06:47PM +0100, Nick Østergaard wrote: > Remember that that menu entry is different in the 4.0 series and the > latest product. legacy versus defualt. > > @Marco, I would like to know if the 4.0 branch on kicad-i18n is > aligned with he 4.0 series of kicad, I did not