I couldn't find a control box for my router table so I made it like this. I created everything in Prusa Slicer so it's in *.3mf format. The models look a bit strange without negative volumes (I don't know how to convert to *.stl yet and hopefully it doesn't matter), but after downloading everything is normal and you can possibly modify the holes slightly if you don't buy the same components.
Components used: built-in electrical socket BALS 71118, switch DKLD DZ-6, cable grommet for 20mm hole, 3 flat head screws M4x10 for mounting the switch box, 4 countersunk screws M4x12 for the socket (maybe the M3 screws would be better countersunk, but would have to change the nut holes from the inside of the back cover to match their nuts), 7 nuts M4 for both and 7 small countersunk screws for the back cover.
I also made a drill template for the third hole that is not in the table frame and needs to be drilled. The electrical wiring is best left to an electrician or someone who has experience with it. I printed unsupported from PETG with a 0.2mm layer and a 0.4mm nozzle. The corners that faced out of the (opened) print box lifted very slightly, but you can hardly see it. It would have been better to use a non-flammable material, but I didn't have one. The switch box is solid and holds in place even when operated. I will make brackets later to wind the cable to the side of the table.
This is one of my first models, so please post comments and photos of the prints. Thanks.
The author marked this model as their own original creation.