Re: [Kicad-developers] Signal integrity simulation within Kicad

2017-11-29 Thread Andreas Buhr
On 11/29/2017 08:07 PM, Tomasz Wlostowski wrote: > On 29/11/17 19:09, Andreas Buhr wrote: [snip] >> The input which my solver needs would be an array of polygons, >> representing the copper-filled areas on each layer. >> I then want to create a 2D triangle mesh and bas

[Kicad-developers] Signal integrity simulation within Kicad

2017-11-29 Thread Andreas Buhr
Dear Kicad developers, I'm new to Kicad development. Maybe you could give me some starting tips? I am a 5th year PhD student at the university of Münster in Germany, website: https://www.uni-muenster.de/AMM/en/ohlberger/team/andreas_buhr.shtml I am doing mathematical research targeted at

Re: [Kicad-developers] Signal integrity simulation within Kicad

2017-12-05 Thread Andreas Buhr
the entire solver in Python rather than > C++. That may make your life a bit easier. > > Cheers, > > Wayne > > On 11/29/2017 01:09 PM, Andreas Buhr wrote: >> Dear Kicad developers, >> >> I'm new to Kicad development. Maybe you could give me some start

[Kicad-developers] Question about zone to polygon transformation

2017-12-18 Thread Andreas Buhr
Hi all, when converting a zone to a polygon, the function TransformRoundedEndsSegmentToPolygon is called on each segment of the polygon describing the zone. This is done to enlarge the polygon. This leads to a large number of polygons describing the zone. Why isn't the polygon enlarged using the

[Kicad-developers] drawing of polygons with holes

2017-12-19 Thread Andreas Buhr
Hi, both OPENGL_GAL::DrawPolygon( const SHAPE_POLY_SET& aPolySet ) and CAIRO_GAL::DrawPolygon( const SHAPE_POLY_SET& aPolySet ) do not plot the holes in the polygon. Is this intentionally? I do need a plot function which also plots the holes. I could: 1. Add some quick-fix just for me in my

Re: [Kicad-developers] [PATCH] Reduction of Polygon Complexity

2017-12-20 Thread Andreas Buhr
r patch in v6-dev branch. > > Cheers, > Orson > > On 12/11/2017 11:16 AM, Andreas Buhr wrote: >> Dear Kicad developers, >> >> when looking at the polygons generated by converting all copper layers >> to polygons, I found some very small segments. I further investigat

[Kicad-developers] [PATCH] bugfix: OPENGL_GAL::drawPolygon did not respect fill settings

2017-12-08 Thread Andreas Buhr
:00:00 2001 From: Andreas Buhr <andr...@andreasbuhr.de> Date: Fri, 8 Dec 2017 12:44:46 +0100 Subject: [PATCH] bugfix: OPENGL_GAL::drawPolygon did not respect fill settings The OPENGL_GAL::drawPolygon function and all functions using it did not respect the isFillEnabled member set by GAL::

Re: [Kicad-developers] Signal integrity simulation within Kicad

2017-12-08 Thread Andreas Buhr
On 11/29/2017 08:07 PM, Tomasz Wlostowski wrote: > I've made a quick test program that prints most of the board's geometry > as bare polygons. It's here: > > https://github.com/twlostow/kicad-dev/tree/tom-polygon-gen/qa/polygon_generator Hi Tom, thanks a lot for your help extracting polygons

[Kicad-developers] [PATCH] fix double free and memory leak in SHAPE_POLY_SET

2017-12-08 Thread Andreas Buhr
ached triangulations in a unique_ptr. I hope you find this patch useful. Cheers, Andreas >From 947bf92c5a83cbd7202a6ad2220ac8c15aa3f9c8 Mon Sep 17 00:00:00 2001 From: Andreas Buhr <andr...@andreasbuhr.de> Date: Fri, 8 Dec 2017 12:20:02 +0100 Subject: [PATCH] fix double free and

Re: [Kicad-developers] [PATCH] bugfix: OPENGL_GAL::drawPolygon did not respect fill settings

2017-12-11 Thread Andreas Buhr
On 12/11/2017 10:11 AM, Maciej Sumiński wrote: > > There is a minor code formatting violation, that I will fix. I suppose > that unfilled polygons have not been used so far, therefore the issue > could not be observed. If you use them, can you confirm the behavior is > coherent with the cairo

[Kicad-developers] [PATCH] Reduction of Polygon Complexity

2017-12-11 Thread Andreas Buhr
it. Source code is clang-format-ed :-). Cheers, Andreas From f138235f2b768b1749572a4bb7e66f8e8e36a748 Mon Sep 17 00:00:00 2001 From: Andreas Buhr <andr...@andreasbuhr.de> Date: Mon, 11 Dec 2017 11:03:41 +0100 Subject: [PATCH] always align segmentation of circles Rounded end segments were con

Re: [Kicad-developers] Signal integrity simulation within Kicad

2017-12-06 Thread Andreas Buhr
it possible to make the legacy canvas also use the VIEW_ITEM::ViewDraw() function? You can find my source code at https://github.com/andreasbuhr/kicad/commits/add_triangle_meshing thanks and best regards, Andreas > > -Jon > > On Tue, Dec 5, 2017 at 9:42 AM, Andreas Buhr <andr..

[Kicad-developers] [PATCH] bugfix: OPENGL_GAL::DrawPolygon did not close closed polygons

2017-12-10 Thread Andreas Buhr
reas >From 837eecbdae9b778525b12fdde19731456b7ffe26 Mon Sep 17 00:00:00 2001 From: Andreas Buhr <andr...@andreasbuhr.de> Date: Sun, 10 Dec 2017 22:56:06 +0100 Subject: [PATCH] bugfix: OPENGL_GAL::DrawPolygon did not close closed polygons The polygon drawing routing in the OpenGL-GAL did not plot polygons which are

[Kicad-developers] [PATCH] Bugfix: EDA_RECT to BOX2I generated wrong boxes

2017-12-10 Thread Andreas Buhr
ases. Took me about a day to figure this out. Cheers, Andreas >From 90f991e9938e0841908e58d665103e0f41fdbb43 Mon Sep 17 00:00:00 2001 From: Andreas Buhr <andr...@andreasbuhr.de> Date: Sun, 10 Dec 2017 23:04:23 +0100 Subject: [PATCH] Bugfix: EDA_RECT to BOX2I generated wrong boxes The &quo

[Kicad-developers] help with redraw

2017-12-21 Thread Andreas Buhr
Hi, could you maybe help me finding the right redraw or refresh or whatever function? I can draw everything, but I see my polygons only after I switched the canvas once (Cairo->OpenGL or vice versa). So my workflow at the moment is: 1. Open pcbnew, 2. switch the canvas, 3. then work normally. I

Re: [Kicad-developers] help with redraw

2017-12-21 Thread Andreas Buhr
de. > > Cheers, > orson > > 1. > http://ci.kicad-pcb.org/job/kicad-doxygen/ws/Documentation/doxygen/html/classKIGFX_1_1VIEW.html#af8f6652fbafaf7ed08281ee9311e7857 > > > On 12/21/2017 01:02 PM, Andreas Buhr wrote: >> Hi, >> >> could you maybe help me findin