I saw koehn's "Parametric slide lid box", and really liked it. Printed one off, and it just worked. Gave that one away to a niece, and modified the SCAD file to make a case for a small power supply.