Here is a simple spacer I made using OpenSCAD. I needed it because I have a shallow wall switch box in my basement and I wanted to install a motion sensor switch. More information about the afternoon project is in my blog:http://apprenticemaker.blogspot.com/2015/05/electric-box-extender.html