Remixed from mc2_project3d's great model. Adjusted to fit the mini12864 or Ender 3, Pro, etc. by slightly enlarging and reinforcing the hole for the encoder and extending the sides to cover the longer encoder shaft.
If the fit is too loose, try scaling down just a little.