This model enables the inexpensive LM317T regulator modules to be mounted on a 35mm DIN rail. I used Robert Hunt's useful SCAD script to create the basic DIN clip (https://www.thingiverse.com/thing:101024/remixes).
The PCB is held in place via two M3x6 self tapping screws. Note that there is a ceramic capacitor mounted closely to one of the mounting holes so be sure the screw head clears this, and I suggest not tightening this screw hard down as stress in the PCB can cause failure of these caps.
LM317T_DIN_MOUNT.stl | 94.2KB |