kicad-developers team mailing list archive
Mailing list archive
Re: Python Scripting Status?
As Dick pointed, at this moment we have pcbnew+python only, with the
1) Linux: full , pcbnew + python + wxpython (python inside pcbnew, and
also a module to provide pcbnew objects access inside python) (I know
there must be some fancy names for this, introspection + pcbnew python
2) Win32: partial, just pcbnew + python and the pcbnew module for python
(you couldn't access wx to build interfaces from python at this moment).
This is what Dick pointed thread is about. :)
3) MacOSX, I've been able to build with the full stack, but yet must find
the way to statically-compile, or build a bundle that we can provide. I
really would like to make an automated system to build that as we do for
all the other systems.
I recommend you to check on this:
Current plans involve:
0) Get the full stuff in win32
1) Make pcbnew python pluggable: a) footprint wizards (done, but must be
enhanced), b) file I/O plugins, to provide a plugin point for python into
the wonderful I/O plugin system that Dick & Wayne built in pcbnew, c)
Action plugins, something like callback triggers inside pcbnew actions,
like a click on a component, right click, opening a menu, so people could
build scripts to really extend everything they need.
1.1) Make python API interface documented, swigging out all the doxygen
information from classes.
2) Make eeschema ready for scripting, get the scripting in...
3) same for other parts, like gerbview...
Ok, I'm going to copy this into the development wiki as it sounds like a
roadmap for me.
2013/2/14 Dick Hollenbeck <dick@xxxxxxxxxxx>
> On 02/13/2013 05:04 AM, Senthil Seveelavanan wrote:
> > Hi all,
> > Firstly I would like to thank all those who have contributed to Kicad.
> Kicad must have
> > taken (and must be) a lot of work!
> > I have seen there have been some movements to provide a Python interface
> to Kicad
> > <
> > - Are there any builds with scripting support?
> linux only.
> windows status can be described as evolving quickly to catch up to linux.
> Start here to learn more, follow the thread.
> It would be boring to have the same conversatin again.
> Only Pcbnew has any python support currently. For eeschema, it might just
> get in the way
> at this point, there is work to do on eeschema before python would make
> > - Or has this been integrated in master?
> > - Or are there any plans?
> > As a reasonably competent python programmer but very limited C/C++
> programmer, a
> > functioning Python interface/plugin-system would allow contributions
> from people like
> > myself. I have various ideas and features for Kicad that I would love to
> try to
> > implement, but would have little chance of me getting anywhere without a
> > interface. I am sure there are lots more people in my position out there
> - this would
> > unlock a whole new wave of developers.
> > Freecad <
> > has made this central to there approach:
> > *"*FreeCAD features a built-in Python interpreter, and an API that
> covers almost any
> > part of the application, the interface, the geometry and the
> representation of this
> > geometry in the 3D viewer. The interpreter can run single commands up to
> > scripts, in fact entire modules can even be programmed completely in
> > Those following Freecad may have also witnessed the rapid addition of
> core features, as
> > well as activity from external hackers bending Freecad to their wishes -
> it all seems
> > pretty fertile.
> > Finally a minor point. I posted on the yahoo user group, about whether
> there was any
> > interest from developers to set up a Flattr <http://flattr.com/>
> account. It would only
> > be pennies (I have some pennies!), but one day perhaps many peoples
> pennies. I wish I
> > could contribute more financially and technically.
> > Thanks and please keep up the good work
> > Senthil
> > _______________________________________________
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help : https://help.launchpad.net/ListHelp
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
Miguel Angel Ajo Pelayo
+34 636 52 25 69