Re: [Kicad-developers] MacOS + OpenMP

2018-02-28 Thread Bernhard Stegmaier
I had a quick look where OpenMP is used. I found it somewhere in the connectivity/ratsnest code. I don’t know of any complaints in that area and even on my old HW I had never a bad experience. And then, 3D-Viewer. So, in my opinion it is basically only about 3D-Viewer… I don’t know if user exp

Re: [Kicad-developers] [PATCH] pcbnew alignment bugfixes

2018-02-28 Thread Seth Hillbrand
Oops! Noticed that 1+2 should have been in the same patch (fixing my own bug there) I've squashed them down to three patches. -S 2018-02-28 16:52 GMT-08:00 Seth Hillbrand : > ​Attached are 4 patches for various alignment issues. > > The first fixes https://bugs.launchpad.net/kicad/+bug/1751352

[Kicad-developers] [PATCH] pcbnew alignment bugfixes

2018-02-28 Thread Seth Hillbrand
​Attached are 4 patches for various alignment issues. The first fixes https://bugs.launchpad.net/kicad/+bug/1751352 where pads are moved despite being locked. The second is a bugfix where aligning in the X direction moved things in the Y direction. The third is a bugfix for when you select both

Re: [Kicad-developers] MacOS + OpenMP

2018-02-28 Thread Jeff Young
Or rip it out and use STL? > On 28 Feb 2018, at 23:38, Jon Evans wrote: > > Hi all, > > Does anyone have a working build setup for getting OpenMP-enabled KiCad out > of MacOS? > If so, please share how -- I tried for a bit but couldn't get it going (I'm > not super familiar with the MacOS too

[Kicad-developers] MacOS + OpenMP

2018-02-28 Thread Jon Evans
Hi all, Does anyone have a working build setup for getting OpenMP-enabled KiCad out of MacOS? If so, please share how -- I tried for a bit but couldn't get it going (I'm not super familiar with the MacOS toolchain yet). We should make sure that the 5.0 release is built with OpenMP, otherwise our

Re: [Kicad-developers] '/' hotkey

2018-02-28 Thread Wayne Stambaugh
On 2/28/2018 2:31 PM, jp charras wrote: > Le 28/02/2018 à 17:45, Wayne Stambaugh a écrit : >> In the process of attempting to fix this bug[1], I ran into an issue >> with the '/' hotkey for all main frames. For some reason, the hotkey >> help dialog is being displayed for both '/' and '?' keys whi

Re: [Kicad-developers] '/' hotkey

2018-02-28 Thread jp charras
Le 28/02/2018 à 17:45, Wayne Stambaugh a écrit : > In the process of attempting to fix this bug[1], I ran into an issue > with the '/' hotkey for all main frames. For some reason, the hotkey > help dialog is being displayed for both '/' and '?' keys which broke the > track posture switching in pcb

Re: [Kicad-developers] GerbView: Move Icon Options - Icons in Menus to Options - User Interface?

2018-02-28 Thread Wayne Stambaugh
No problem. This makes my life easier. On 2/28/2018 12:09 PM, Jeff Young wrote: > As long as you don’t feel strongly I’m just going to do it in 6.0. This > one’s really pushing the bounds of what should be done after an RC. ;) > >> On 28 Feb 2018, at 00:17, Wayne Stambaugh wrote: >> >> If it

Re: [Kicad-developers] GerbView: Move Icon Options - Icons in Menus to Options - User Interface?

2018-02-28 Thread Michael Kavanagh
FYI, Icon Options also remains in the KiCad manager, Page Layout Editor and Eeschema menu bars as well as Gerbview's. Although KiCad manager and Page Layout Editor don't have preferences dialogs to put it in. Its missing from the symbol editor "General Options" dialog and footprint editor "General

Re: [Kicad-developers] GerbView: Move Icon Options - Icons in Menus to Options - User Interface?

2018-02-28 Thread Jeff Young
As long as you don’t feel strongly I’m just going to do it in 6.0. This one’s really pushing the bounds of what should be done after an RC. ;) > On 28 Feb 2018, at 00:17, Wayne Stambaugh wrote: > > If it doesn't take too long then I'm fine with merging it for rc2. My > preference is to focus

Re: [Kicad-developers] '/' hotkey

2018-02-28 Thread Jeff Young
Hi Wayne, wxTextCtrl doesn’t properly send a wxEVT_TEXT_ENTER when it’s multi-line. The standard work-around is to add a character hook to get it. It seems like those would all be in dialogs, though, and shouldn’t be affecting the main frame. Hmmm… I see there’s also an EDA_DRAW_FRAME char hook.

[Kicad-developers] '/' hotkey

2018-02-28 Thread Wayne Stambaugh
In the process of attempting to fix this bug[1], I ran into an issue with the '/' hotkey for all main frames. For some reason, the hotkey help dialog is being displayed for both '/' and '?' keys which broke the track posture switching in pcbnew. This bug only seems to affect windows. The attache

[Kicad-developers] Deletion in plugins causing trouble

2018-02-28 Thread miles mccoo
So I'm plugin-ifying my python scripts (the mechanism is awesome). One of the plugins deletes some stuff and that is causing trouble. I'm not sure how to fix the root cause. Hence this mail. The plugin just deletes Edge.Cuts[1]: for d in board.GetDrawings(): if (d.GetLayerName() =

Re: [Kicad-developers] [PATCH] Avoid shadowed variable

2018-02-28 Thread Maciej Sumiński
Thank you Simon, I have just merged your patch. Cheers, Orson On 02/28/2018 09:50 AM, Simon Richter wrote: > --- > pcbnew/dialogs/dialog_plot.cpp | 1 - > 1 file changed, 1 deletion(-) > > > > ___ > Mailing list: https://launchpad.net/~kicad-develop

Re: [Kicad-developers] 3D Viewer "Render current view using Raytracing" is ludicrously slow

2018-02-28 Thread Mário Luzeiro
Without OpenMP and with Retina (2x the resolution, means 4x the image size) This means that for this setup, an i7 with 8 logic cpu, it will result on a ~32x slower renderings. For comparison with a regular setup with a i7 without Retina, if user complained about 60 minutes render, it could resul

Re: [Kicad-developers] 3D Viewer "Render current view using Raytracing" is ludicrously slow

2018-02-28 Thread Jeff Young
I can confirm. I tried to get a different compiler up and running for it, but in the end just recoded the progress dialog using STL. > On 28 Feb 2018, at 11:38, Bernhard Stegmaier wrote: > > To best of my knowledge and last investigations OpenMP is (unfortunately) not > available with the st

Re: [Kicad-developers] 3D Viewer "Render current view using Raytracing" is ludicrously slow

2018-02-28 Thread Bernhard Stegmaier
To best of my knowledge and last investigations OpenMP is (unfortunately) not available with the stock Xcode clang. Regards, Bernhard > On 28. Feb 2018, at 12:21, Nick Østergaard wrote: > > OpenMP does not seem to be enabled on the current macos nightlies. I am not > sure what to install to

Re: [Kicad-developers] Improving Eagle Import netlist matching

2018-02-28 Thread Russell Oliver
Hi Orson, All I can say is thanks for taking the time to polish this further. Just went through the matching code and am now kicking myself that i didn't think of that approach before. Good pick up on the missing junctions. Kind Regards Russell On 28 Feb 2018 22:14, "Maciej Sumiński" wrote:

Re: [Kicad-developers] Reference string sort?

2018-02-28 Thread Jeff Young
And, while looking for a good place to move the Fields Editor Table Model one to, I discovered RefDesStringCompare(...) in common/strings.cpp Cheers, Jeff. > On 28 Feb 2018, at 10:40, Jeff Young wrote: > > Perfect. Thanks, Simon. > > > >> On 28 Feb 2018, at 07:09, Simon Richter wrote:

Re: [Kicad-developers] 3D Viewer "Render current view using Raytracing" is ludicrously slow

2018-02-28 Thread Nick Østergaard
OpenMP does not seem to be enabled on the current macos nightlies. I am not sure what to install to get that working. Also, it would be nice if it could get into the version info. 2018-02-28 11:20 GMT+01:00 Mário Luzeiro : > Hi Andy, > > This most probably sounds to me as "it is working as expect

Re: [Kicad-developers] [PATCH] Various GerbView fixes

2018-02-28 Thread Maciej Sumiński
For the record: merged. On 02/28/2018 03:33 AM, Jon Evans wrote: > Hi all, > > Attached are three patches to fix a few issues noted by JP and Clemens. > These need to be applied after my patches from yesterday which are not yet > merged. > > Best, > Jon > > > > ___

Re: [Kicad-developers] [PATCH] GerbView performance: in-place layer reordering for X2 sorting

2018-02-28 Thread Maciej Sumiński
For the record: merged. On 02/27/2018 03:15 AM, Jon Evans wrote: > Hi all, > > A few more GerbView patches for tonight. > > The larger one should get some testing if possible before merging -- last > time I tried something like this, JP said it killed performance on Windows. > On my Linux machin

Re: [Kicad-developers] Improving Eagle Import netlist matching

2018-02-28 Thread Maciej Sumiński
I think I have finally reached the point where I am completely satisfied with the Eagle import results. I do not see any changes when invoking 'Update PCB from schematics'. No connectivity issues observed and pretty local net labels are used whenever possible. Thank you Russell, your patch to use

Re: [Kicad-developers] 3D Viewer "Render current view using Raytracing" is ludicrously slow

2018-02-28 Thread Jeff Young
The Retina display is basically two things: 2x the resolution, and smart anti-aliasing that takes advantage of knowing what order the RGB sub-pixels are in. (For instance, if you want to move a white dot 1/3 of a pixel to the left, you can do that by turning on the B sub-pixel of the previous p

Re: [Kicad-developers] Reference string sort?

2018-02-28 Thread Jeff Young
Perfect. Thanks, Simon. > On 28 Feb 2018, at 07:09, Simon Richter wrote: > > Hi, > > On 28.02.2018 02:07, Jeff Young wrote: > >> Is there a compare function somewhere for reference sorting? > > There are several. I've written one for the pin table, found in > eeschema/pin_number.{cpp,h}, a

Re: [Kicad-developers] 3D Viewer "Render current view using Raytracing" is ludicrously slow

2018-02-28 Thread Mário Luzeiro
Hi Andy, This most probably sounds to me as "it is working as expected". Raytracing rendering method is consider to be an "offline rendering" (means, it will take a lot and you can go offline for a coffee and back after a while) However for simple scenes I am not expecting such a long time. Depe

Re: [Kicad-developers] [PATCH] GerbView: More accurate selection of arc shapes

2018-02-28 Thread jp charras
Le 28/02/2018 à 04:17, Jon Evans a écrit : > This patch implements accurate hit testing for arc shapes.  Previously, they > were just checked > against their bounding box, which creates annoying rates of false positives > in some scenarios (with > round board outlines, for example) > > -Jon Tha

[Kicad-developers] [PATCH] Avoid shadowed variable

2018-02-28 Thread Simon Richter
--- pcbnew/dialogs/dialog_plot.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/pcbnew/dialogs/dialog_plot.cpp b/pcbnew/dialogs/dialog_plot.cpp index e760c0443..18f533316 100644 --- a/pcbnew/dialogs/dialog_plot.cpp +++ b/pcbnew/dialogs/dialog_plot.cpp @@ -868,7 +868,6 @@ void DIALOG_PLOT::Pl