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

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

2017-12-07 Thread Maciej Sumiński
Hi Andreas, I am sorry for late response, I must have lost your e-mail. Still, the answers may help you in the future. On 12/05/2017 03:42 PM, Andreas Buhr wrote: > Dear Kicad developers, > > I am browsing the Kicad source code to get an idea how to integrate a > simulation tool. > > I'd like

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

2017-12-06 Thread Jon Evans
Cool! I took a brief look at your code and looks like a good starting point although I have not compiled it. Unfortunately the legacy canvas cannot use the same draw call, as the architecture is completely different. To be honest, I would not worry about supporting the legacy canvas if I were you

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

2017-12-06 Thread Andreas Buhr
Hi Jon, thanks a lot for your help. On 12/05/2017 03:51 PM, Jon Evans wrote: > For (2), the PCB_BASE_FRAME methods are for the legacy canvas, so I > wouldn't worry about implementing your feature there if I were you, > since it will eventually be removed. > The RATSNEST_VIEWITEM is what is used

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

2017-12-05 Thread Jon Evans
Hi Andreas, For (1), I will defer to others who know more about this, I seem to remember a conversation about this a while ago on the mailing list, with the conclusion being that it is indeed hard to be notified when BOARD changes, and fixing this could be a bit of work. For (2), the

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

2017-12-05 Thread Andreas Buhr
Dear Kicad developers, I am browsing the Kicad source code to get an idea how to integrate a simulation tool. I'd like the following: 1. The plugin should be informed whenever something changes. It would be great to get a bounding box of the change. 2. The plugin should be able to draw on the

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

2017-11-30 Thread Julius Schmidt
This may be a bit off-topic but it may be worth noting that this routine (or rather, D_PAD::TransformShapeWithClearanceToPolygon) produces slightly incorrect results for oval pads with positive aClearanceValue. See https://bugs.launchpad.net/kicad/+bug/1665582. On Wed, 29 Nov 2017, Tomasz

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

2017-11-30 Thread Kristoffer Ödmark
This is very interesting indeed! Would you keep us updated of your progress? :D - Kristoffer On 11/29/2017 10:55 PM, Andreas Buhr wrote: 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

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

2017-11-29 Thread Wayne Stambaugh
On 11/29/2017 06:21 PM, Tomasz Wlostowski wrote: > On 30/11/17 00:18, Wayne Stambaugh wrote: >> Hi Andreas, >> >> Per our previous conversation, if you want to write your solver in C++, >> then I would prefer that you do it as part of a solver plugin rather >> than a command event handler in

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

2017-11-29 Thread Tomasz Wlostowski
On 30/11/17 00:18, Wayne Stambaugh wrote: > Hi Andreas, > > Per our previous conversation, if you want to write your solver in C++, > then I would prefer that you do it as part of a solver plugin rather > than a command event handler in Pcbnew. I image there would be other > uses for a solver

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

2017-11-29 Thread Wayne Stambaugh
Hi Andreas, Per our previous conversation, if you want to write your solver in C++, then I would prefer that you do it as part of a solver plugin rather than a command event handler in Pcbnew. I image there would be other uses for a solver plugin object such as a thermal mapping solver which has

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 based on that a 3D prism >>

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

2017-11-29 Thread Tomasz Wlostowski
On 29/11/17 19:09, Andreas Buhr wrote: > 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

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

2017-11-29 Thread Tomasz Wlostowski
On 29/11/17 19:09, Andreas Buhr wrote: > 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

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

2017-11-29 Thread Jon Evans
Hi Andreas, This is a neat idea! It would be great to have a nice open-source tool for this, as all of the useful ones today are very expensive and proprietary. As far as I know (others please correct me if I am wrong), there isn't currently any functionality to generate polygons from the

[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