← Back to team overview

kicad-developers team mailing list archive

Re: Footprint python plugin: Is it possible to merge ?

 

Hi Nick,

Before we get too far down that path, I think there is a better set of
tools for caching Github results locally--git.

I work relatively often from airplanes or countries with poor internet
access, so I use scripts to copy stuff locally.

To be completely honest, I have been confused as to why Dick went straight
for a particular Git host's API, as compared to using Git itself.  Disk
space, maybe?  I am one of the users (like Bernhard, I guess) who doesn't
really like using the Github plugin, and uses data on disk instead.  Git
provides a way for me to quickly download the new work Carl and the other
library folks have done.

If someone wants to talk about this more, I'm up for it.

Adam Wolf
Cofounder and Engineer
W&L

On Mon, Nov 3, 2014 at 12:25 PM, Nick Østergaard <oe.nick@xxxxxxxxx> wrote:

> Hi Jean-Samuel
>
> Aha, that makes sense.
>
> Maybe the following is a bad idea, but anyway -- here goes.
> With that I guess one could even make a script that is cloning and
> updating the kicad footprints from github and chaching them also.
>
> Nick
>
> 2014-11-03 18:28 GMT+01:00 Jean-Samuel Reynaud <js.reynaud@xxxxxxxxx>:
> > Hi Nick,
> >
> > Sorry I'm not always clear in my explaination...
> >
> > This plugin provide a gateway to custom plugin writen in python.
> > For example you can write a new plugin in python to fetch some footprint
> > from a database for example...
> >
> > Thanks,
> > Le 03/11/2014 17:37, Nick Østergaard a écrit :
> >> Hi Jean-Samuel
> >>
> >> What exactly does this do? I guess a section for the documentation has
> >> to be written to describe the purpose or functionality of this option.
> >>
> >> Does this plugin then run a python script that magically creates the
> >> footprint you have in mind or? Does this provide a gateway to make
> >> some custom plugin to fetch footprints from various sources from a
> >> simple python?
> >>
> >> Sorry for all the questionmarks, but I don't quite get what exactly
> >> this is. (I have not tried it yet)
> >>
> >> Nick
> >>
> >> 2014-11-03 15:14 GMT+01:00 Jean-Samuel Reynaud <js.reynaud@xxxxxxxxx>:
> >>> Hi All,
> >>>
> >>> I wrote few months ago an extension to be able to write in python a
> >>> footprint library plugin.
> >>> ie: for the moment for footprint you have to choice between:
> >>> - Kicad
> >>> - Legacy
> >>> - GitHub
> >>> ...
> >>> And I had write a "Python". You choose the python module to load (the
> >>> module name as an option of the python plugin) and this python
> >>> module have to implement some functions to do the job.
> >>>
> >>> This code is currently under a branch :
> >>> lp:~kicad-developers/kicad/python_plugin
> >>>
> >>> Specific code is mainly in pcbnew/fppython/ and there is a python
> >>> example in pcbnew/fppython/fppython_example.py.
> >>>
> >>> I regularly merge with upstream to maintain this branch up to date.
> >>> I cleanned up the code to meet coding standard.
> >>>
> >>> Is it possible to merge on main branch ?
> >>>
> >>> Regards,
> >>>
> >>>
> >>> _______________________________________________
> >>> 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