This remix is based on Arduino Nano Screw Terminal DIN Rail mount design by Madhulk, because this design fits very well. This is an adaptation for mounting the ST-M5045 driver to a DIN rail.
I use Fusion 360 to adapt it.
You will need two M4 screws and two M4 nuts to mount the driver to the DIN rail.
The author remixed this model.
I adapted to mount the ST-M5045 driver and maybe a DM542T driver to a DIN rail. The distance between holes is 112.5 mm and the holes are for M4 screws and nuts.