Page 1 of 1

Sick of Beige openscad script and generated kicad footprint

PostPosted: Fri May 08, 2015 12:28 pm
by TomKeddie
Here is an openscad script to generate sick of beige models. You can then export them to DXF for laser cutting.


I'm slowly discovering the joys of scripted CAD using openscad, I guess I just don't like GUIs.

Re: Sick of Beige openscad script

PostPosted: Sun May 10, 2015 10:23 am
by TomKeddie
I added pre-generated dxf files for all sizes to the above. They seem to load fine in our (somewhat picky) lasercad software that drives our cutter. You mileage may vary, test on a piece of scrap.

Re: Sick of Beige openscad script

PostPosted: Fri May 15, 2015 8:45 am
by TomKeddie
I've gone a bit further and written a python script to convert the dxf files to kicad footprint files. The script can be found at ... scad2kicad the generated footprint files at ... ige.pretty

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.