Re: [Kicad-developers] GerbView: ASSERT: wxRound(): argument out of supported range

2018-02-27 Thread Maciej Sumiński
Clemens, Please report problems on the bug tracker. It is much easier for us to coordinate the work this way. There is a high chance that your report on the mailing list will be lost in a few days due to high traffic on the mailing list. Thank you for understanding. Cheers, Orson On 02/27/2018

[Kicad-developers] Oversight in pcbnew footprint properties dialog

2018-02-27 Thread Andy Peters
Nowhere in the pcbnew footprint properties dialog does it say the name (and source library) of the footprint whose properties are being displayed! This is a weird oversight. This little bit of info is useful! For example, my DRC check complained about “footprint C7 has malformed courtyard.”

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

2018-02-27 Thread Andy Peters
On Feb 27, 2018, at 9:09 PM, Andrey Kuznetsov wrote: > > Frankly, everything on MacOS is slow in KiCad from 3D to layout to schematic, > panning and zooming is horrendous. > It's probably been 2 months since I tried anything on MacOS, and there have > been more than a few

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

2018-02-27 Thread Andrey Kuznetsov
Hi Jon, I'll test it tomorrow, kicad is downloading painfully slow. Primarily, last time I tested it, it was because of large resolution display and zooming/panning, dragging. I have not noticed slowdown issues on my macbook pro in other programs. [image: Inline image 1] On Tue, Feb 27, 2018 at

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

2018-02-27 Thread Jon Evans
Is *everything* slow on your Mac, or just some things? I have a Mac that I try to test on when I can, although I do my primary development on a Linux machine. I have tried to make sure that GerbView is as fast on Mac OS as it is on Linux and in my testing, recent versions are basically there. I

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

2018-02-27 Thread Andrey Kuznetsov
Frankly, everything on MacOS is slow in KiCad from 3D to layout to schematic, panning and zooming is horrendous. It's probably been 2 months since I tried anything on MacOS, and there have been more than a few improvements committed, but I'm not holding my breath. Especially since schematic isn't

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

2018-02-27 Thread Jon Evans
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 From 79af644bbfea071528b4d85c4ff48b353019d8b1 Mon Sep 17

[Kicad-developers] [PATCH] Various GerbView fixes

2018-02-27 Thread Jon Evans
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 From 0d0a6cb24f14e3da98d7d941a7a4cf96dcab8e12 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 27

[Kicad-developers] Reference string sort?

2018-02-27 Thread Jeff Young
Is there a compare function somewhere for reference sorting? I’m looking for: R1 R2 R10 instead of standard string-compare which produces: R1 R10 R2 I can write one, but I’d rather not have two. ;) Thanks, Jeff. ___ Mailing list:

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

2018-02-27 Thread Wayne Stambaugh
If it doesn't take too long then I'm fine with merging it for rc2. My preference is to focus on the hard bugs that need to be fixed for rc2 but as this will likely create a UI string change it needs to be done by rc2 or be pushed to v6. Once rc2 is out, I'm announcing a string freeze.

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

2018-02-27 Thread Jeff Young
Hi Clemens, Oops, we missed this one. (It’s already been moved in pcbnew and eeschema.) @Wayne, do you want me to do this in my 6.0 tree or in 5.0 stable? Cheers, Jeff. > On 27 Feb 2018, at 20:33, Clemens Koller wrote: > > Hi! > > UI enhancement: > > GerbView: >

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

2018-02-27 Thread Andy Peters
This is probably way low on the list of priorities … On a 2017 MacBook Pro (Retina, touch bar, 16 GB RAM, with the Radeon 555 graphics), the "Render current view using Raytracing" is ludicrously slow, as in it takes about a minute to render a “simple” design (front panel thing with LEDs and

Re: [Kicad-developers] GerbView: ASSERT: wxRound(): argument out of supported range

2018-02-27 Thread Clemens Koller
On 2018-02-27 23:59, Nick Østergaard wrote: > Also, you need to add version info. latest-git as of today / last hour: commit eb94d2f (with my patch: GerbView: Minor cleanup of Menus + Toolbar for consistency.) on Arch Linux Application: kicad Version: (5.0.0-rc2-dev-30-geb94d2fcd-dirty), debug

[Kicad-developers] GerbView: BUG: Switching to Sketch Mode doesn't get applied when in Accelerated Toolset

2018-02-27 Thread Clemens Koller
The last one for today: GerbView: Load any gerber test file. While in Modern Toolset (Accelerated) I choose Preferences - Options - Sketch modes for Flashed items, Lines, Polygons. - OK. Bug: -> View doesn't get updated to show sketched objects. When I switch then to another Toolset and again

Re: [Kicad-developers] GerbView: ASSERT: wxRound(): argument out of supported range

2018-02-27 Thread Nick Østergaard
Also, you need to add version info. 2018-02-27 23:52 GMT+01:00 Jon Evans : > It's certainly fine, but if you have time to report them on Launchpad too > it makes sure we don't let them slip through the cracks! > > Thanks > > -Jon > > On Tue, Feb 27, 2018 at 5:51 PM, Clemens

Re: [Kicad-developers] GerbView: ASSERT: wxRound(): argument out of supported range

2018-02-27 Thread Jon Evans
It's certainly fine, but if you have time to report them on Launchpad too it makes sure we don't let them slip through the cracks! Thanks -Jon On Tue, Feb 27, 2018 at 5:51 PM, Clemens Koller wrote: > Hi! > > I hope you don't mind feeding you with more bug reports... ;-) > > In

[Kicad-developers] GerbView: ASSERT: wxRound(): argument out of supported range

2018-02-27 Thread Clemens Koller
Hi! I hope you don't mind feeding you with more bug reports... ;-) In GerbView I open two Gerber files from the gerber_test_files: apertures_rotated_and_arcs_in_tracks.gbr and test_polygons_with_arcs.gbr When I choose Miscellaneous -> List DCodes, I run into the following assertion: ASSERT

[Kicad-developers] [PATCH] GerbView: Minor cleanup of Menus + Toolbar for consistency.

2018-02-27 Thread Clemens Koller
replace: File -> File(s) when wxFD_MULTIPLE replace: Load -> Open replace: Erase -> Clear add Excellon / Gerber where it makes sense re-sort File menu Regards, Clemens >From 058dc2b1eea83876f314eaa338c7193af52fdbb5 Mon Sep 17 00:00:00 2001 From: Clemens Koller Date: Tue, 27 Feb

Re: [Kicad-developers] Gerbview: Bug: Artefacts are shown in Legacy Toolset at i.e. 110% zoom level

2018-02-27 Thread Jon Evans
Yes I have seen the weird circles, I think it exists in 4.0.7 as well. I can look in to the menu bars getting messed up. On Tue, Feb 27, 2018 at 4:09 PM, Clemens Koller wrote: > Attached is a small Gerber file + Screenshot. > When displaying it in Legacy Toolset (only), at

Re: [Kicad-developers] GerbView: KiCad-rc2: Layer filenames mixed up in right tab view.

2018-02-27 Thread Clemens Koller
I'm exercising GerberView's Load Gerber File more... The filenames in the Layers tab look consistent now. :-) When loading more Gerbers, additional files are inserted at the last selected Layers position, which makes sense to me. But there is more odd behaviour: When a Layer (i.e. No. 9) is

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

2018-02-27 Thread Clemens Koller
Hi! UI enhancement: GerbView: Preferences - Icon Options - Icons in Menus seem very lonely in that menu position. I suggest moving it right above the Icon scale settings in the Preferences - Options - User Interface section. Regards, Clemens ___

Re: [Kicad-developers] GerbView: KiCad-rc2: Layer filenames mixed up in right tab view.

2018-02-27 Thread jp charras
Le 27/02/2018 à 20:30, Jon Evans a écrit : > Have you tried my patch from last night that re-does the sorting code? Thanks. I just tested it. It looks promising. I'll make more tests tomorrow. I just see a (minor) issue when Dcodes are displayed: When the option "Always Hide All Layers but

Re: [Kicad-developers] GerbView: KiCad-rc2: Layer filenames mixed up in right tab view.

2018-02-27 Thread Jon Evans
Have you tried my patch from last night that re-does the sorting code? On Tue, Feb 27, 2018 at 2:29 PM, jp charras wrote: > Le 27/02/2018 à 20:09, jp charras a écrit : > > Le 27/02/2018 à 15:33, Jon Evans a écrit : > >> This is so strange. I just installed the nightly

Re: [Kicad-developers] GerbView: KiCad-rc2: Layer filenames mixed up in right tab view.

2018-02-27 Thread jp charras
Le 27/02/2018 à 20:09, jp charras a écrit : > Le 27/02/2018 à 15:33, Jon Evans a écrit : >> This is so strange.  I just installed the nightly build on a Windows machine >> just to see if this is >> a Windows specific problem, and I still don't see it. >> >> What I did: >> >> 1) Start GerbView (in

Re: [Kicad-developers] GerbView: KiCad-rc2: Layer filenames mixed up in right tab view.

2018-02-27 Thread Jon Evans
Thanks JP! On Tue, Feb 27, 2018 at 2:09 PM, jp charras wrote: > Le 27/02/2018 à 15:33, Jon Evans a écrit : > > This is so strange. I just installed the nightly build on a Windows > machine just to see if this is > > a Windows specific problem, and I still don't see it. >

Re: [Kicad-developers] GerbView: KiCad-rc2: Layer filenames mixed up in right tab view.

2018-02-27 Thread jp charras
Le 27/02/2018 à 15:33, Jon Evans a écrit : > This is so strange.  I just installed the nightly build on a Windows machine > just to see if this is > a Windows specific problem, and I still don't see it. > > What I did: > > 1) Start GerbView (in OpenGL mode) > 2) Load one file (using File->Open

Re: [Kicad-developers] GerbView: KiCad-rc2: Layer filenames mixed up in right tab view.

2018-02-27 Thread Wayne Stambaugh
I cannot duplicate this either on win 7 pro 64-bit using a 32 and 64 builds of kicad. I tried using the open gerber dialog from both the menu and the toolbar, entries in the mru list, and mixing them up. Everything worked as expected. On 2/27/2018 9:33 AM, Jon Evans wrote: > This is so strange. 

Re: [Kicad-developers] GerbView: KiCad-rc2: Layer filenames mixed up in right tab view.

2018-02-27 Thread Jon Evans
This is so strange. I just installed the nightly build on a Windows machine just to see if this is a Windows specific problem, and I still don't see it. What I did: 1) Start GerbView (in OpenGL mode) 2) Load one file (using File->Open Gerber File...) 3) See that file appears on Layer 1 4) Load

Re: [Kicad-developers] Windows Nightlies Installer - Unable to check components for instal

2018-02-27 Thread Adam Wolf
That's a pretty good idea. Let's plan on doing the same for the macOS release installer, and only do the split installer for nightlies. Adam On Tue, Feb 27, 2018 at 7:49 AM, Wayne Stambaugh wrote: > Nick, > > You are probably correct about noob users. Our release

Re: [Kicad-developers] PPA: KiCad 5.0

2018-02-27 Thread Wayne Stambaugh
On 2/26/2018 11:03 AM, Kevin Cozens wrote: > On 2018-02-26 05:15 AM, Maciej Sumiński wrote: >> Does it mean there are no more documentation updates for 5.0 >> foreseen/accepted? > Have the file format docs been updated to reflect the recent changes? > I do not believe they have been updated but

Re: [Kicad-developers] Windows Nightlies Installer - Unable to check components for instal

2018-02-27 Thread Wayne Stambaugh
Nick, You are probably correct about noob users. Our release installers should include everything. The nightly installers can be built without the libraries to cut down on build time and download bandwidth. Wayne On 2/26/2018 7:09 PM, Nick Østergaard wrote: > I have only been waiting for the

Re: [Kicad-developers] Fabrication Outputs and Plot

2018-02-27 Thread Clemens Koller
Hi! On 2018-02-27 01:35, Andy Peters wrote: >> There is no plan yet but it has been discussed. > The only downside is that we will have to write our own print handling on > windows and I'm guessing macos. > That's one of the reasons no one has signed up yet because it will be a large >

Re: [Kicad-developers] A fix for our TEXT_CTRL_EVAL class.

2018-02-27 Thread jp charras
Le 27/02/2018 à 11:56, Maciej Sumiński a écrit : > Hi Jean-Pierre, > > Thank you for investigating the issue, I think you are correct about the > changes. The attached patches follow Jeff's suggestion about resetting > the previous expression value in NumericEvaluator, but only the modified >

Re: [Kicad-developers] A fix for our TEXT_CTRL_EVAL class.

2018-02-27 Thread Maciej Sumiński
Hi Jean-Pierre, Thank you for investigating the issue, I think you are correct about the changes. The attached patches follow Jeff's suggestion about resetting the previous expression value in NumericEvaluator, but only the modified expression is cleared. I realize that right now there is no

Re: [Kicad-developers] [PATCH] expose BOARD_COMMIT to python

2018-02-27 Thread Maciej Sumiński
Hi Miles, On 02/27/2018 09:20 AM, miles mccoo wrote: > Is the patch required? It appears that I don't need it. > > However... > > I would like to know what formatting errors I made in the patch. Avoid it > next time. - in .cpp files there are two empty lines between consecutive methods

Re: [Kicad-developers] [PATCH] expose BOARD_COMMIT to python

2018-02-27 Thread miles mccoo
Is the patch required? It appears that I don't need it. However... I would like to know what formatting errors I made in the patch. Avoid it next time. For the other folks involved in the earlier mail threads, they seemed to think exposing this is a good idea. - Perhaps they still do and so

Re: [Kicad-developers] GerbView: KiCad-rc2: Layer filenames mixed up in right tab view.

2018-02-27 Thread jp charras
Le 27/02/2018 à 03:17, Jon Evans a écrit : > Clemens, I still can't reproduce this. > Can anyone else reproduce the layer manager in GerbView getting out of sync > with the loaded files? Yes, I can easily reproduce it ( OpenGL engine only ): It happens when files are loaded one after the other: