← Back to team overview

kicad-developers team mailing list archive

Re: KiCad library format

 

hmmm :-)

http://cairographics.org/pyrsvg/




2012/5/8 Miguel Angel Ajo Pelayo <miguelangel@xxxxxxx>

> Milan, Interesting project,
>
> Wouldn't you be interested in joining the scripting taskforce, right?
>
> I've been thinking during last days about schema & footprint visualization
> in the python scripting we're building, and one thing is the visualization
> to UI, that reusing the current KiCad code would be the
> cleanest/fastest/easier to maintain, but...
>
> Then something else comes to my mind (for web app building, and even for
> desktop apps), some kind of render painters (in python) capable of taking a
> "BOARD" "MODULE" (later schematic parts and schematics) and spiting out a
> .svg or .png : just imagine a web app doing a:
>
> painter = pcbnew.PAINTER(my_module)
>
> my_svg = painter.GetSVG()
> my_png = painter.GetPNG()
>
> That could be of great reuse in many places, with the new PLUGIN
> architecture, it could even be reused to paint the new format files, eagle
> (when available), altium & orcad?  if there is some brave man around.... :-)
>
>
>
>
>
>
> 2012/5/7 Dick Hollenbeck <dick@xxxxxxxxxxx>
>
>> Do you want to buy some worms?
>>
>>
>> Good accomplishment.
>>
>> > Hello,
>> >
>> > not to give a fish but teach how to fish instead :-)
>> >
>> > Found it in sources and it is pretty self explanatory.
>> > Thank you guys and thank you for all the work you do.
>> >
>> > Milan
>> >
>> > Dne 6.5.2012 16:12, Dick Hollenbeck napsal(a):
>> >> On 05/06/2012 08:23 AM, Milan Horák wrote:
>> >>> Hi gentlemen,
>> >>>
>> >>> I'm working on my fun project - KiCad file visualiser
>> >>> (http://kicad.picaxe.cz/kifivi/index.php).
>> >>>
>> >>> I have a question about KiCad component library format. Documentation
>> >>> says that ALIAS line has to be the second line right after DEF line,
>> but
>> >>> in the default device.lib from package it is not this way.
>> >>>
>> >>> I.e. CP component - ALIAS line follows fields F1 line.
>> >>>
>> >>> What is the right way then?
>> >>>
>> >>> Tkanks for any answer.
>> >>>
>> >>> Milan
>> >> Sometimes even a developer, or even the original author, may not carry
>> this information in
>> >> his/her head.  So to answer the question, he/she would have to look at
>> the source.
>> >>
>> >> This is perhaps something you can do to?
>> >>
>> > _______________________________________________
>> > 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
>>
>
>
>
> --
>
> Miguel Angel Ajo Pelayo
> http://www.nbee.es
> +34 636 52 25 69
> skype: ajoajoajo
>



-- 

Miguel Angel Ajo Pelayo
http://www.nbee.es
+34 636 52 25 69
skype: ajoajoajo

References