A simple Openscad project to make a mounting block for a standard IEC A/C socket used in my variable AC control panel for the line feed cord. The socket is recycled from an old computer power supply as is the line cord. This encloses the hot A/C connections and keeps the fingers from getting zapped. The socket and the whole block is mounted by tapping the 4 holes with 6/32 tap. The holes can be resized if you want to use metric hardware.
Hatchbox or others PLA
I have my cura slicer set to:
wall thickness 1.2mm,
wall line count 3,
top and bottom thickness to 0.6mm with 3 layers each.
All mounting holes are sized as the tap drill diameter for 6-32 machine screws.
After printing, run a tap through the 4 holes from the screw sides.