Re: [Kicad-developers] Plot to raster image

2020-05-24 Thread Mathias Grimmberger
exactly what it's trying to produce. >> So you can plot to gerbers and then run it through gerbv to get what you >> need right now. >> >> Kliment MGri -- Mathias Grimmberger Eat flaming death, evil Micro$oft mongrels! _

Re: [Kicad-developers] Lib maintainers request help for reviewing installation script changes

2018-03-22 Thread Mathias Grimmberger
ion. I don't want to bump the cmake version too high and drop a > bunch of linux distros that are using an older version of cmake According to cmakes online docs this was added in version 3.7. As a distro data point: OpenSUSE 42.3 (the current version) ships with cmake 3.5.2. MGri -- M

[Kicad-developers] [PATCH] Prevent cursor jumping in pcbnew

2017-10-04 Thread Mathias Grimmberger
Hi all, I noticed an irritating behaviour in pcbnew with the OpenGL GAL. If a dialog is opened while routing a trace (e.g. by hotkey P or Q) and the mouse is moved either to operate the dialog or otherwise then the mouse (pointer) position will be different after closing the dialog. At the

[Kicad-developers] [RFC] More consistent dialog handling

2017-09-11 Thread Mathias Grimmberger
Hi all, you may remember that I complained about the inconsistent behaviour of several dialogs some time ago. Below is what I have come up with to improve that. The main purpose is to improve consistency of dialogs, although it may occasionally simplify the code too. Basically it is a kind of

Re: [Kicad-developers] [PATCH] Add mils as user unit

2017-09-05 Thread Mathias Grimmberger
Hi Wayne, Wayne Stambaugh <stambau...@gmail.com> writes: > On 9/4/2017 4:14 PM, Mathias Grimmberger wrote: [snip] >> Input validation is implemented quite unevenly in any case, some inputs >> do not even allow to input invalid characters (IMHO desirable), others >>

Re: [Kicad-developers] [PATCH] Add mils as user unit

2017-09-04 Thread Mathias Grimmberger
Hi Lorenzo, Lorenzo Marcantonio writes: > On Mon, Sep 04, 2017 at 02:58:45PM +0200, Tomasz Wlostowski wrote: >> below is a patch to add "mils" as a user unit to pcbnew, the gerber >> viewer and the module editor. I left out eeschema because I do not think >> it's useful there,

Re: [Kicad-developers] [PATCH] Select via sizes from design rules

2017-09-04 Thread Mathias Grimmberger
Hi Maciej, Maciej Sumiński writes: > Hi Mathias, > > I apologize for not replying to the width setting dropbox earlier, now > it seems to be too late to change the idea. > > Your patch is a clever solution to the problem, so if there are no more > ideas/patches for

Re: [Kicad-developers] [PATCH] Change track width setting to dropbox

2017-09-04 Thread Mathias Grimmberger
Hi Maciej, Maciej Sumiński <maciej.sumin...@cern.ch> writes: > Hi Mathias, > > On 08/25/2017 09:55 PM, Mathias Grimmberger wrote: >> >> Hi Maciej, >> >> [snip] >> >> Does that sound useable or is it too much "magic"? > > I ag

[Kicad-developers] [PATCH] Add mils as user unit

2017-09-03 Thread Mathias Grimmberger
Hi all, below is a patch to add "mils" as a user unit to pcbnew, the gerber viewer and the module editor. I left out eeschema because I do not think it's useful there, but if required adding it would be easy. I probably missed some places needing modification. In any case somebody with the

[Kicad-developers] [PATCH] Select via sizes from design rules

2017-08-30 Thread Mathias Grimmberger
Hi all, below is a patch to allow selecting one of the vias defined in the design rules in the via properties dialog. It adds a choice control above the via diameter text control to do that. Have fun, MGri diff --git a/pcbnew/dialogs/dialog_track_via_properties.cpp

Re: [Kicad-developers] [PATCH] Change track width setting to dropbox

2017-08-25 Thread Mathias Grimmberger
Hi Wayne, Wayne Stambaugh writes: > On 8/25/2017 9:51 AM, Maciej Sumiński wrote: > > Even better would be to derive an object (EDA_COORDINATE_VALIDATOR?) > from wxTextValidator or one of it's decedents which can be used by any > control that allows text editing. Rather

Re: [Kicad-developers] [PATCH] Change track width setting to dropbox

2017-08-25 Thread Mathias Grimmberger
Hi Maciej, Maciej Sumiński writes: > Hi Matthias, > > Your patch looks good to me. I would love to see the same change done > for via hole and diameter text controls. Let me first describe what I imagined for that, because it may be considered too weird. The problem

Re: [Kicad-developers] [PATCH] Change track width setting to dropbox

2017-08-24 Thread Mathias Grimmberger
Hi all, Mathias Grimmberger <m...@zaphod.sax.de> writes: > > Hi Wayne, > > Wayne Stambaugh <stambau...@gmail.com> writes: > >> Rather than add a wxComboBox to the WX_UNIT_BINDER object, wouldn't be >> be cleaner to change wxTextCtrl* to wxTextEntry* wh

Re: [Kicad-developers] [PATCH] Change track width setting to dropbox

2017-08-23 Thread Mathias Grimmberger
Hi Wayne, Wayne Stambaugh writes: > Rather than add a wxComboBox to the WX_UNIT_BINDER object, wouldn't be > be cleaner to change wxTextCtrl* to wxTextEntry* which wxComboBox and > wxTextCtrl (along with several others) are derived from? Yes, of course, I will change

[Kicad-developers] [PATCH] Change track width setting to dropbox

2017-08-21 Thread Mathias Grimmberger
Hi all, I think it would be nice if the track width setting in the track properties dialog used a combobox, so one could either enter a free value or select one of the values set up in the design rules. The appended patch implements this. Question1: I had to extend WX_UNIT_BINDER to also

[Kicad-developers] Simple build fix for OpenSuSE 42.2

2017-04-29 Thread Mathias Grimmberger
Hi everybody, Currently KiCad doesn't build on OpenSuSE 42.2 because kicad-ogltest fails to compile. The reason seems to be that wxWidgets was built with wxDEBUG_LEVEL 0, and because of that the global variable wxTheAssertHandler doesn't exist. The fix is trivial, the function

Re: [Kicad-developers] [RFC PATCH] Rounded rectangle pads

2016-01-16 Thread Mathias Grimmberger
Hi Clemens, Clemens Koller writes: > Hi, Mathias! > > On 2016-01-14 20:06, Mathias Grimmberger wrote: > > In the current drawing code in some places we build polygons > > approximating the corner quarter circles, e.g. using 8 segments. For a > > very small radius the

Re: [Kicad-developers] [RFC PATCH] Rounded rectangle pads

2016-01-14 Thread Mathias Grimmberger
Hello Clemens. Clemens Koller writes: > Hello, Mathias! > > Thank you for your time spending on this. > > >>> Clemens Koller writes: > >> First feedback: It would be great to make the corner radius variable > >> instead of fixing it to 25% of the shorter pad edge and <=0.25mm.

Re: [Kicad-developers] [RFC PATCH] Rounded rectangle pads

2016-01-12 Thread Mathias Grimmberger
Hello Clemens, Clemens Koller <c...@embeon.de> writes: > Hi, Mathias! > > On 2016-01-12 00:06, Mathias Grimmberger wrote: >> I refreshed a part of my patch for rounded rectangle pads (minus the >> plotting stuff, OpenGL canvas, stuff I probably forgot) so everybody &g

[Kicad-developers] [RFC PATCH] Rounded rectangle pads

2016-01-11 Thread Mathias Grimmberger
Hi all, I refreshed a part of my patch for rounded rectangle pads (minus the plotting stuff, OpenGL canvas, stuff I probably forgot) so everybody interested can have a look and play a bit with it, see below. Now to my question: is there interest in this stuff, is there maybe a different plan in

[Kicad-developers] BUG: Drawing bug in OpenGL and Cairo canvas for oval pads

2015-08-06 Thread Mathias Grimmberger
Hi all, there is a drawing bug when using either the OpenGL or Cairo canvas. I tested today with revision 6059, on Linux with Nvidia graphics driver 346.59. It happens when adding a new track with routing mode Highlight collisions. If the item the new track collides with is an oval pad with

Re: [Kicad-developers] [PATCH] V4 Rectangular pads with rounded corners

2015-04-18 Thread Mathias Grimmberger
Kaspar Emanuel kaspar.eman...@gmail.com writes: Was this applied, will it be in stable? I am interested mainly because of my library that works with .kicad_mod files. If this were planned to go in I would suggest to take the patch for SHAPE_CONVEX first. Without it roundrect pads will behave

Re: [Kicad-developers] openGL mode is dizzy

2015-03-28 Thread Mathias Grimmberger
Hi everybody, Nick Østergaard oe.n...@gmail.com writes: Well Now is the time for those able to replicate, to build a bunch of kicad versions an test. Did that. The behaviour changed with revision 5544, which looks like a big change to the 3D viewer. MGri

[Kicad-developers] [PATCH] SHAPE_CONVEX for the PNS router

2015-03-08 Thread Mathias Grimmberger
Hi everybody, below is a patch to add a SHAPE_CONVEX for the PNS router. The patch was generated against revision 5484. What still needs to be done: - the hull around convex shapes (used for keepout when routing traces) is suboptimal, meaning too large - I'm not sure all the shape collision

[Kicad-developers] [PATCH] V4 Rectangular pads with rounded corners

2015-03-01 Thread Mathias Grimmberger
Hi everybody, below is the fourth version of a patch to add support for rectangular pads with rounded corners to KiCad. The patch was generated against revision 5464. What is new: - export to VRML works, - export to Specctra DSN works, at least Freeroute reads and displays it, - pad to pad

[Kicad-developers] [PATCH] V3 Rectangular pads with rounded corners

2015-02-22 Thread Mathias Grimmberger
Hi everybody, below is the third version of a patch to add support for rectangular pads with rounded corners to KiCad. The patch was generated against revision 5444. What is new: - plotting to HPGL works - plotting to DXF works. Actually that worked from the beginning because DXF is plotted

[Kicad-developers] [PATCH] V2 Rectangular pads with rounded corners

2015-02-17 Thread Mathias Grimmberger
Hi everybody, below is a new version of a patch to add support for rectangular pads with rounded corners to KiCad. The patch was created against revision 5428. What has changed: - optimized Gerber output - plotting to PDF and Postscript should now produce correct results (as far as I can check

[Kicad-developers] [PATCH] Rectangular pads with rounded corners

2015-02-13 Thread Mathias Grimmberger
Hi everbody, below is a patch to add a first version of support for rectangular pads with rounded corners to KiCad. The patch was created against revision 5414. The radius of the rounded corners is fixed at 25% of the shorter pad edge, but not larger than 0.25 mm. I'm not sure whether the