A set of script to convert red lightsones in a minetest ( an opensource alternative to minecraft) world to a 3d model that can be used for printing.
get the code and some more documentation from github
https://github.com/keesj/3d-makelib/tree/master/minetest2openscad