About this 3D model
Choose a switch of your flavor. Punch a hole that is right for your switch in the lid with openscad or what ever. Feel free to modify code enclosed. Mounted in the rail to get it stable. Mounting advice, heatgun gently heating the housing in the bottom to get perfect fit and glue effect. /Ice