Python script to generate footprints from openscad
https://forum.kicad.info/t/python-script-to...om-openscad/869Цитата("TomKeddie")
I wrote some
openscad script to generate Dangerous Prototype sick of beige cases as dxf files for laser cutting. Looking at it further I realised it would be trivial to use this to also generate kicad footprint files. The script can be found at
https://github.com/TomKeddie/python-scripts.../openscad2kicad.
It turns out to be fairly easy because, looking at the
openscad source, it only generates line segments in its dxf export. Unfortunately it does not export color information so I can't do multiple layers but I'll work on that next.
This of course opens up the possibility of generating any crazy pcb shape you want with
openscad.
Please be gentle, this is my first cut at this.
http://dangerousprototypes.com/forum/viewt...p=61202#p612025