Re: [Kicad-developers] Git noob question

2018-03-10 Thread Kevin Cozens
On 2018-03-03 03:50 PM, Maciej Suminski wrote: If we are speaking about git tips - I think 'git pull --rebase' is even simpler in this case. I have a script I call "gitpull" that does that but it also does a "git stash" before the pull and a "git stash pop" after the pull. -- Cheers! Kevin.

Re: [Kicad-developers] Deletion in plugins causing trouble

2018-03-10 Thread Kliment (Future Bits)
The best solution I've seen so far is the one that OpenCV implemented. It's well described at https://docs.opencv.org/master/da/d49/tutorial_py_bindings_basics.html On 10.03.2018 21:44, Vesa Solonen wrote: > Jon Evans kirjoitti 10/03/18 klo 15:57: > >> I'm interested in helping brainstorm this m

Re: [Kicad-developers] Deletion in plugins causing trouble

2018-03-10 Thread Vesa Solonen
Jon Evans kirjoitti 10/03/18 klo 15:57: > I'm interested in helping brainstorm this more at some point; Python/C++ > interaction is something I'd like to learn more about how to do "right" > both for KiCad and for some personal projects. Depending what you consider "right", it may be well worth t

Re: [Kicad-developers] Deletion in plugins causing trouble

2018-03-10 Thread Jon Evans
I have never worked on Blender but just poked around the source a bit. They write custom modules in CPython rather than using a wrapper like SWIG. To expose internal data, they have a Python wrapper over a C data access API. The C API seems to have portions that are auto-generated by the build, an

Re: [Kicad-developers] Deletion in plugins causing trouble

2018-03-10 Thread miles mccoo
thank you all. Yes, looking at other projects, blender in particular, would be wise. my perception is they have a really nice scripting capability. You can do anything there in scripting including commands that are indistinguishable from the others. I don't suppose anyone knows a blender contribu