← Back to team overview

kicad-developers team mailing list archive

Re: Kicad scripting progress :-)

 

woops, where I said plugins.i I meant:
http://bazaar.launchpad.net/~miguelangel-r/kicad/scripting/revision/3478#scripting/kicadplugins.i

sorry :)

2012/5/5 Miguel Angel Ajo Pelayo <miguelangel@xxxxxxx>

> I'm going further, my plan is not only to make PLUGIN accesible from
> python, that's the first stone,
> and a good one.
>
> The next part in the plan, is to make pcbnew/eeschema/etc, scriptable
> itself, and that means,
> that the user can put ".py" extensions somewhere, and the
> pcbnew/eeschema/etc get extended
> with that .py modules functionality.
>
> http://bazaar.launchpad.net/~miguelangel-r/kicad/scripting/revision/3478
>
> these are the "preliminary" python classes
>
> http://bazaar.launchpad.net/~miguelangel-r/kicad/scripting/revision/3478#pcbnew/scripting/plugins.i
>
> that have their mirror C++ classes accessible:
>
> http://bazaar.launchpad.net/~miguelangel-r/kicad/scripting/revision/3478#pcbnew/scripting/pcbnew_footprint_wizards.h
>
>
> and get registered on load by the pcbnew.LoadPlugins()
>
> http://bazaar.launchpad.net/~miguelangel-r/kicad/scripting/revision/3478#scripting/python_scripting.cpp
>
> This is a first wizard example:
>
> http://bazaar.launchpad.net/~miguelangel-r/kicad/scripting/revision/3478#pcbnew/scripting/plugins/fpc_footprint_wizard.py
>
>
> and now, I'm working to make a generic interface for the footprint
> wizards, inside pcbnew module editor,
> it should be interactive, and as we modify any parameter we should see the
> resulting module on the right.
>
>
>
> 2012/5/5 Dick Hollenbeck <dick@xxxxxxxxxxx>
>
>> On 05/05/2012 08:55 AM, Miguel Angel Ajo Pelayo wrote:
>> > Thank you too Wayne,
>> >
>> >     It's nice to team up with you all :-)
>> >
>> >
>> >   I have a little prototype of the footprint wizards, for which I
>> should finish the C++
>> > integration part, I just finished testing the python part.
>>
>>
>> What needs to be done in C++?
>>
>> I thought you already had a bridge from python to PLUGIN done.
>>
>>
>>
>>
>> _______________________________________________
>> 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
> http://www.nbee.es
> +34 636 52 25 69
> skype: ajoajoajo
>



-- 

Miguel Angel Ajo Pelayo
http://www.nbee.es
+34 636 52 25 69
skype: ajoajoajo

References