This is for 20x6x1,5mm neodym magnets, but you can take the FreeCAD file and modify it for your needs (MagnetsSketch)
The author marked this model as their own original creation.