Hi Miguel,

 I'll work on that and let you know. :)  What I plan to do at the moment is:

1. Write a tutorial using a few sample Python scripts to demonstrate how to use 
various components in the module.  I will include some instructions on building 
and installing the module as well.  I will concentrate on what the different 
classes can do and let the users use their imagination to create parts.

2. Rework the DIP and the Thru-hole resistor code so that they can be invoked 
from Python to generate custom parts.

3. Continue with building up the tools and parametric models.

I just have to resist the temptation to do too much of (3) and make sure I put 
some time into (1) and (2).  :)

I'm very bad at selecting colors, so any user suggestions on VRML color schemes 
will be welcome.  I prefer to keep 2 sets of colors; one that looks good in the 
KiCAD 3D viewer and one that looks good for other VRML viewers.

- Cirilo



>________________________________
> From: Miguel Angel Ajo Pelayo <[email protected]>
>To: Cirilo Bernardo <[email protected]> 
>Cc: Kicad Developers <[email protected]>; 
>"[email protected]" <[email protected]> 
>Sent: Thursday, November 8, 2012 6:03 PM
>Subject: Re: [Kicad-developers] Python bindings for 3D parametric model tools
> 
>
>Hi Cirilo, it seems quite interesting, something like this would be nice to 
>mix with the future
>footprint wizards in Kicad (automatic 3D model generation).
>
>
>Can you provide some more usage examples of your library? :)
>
>
>Greetings, 
>Mike
>
>
>2012/11/8 Cirilo Bernardo <[email protected]>
>
>Hi Folks,
>>
>> I've put in some rudimentary Python bindings for the existing VRML 
>>parametric modeling tools if any Python programmers feel like trying it out.  
>>The source (C++) needs to be built of course; requirements are only Boost 
>>Python, Python, CMake, and the GNU compiler. Source is available via git from 
>>SourceForge:
>>
>>git clone git://git.code.sf.net/p/kicad3dmodels/code
>>
>>
>>To build just the Python library (which is what I'd recommend since that code 
>>should be 100% portable), configure with 'cmake' and invoke 'make kc3d'.  
>>Before configuring with CMake, some parameters in src/py/CMakeLists.txt will 
>>need to be tweaked for the target system. The src/py directory also has a 
>>"testpin.py" which should generate a bent elliptical pin with a taper at both 
>>ends.   There isn't much documentation other than what Doxygen can produce 
>>from the header files, so tinkering with these tools is only recommended for 
>>experienced programmers. Any comments are welcome, especially with regards to 
>>documentation/tutorials which people might find useful.
>>
>>- Cirilo
>>
>>

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to