← Back to team overview

kicad-developers team mailing list archive

Re: example of how to use the scripting

 

>
> I suppose it's something that receives a set of parameters and generates a
> module/footprint or circuit?

spiral, on free board inductor generator I guess.

>  
>
>
>     I am not certain that Pcbnew can yet invoke a script, it may be that we are still using
>     topmost script with the DLL/DSO underneath.  But we need to get there eventually in any
>     case.
>
>
> Yes, we can do it already, at this moment, if you compile pcbnew with scripting
> capabilities, and put any of these
> http://bazaar.launchpad.net/~kicad-testing-committers/kicad/testing/files/head:/pcbnew/scripting/plugins/
> <http://bazaar.launchpad.net/%7Ekicad-testing-committers/kicad/testing/files/head:/pcbnew/scripting/plugins/> 
>  under ~/.kicad_plugins/  (which may change later as we discussed recently) they will
> get loaded and available to the user under the footprint-wizard.
>  
>
>
>     I like this spiral feature as a sample script when somebody can get to it.  I like it
>     better as a script than as C++ so it can be tuned and customized rapidly.
>
>
> Yesterday I uploaded a capacitive slider generator, you give it a set of parameters, and
> you can watch the shape change in realtime, and, when you're comfortable with the
> results you can (not now..) save it to your current footprint library.

Wow, this is becoming a reality.  Nice work Miguel.








Follow ups

References