kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #08643
Re: example of how to use the scripting
-
To:
Miguel Angel Ajo Pelayo <miguelangel@xxxxxxx>
-
From:
Dick Hollenbeck <dick@xxxxxxxxxxx>
-
Date:
Mon, 30 Jul 2012 10:30:45 -0500
-
Cc:
KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<CA+CzoSauePgjWhTXKAU=sNtyY_ZWzT_uNgL8f7oyj5=eo3cVTg@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
>
> 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