Re: [Kicad-developers] Gerber output units?

2015-08-05 Thread Lorenzo Marcantonio
On Thu, 06 Aug 2015 00:39:47 +0200, Cirilo Bernardo wrote: > If anyone has Gerber software which will not display a mm file on > an imperial grid I would question the suitability of that software. Sadly all the 'niche' industries (i.e. all of that ones without millions of licenses around...) tends

Re: [Kicad-developers] Gerber output units?

2015-08-05 Thread Lorenzo Marcantonio
On Wed, 05 Aug 2015 16:56:02 +0200, Wayne Stambaugh wrote: > > There is a technical reason to not do inch plotting. > > I recently explained it. Seems a pretty good reason, actually... sorry I don't ready every thread on the list. > > Therefore, until someone give me a *very good reason* why inch

Re: [Kicad-developers] Eeschema config keyboard mnemonics

2015-08-05 Thread Cirilo Bernardo
mm ... bad (corrupted) IDs which show on Linux but not MSWin? Is there a difference between debug and release build? Perhaps even a compiler or platform dependent initialization (race condition)? - Cirilo On Thu, Aug 6, 2015 at 11:28 AM, Chris Pavlina wrote: > Okay, I definitely have no clue w

Re: [Kicad-developers] Eeschema config keyboard mnemonics

2015-08-05 Thread Chris Pavlina
Okay, I definitely have no clue what's going on. On my system, out of eleven items in the wxFlexGridSizer that holds the first set of options items, exactly one responds properly to its mnemonic: m_spinAutoSaveInterval. I cannot discern any way in which it is different from the rest. Another re

Re: [Kicad-developers] Eeschema config keyboard mnemonics

2015-08-05 Thread Chris Pavlina
Huh, strange. In that case I suppose you can commit this patch, there's nothing wrong with the patch itself. I'll have to look further into why the mnemonics aren't working properly on wxgtk... They do in most other dialogs, so I imagine even if it is a wx bug, there's likely a workaround. On

Re: [Kicad-developers] Eeschema config keyboard mnemonics

2015-08-05 Thread Wayne Stambaugh
They seem to work ok on windows so it must be wxGTK that is the issue. On 8/5/2015 6:09 PM, Chris Pavlina wrote: > Actually it is not a problem with my patch. It may be a wx bug or a > kicad bug - this needs further investigation. Maybe someone is listening > who knows wx better? > > The mnemon

Re: [Kicad-developers] Undo stack limit?

2015-08-05 Thread Wayne Stambaugh
Patch committed in product branch r6055. Thanks. On 8/5/2015 4:09 PM, Chris Pavlina wrote: > Fixed, patch attached. > > On Wed, Aug 05, 2015 at 06:46:43PM +0200, jp charras wrote: >> Le 05/08/2015 16:29, Wayne Stambaugh a écrit : >>> Patch committed in product branch r6053. Thanks. >>> >>> On 8

Re: [Kicad-developers] official web page

2015-08-05 Thread easyw
Hi Marco! thank you for your feedback I had to learn myself too that FreeCAD has a not an easy fuse tool... please have a look at: http://forum.freecadweb.org/viewtopic.php?t=8451#p69489 it explains why sometimes when you fuse objects, the saved model is still multi-part or have geometry probl

Re: [Kicad-developers] official web page

2015-08-05 Thread Carl Poirier
Hi Maurice, I suggest you open up a pull request to include your script in https://github.com/KiCad/kicad-library-utils. Regards, Carl On Wed, Aug 5, 2015 at 3:40 PM, Marcos Chaparro wrote: > Hi Maurice, > I'm not that Marco and I'm not involved in documentation, but this week I > tested your

Re: [Kicad-developers] Eeschema config keyboard mnemonics

2015-08-05 Thread Blair Bonnett
On 6 August 2015 at 10:09, Chris Pavlina wrote: > > What the everliving /hell/ is a wxPizza. I can find very little > documentation on it, other than someone else also complaining that it is > interfering with his events (with no follow-up). Never heard of it before, but it seems to be a generic

Re: [Kicad-developers] Gerber output units?

2015-08-05 Thread Cirilo Bernardo
I think a big problem which is not in our control was already mentioned by Jean-Pierre: some Gerber readers do not accept the longer decimal strings. So even if you could detect and fix intersecting polygons in inch units you also have to ensure that defective readers don't choke. UCAMCO have decla

Re: [Kicad-developers] Eeschema config keyboard mnemonics

2015-08-05 Thread Chris Pavlina
Actually it is not a problem with my patch. It may be a wx bug or a kicad bug - this needs further investigation. Maybe someone is listening who knows wx better? The mnemonics are broken even without my patch. Many items do not respond. After trying to get them working, I have a pile of these i

Re: [Kicad-developers] Eeschema config keyboard mnemonics

2015-08-05 Thread Wayne Stambaugh
I'll hold off committing this until I see your update. On 8/5/2015 5:41 PM, Chris Pavlina wrote: > Indeed, something strange is going on with the mnemonics. It's not > responding to the correct ones in the correct places in this dialog. > Don't commit this. I'll have a closer look tonight. > >

Re: [Kicad-developers] Export to Solidworks

2015-08-05 Thread easyw
Hi Saumell, sorry for lacking in documentation, but the script is just new... I'm going to add it, but just refer to README.txt as a base Kicad 3d rendering is based on VRML engine and exporting VRML 3D artwork of board and models was the way to exchange 3D data with other CADs and the stan

Re: [Kicad-developers] Eeschema config keyboard mnemonics

2015-08-05 Thread Chris Pavlina
Indeed, something strange is going on with the mnemonics. It's not responding to the correct ones in the correct places in this dialog. Don't commit this. I'll have a closer look tonight. On Wed, Aug 05, 2015 at 05:39:34PM -0400, Jon Neal wrote: > I really like the wording changes in the dialogs

Re: [Kicad-developers] Eeschema config keyboard mnemonics

2015-08-05 Thread Jon Neal
I really like the wording changes in the dialogs. They are much more consistent and understandable in my opinion. I am definitely +1 on this. However, I think this needs a bit more work as the mnemonics aren't working on my system. (I have alerted Chris to this on IRC, just want to make sure this

Re: [Kicad-developers] Undo stack limit?

2015-08-05 Thread Chris Pavlina
Fixed, patch attached. On Wed, Aug 05, 2015 at 06:46:43PM +0200, jp charras wrote: > Le 05/08/2015 16:29, Wayne Stambaugh a écrit : > > Patch committed in product branch r6053. Thanks. > > > > On 8/4/2015 5:32 PM, Chris Pavlina wrote: > >> In any case, here's the patch to make undo configurable.

Re: [Kicad-developers] official web page

2015-08-05 Thread Marcos Chaparro
Hi Maurice, I'm not that Marco and I'm not involved in documentation, but this week I tested your script and its really nice. It is key to have a repository of wrl+step models, it was a bit painful to get the step models for an old project but once the setup is ready the workflow is good. I'd sugg

Re: [Kicad-developers] Export to Solidworks

2015-08-05 Thread Jose A. Saumell
Hi Maurice, Cirilo and everyone, Thanks for the advise. I was able to run the demo with FreeCAD script, as was shown in youtube video. What I have now is a complete 3D model of my own board I can view on PCBnew 3D viewer. That looks fine and uses WRL models for each individual component ( Usuall

Re: [Kicad-developers] Segfault when pcbnew starts with an invalid file

2015-08-05 Thread Chris Pavlina
Regardless of Dick's future plans wrt Python, I do not see why it would be desirable to call OnPgmExit inside OnRun instead of inside OnExit. It seems clear to me that this is the correct location for it. wx documentation and wx source appear to confirm this, as I indicated earlier. On Wed, Au

Re: [Kicad-developers] Gerber output units?

2015-08-05 Thread jp charras
Le 05/08/2015 19:41, Jean-Paul Louis a écrit : > I do not understand why 6 significant digit will cause rounding error if > Gerber generation uses inches as unit. > you have a nanometer resolution which provides 6 decimals for millimeter > units. > When you divide this number by 25.4 to convert t

Re: [Kicad-developers] Gerber output units?

2015-08-05 Thread Jean-Paul Louis
I do not understand why 6 significant digit will cause rounding error if Gerber generation uses inches as unit. you have a nanometer resolution which provides 6 decimals for millimeter units. When you divide this number by 25.4 to convert to inches, you might loose a bit of resolution, but you wi

Re: [Kicad-developers] Undo stack limit?

2015-08-05 Thread Chris Pavlina
Okay, thanks for letting me know. I'm working on something else at the moment but will investigate shortly. On Wed, Aug 05, 2015 at 06:46:43PM +0200, jp charras wrote: > Le 05/08/2015 16:29, Wayne Stambaugh a écrit : > > Patch committed in product branch r6053. Thanks. > > > > On 8/4/2015 5:32

Re: [Kicad-developers] Undo stack limit?

2015-08-05 Thread jp charras
Le 05/08/2015 16:29, Wayne Stambaugh a écrit : > Patch committed in product branch r6053. Thanks. > > On 8/4/2015 5:32 PM, Chris Pavlina wrote: >> In any case, here's the patch to make undo configurable. I can edit it >> to change the default if you like. Thanks, Chris. I just tested this feat

[Kicad-developers] Gerber output units?

2015-08-05 Thread R P Herrold
On Wed, 5 Aug 2015, Wayne Stambaugh wrote: > >>> to that? Some (particularly older and non-Asian) board houses still > >>> expect those... Is there any reason they were removed so, an articulated use case for the inch output >> AFAIK there would be no technical reason to not do inch >> plottin

Re: [Kicad-developers] Gerber output units?

2015-08-05 Thread Wayne Stambaugh
On 8/4/2015 3:03 PM, jp charras wrote: > Le 04/08/2015 08:29, Lorenzo Marcantonio a écrit : >> On Tue, 04 Aug 2015 05:38:26 +0200, >> Chris Pavlina wrote: >>> >>> pcbnew used to be able to plot Gerbers in imperial units. What happened >>> to that? Some (particularly older and non-Asian) board ho

Re: [Kicad-developers] PATCH: improve library install script a little

2015-08-05 Thread Wayne Stambaugh
Patch committed in the product branch r6054. Thanks. On 8/4/2015 9:30 PM, Henner Zeller wrote: > Hi, > Some small changes for the library-repos-install.sh script. > > https://github.com/hzeller/kicad/compare/master...hzeller:script-no-grep-dependency.diff > > Suggested commit message: > >

Re: [Kicad-developers] Gerber output units?

2015-08-05 Thread Chris Pavlina
Agreed 90%. I don't have so much of a problem with "fixing" the dimensions as long as they're only fixed in the Gerber export, not in the master - it's just part of exporting, you're rendering things with the features available to you in the destination format. But that's a minor point, obvious

Re: [Kicad-developers] Segfault when pcbnew starts with an invalid file

2015-08-05 Thread Wayne Stambaugh
On 8/5/2015 10:41 AM, Maciej Sumiński wrote: > On 08/05/2015 04:39 PM, Wayne Stambaugh wrote: >> On 8/5/2015 10:16 AM, Maciej Sumiński wrote: >>> Chris has pointed out that it was already discussed [1] and the change >>> was not entirely clear. Apparently it had not been wrapped before >>> revisi

Re: [Kicad-developers] Segfault when pcbnew starts with an invalid file

2015-08-05 Thread Maciej Sumiński
On 08/05/2015 04:39 PM, Wayne Stambaugh wrote: > On 8/5/2015 10:16 AM, Maciej Sumiński wrote: >> Chris has pointed out that it was already discussed [1] and the change >> was not entirely clear. Apparently it had not been wrapped before >> revision 5834, so maybe OnPgmExit() should be still called

Re: [Kicad-developers] Segfault when pcbnew starts with an invalid file

2015-08-05 Thread Wayne Stambaugh
On 8/5/2015 10:16 AM, Maciej Sumiński wrote: > Chris has pointed out that it was already discussed [1] and the change > was not entirely clear. Apparently it had not been wrapped before > revision 5834, so maybe OnPgmExit() should be still called for both > Python and non-Python versions of pcbnew?

Re: [Kicad-developers] Undo stack limit?

2015-08-05 Thread Wayne Stambaugh
Patch committed in product branch r6053. Thanks. On 8/4/2015 5:32 PM, Chris Pavlina wrote: > In any case, here's the patch to make undo configurable. I can edit it > to change the default if you like. > > On Mon, Aug 04, 2015 at 11:53:18AM -0400, Wayne Stambaugh wrote: >> Since it's a refinemen

Re: [Kicad-developers] Segfault when pcbnew starts with an invalid file

2015-08-05 Thread Maciej Sumiński
Chris has pointed out that it was already discussed [1] and the change was not entirely clear. Apparently it had not been wrapped before revision 5834, so maybe OnPgmExit() should be still called for both Python and non-Python versions of pcbnew? Regards, Orson 1. https://www.mail-archive.com/kic

Re: [Kicad-developers] [PATCH] Small string formatting annoyance

2015-08-05 Thread Wayne Stambaugh
Your patch has been committed in the product branch r6052. Thank you for your contribution to KiCad. Cheers, Wayne On 8/1/2015 9:50 PM, Jon Neal wrote: > Hi, > > I noticed a long time ago that in the pcbnew plot dialog there is an > extra space in the text for selecting the gerber version. I'm

Re: [Kicad-developers] [PATCH] Minor fix: FlexGrid dimensions in DIALOG_EESCHEMA_OPTIONS under GTK

2015-08-05 Thread Wayne Stambaugh
Patch committed in product branch r6051. Thanks. On 8/3/2015 10:09 AM, Chris Pavlina wrote: > The FlexGridSizer in DIALOG_EESCHEMA_OPTIONS is not set to have flexible > row heights. This makes it ugly under many GTK themes, which do not > properly support both the dropdown list button and the n

Re: [Kicad-developers] official web page

2015-08-05 Thread Wayne Stambaugh
Maurice, I think Marco is currently on vacation. The new documentation format is asciidoc. You can use git to clone the current documentation at https://github.com/ciampix/kicad-doc. Information on how to use asciidoc can be found at http://www.methods.co.nz/asciidoc/ Wayne On 8/5/2015 8:23 A

Re: [Kicad-developers] official web page

2015-08-05 Thread easyw
@Marco what could I do to prepare a small tutorial for the kicad stepup script? do you accept libre-office file or pdf file? I'm sorry but I'm new to the doc side :) thank you Maurice On 17/07/2015 15.12, Wayne Stambaugh wrote: On 7/17/2015 3:36 AM, Mário Luzeiro wrote: Excellent! Do you (al

Re: [Kicad-developers] proposed changes to VRML and IDF exporters

2015-08-05 Thread Cirilo Bernardo
Hi Maurice, The X,Y,Z offset associated with the individual IDF component models is interpreted as whatever the currently selected pcbnew units are (mm, inch) so the interpretation varies. I need to change the code so that the XYZ offset is always interpreted as inches. The board offset is a dif

[Kicad-developers] Segfault when pcbnew starts with an invalid file

2015-08-05 Thread Maciej Sumiński
Pcbnew without scripting support crashes when run with an invalid file given as a parameter (stack overflow in ~wxSingleInstanceChecker()). There is a fix for that, but wrapped with #ifdef KICAD_SCRIPTING_WXPYTHON .. #endif. I removed the mentioned directives and it seems fine here, but I am not c

Re: [Kicad-developers] proposed changes to VRML and IDF exporters

2015-08-05 Thread easyw
Hi Cirilo, which is the offset problem in IDF exporter? At the moment the only issue I've found in the IDF exported file is the offset of the pcb when you rotate the board and components inside kicad pcbnew before export the IDF file (but I think is a quite improbable case)... thank you Maur

Re: [Kicad-developers] Export to Solidworks

2015-08-05 Thread easyw
Hi Saumell, When you need to give your 3d artwork to MCAD people you have to use step as interchange format. Any other format would not be accepted. Before the kicad stepup script the only way I know to export the pcb with models was to export vrml and then convert it to step; but any model c

[Kicad-developers] proposed changes to VRML and IDF exporters

2015-08-05 Thread Cirilo Bernardo
Hi folks, I'd like an opinion on some changes I'd like to make to the VRML and IDF exporters before the stable release. 1. VRML: In "Export VRML" the choices of unit in the output file are Inch, mm, and meter. In my opinion the 'meter' option is 100% useless and I propose to change this to 100

Re: [Kicad-developers] Undo stack limit?

2015-08-05 Thread tiger12506
+1 - Just a user here, Thank You for this. On 8/4/2015 5:32 PM, Chris Pavlina wrote: In any case, here's the patch to make undo configurable. I can edit it to change the default if you like. ___ Mailing list: https://launchpad.net/~kicad-developer