← Back to team overview

kicad-developers team mailing list archive

Re: Fwd: Python plugin for pcbnew

 

On 03/11/2014 07:09 AM, Jean-Samuel Reynaud wrote:
> 
> Le 11/03/2014 05:19, Dick Hollenbeck a écrit :
>> A couple of things I've noticed right away are:
>>
>> a) The plugin name is a bit awkward for the table editor.  Do you have any objections to
>> having the user simply pick "Python" in the dropdown cell editor?
> No problem, I'm gona change that
>>
>>
>> b) I am not in love with the class name, but its not bad.
> Your true, but I don't have any idea about a better naming. Any
> suggestions ?
>>
>>
>> c) Coding standards, always coding standards......  position of * characters, etc.
> Of course...
>>
>>
>> d) I wonder what kind of python module would make this more interesting?
>>
> For my jobs I need a central footprint server. So I plan to build a
> python module with remote XML/RPC call to a
> central server (apache+php+DB with pdo). python module will be gateway
> to that.


Here at my company, we simply use the "Kicad" plugin on a NFS server.  The pretty dirs are
all on a simple Ubuntu file server running nfs.  That plugin works pretty well in a
multi-user environment, benefiting from the fact that each footprint is in a separate file
thus reducing the possibility of multiple users fighting each other on edits.  There may
be some small improvements possible WRT to multi-user in the Kicad plugin, but it already
works well.

Can you explain why the Kicad plugin does not meet your needs?  Is the central server not
in-house?

I want to understand what problems you think your solution addresses that the stock
plugins do not.


> Once I started, I'll share all those source code (plugin+server). I your
> are interresed, I can integrate this on the project directly...


I cannot currently see a need, that is why I asked the questions above.


> Anyway I don't know where to put those python module on the source code
> tree. For installation it's ok, but on the source code tree for me there
> is no place (as I found) to
> put it. It a part of pcbnew and also of cvpcb... Same question with
> xml/rpc server if you are agree for integrate it...
> 
>> sqlite?
> Why not, I can also take a look. But I think I will start my xml/rpc
> since I need it...




Follow ups

References