← Back to team overview

kicad-developers team mailing list archive

Re: Packaging the python footprint wizards for the release

 

Hi,
there is also a patch for wizard plugins to make the QFN/QFP with exposed pad and paste pads...
http://www.mail-archive.com/kicad-developers%40lists.launchpad.net/msg15109.html

at the moment has not been committed...


On 29/09/2015 17.59, Bernhard Stegmaier wrote:
Thanks a lot, found it now!
And I don’t believe it… it even seems to work without any problems (well, just created the default QFP and changed pads from oval to rectangular…).

I’ll post a patch for OS X in the next couple of days to make paths consistently pointing to *only* the one “scripting/plugins” inside the application bundle where the footprint plugins are delivered right now.


Regards,
Bernhard

On 29 Sep 2015, at 17:45, Nick Østergaard <oe.nick@xxxxxxxxx> wrote:

It is not well documented, I guess partly becaue the plugins was never
found on a default installation.

But see http://docs.kicad-pcb.org/en/images/Modedit_top_toolbar.png
this is in the footprint editor.

It is the 7th icon from the left. The chip package with a small paper
on it. Although the icon has changed to a star and a some tools.

2015-09-29 17:40 GMT+02:00 Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx>:

On 29 Sep 2015, at 10:49, Brian Sidebotham <brian.sidebotham@xxxxxxxxx> wrote:

See the comments about stdout not being open for python:
https://github.com/KiCad/kicad-source-mirror/blob/master/scripting/kicadplugins.i#L43

Just open a new file to direct stdout to temporarily while you're
debugging/testing:
http://stackoverflow.com/questions/4675728/redirect-stdout-to-a-file-in-python#answer-4675744

Best Regards,

Brian.

Thanks for the tip… worked.

I need some help, though:
I changed the paths and I verified that all of the python wizards/plugins are loaded fine.
All paths are correct, python seems to load the plugins via __import__ just fine (there seems to be a valid object when doing a print on it), no other errors.
But, I just don’t find those plugins anywhere in pcbnew… :(

Maybe I am just blind, but where are they supposed to be?
If they should appear in the menu, where are the menu entries created?

I don’t know if related, I did not notice that before:
When opening the Tools menu I always get an OS X wxWidgets assertion about invalid checked/unchecked menu items which obviously are created wrong (at least for OS X)… maybe those are the ones I am missing?


Regards,
Bernhard
_______________________________________________
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



Follow ups

References