Skip to main content
Topic: Sick of Beige openscad script and generated kicad footprint  (Read 2565 times) previous topic - next topic

Sick of Beige openscad script and generated kicad footprint

Here is an openscad script to generate sick of beige models.  You can then export them to DXF for laser cutting.

http://https://github.com/TomKeddie/openscad-scripts/tree/master/sick-of-beige



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

Reply #1
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

Reply #2
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 https://github.com/TomKeddie/python-scr ... scad2kicad  the generated footprint files at https://github.com/TomKeddie/openscad-s ... 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.