Designing the Prayer Mat Hanger
A small kit that hangs a prayer mat flat on the wall like a painting. How it got from an idea to a product I make myself, one test print at a time.

- Status
- On sale at prayermathanger.com
- Kit
- Two clamps and two wall rails, with the magnets sealed inside the parts
- Fits
- Mats from 2 mm thin fabric up to 20 mm foam
- Mounting
- Command strips. No drilling and nothing glued or sewn to the mat
- Printing
- PLA at 0.25 mm layers in ivory, black and translucent, with a pause to drop the magnets in
- Tools
- Fusion 360, with the magnet pauses planned layer by layer in the slicer
I wanted my prayer mat off the floor and on the wall between prayers, without putting holes in the wall or the mat. It had to come down in a second for prayer, be small enough not to be noticed and work on any mat, from 2 mm thin fabric up to 20 mm foam.
Many test prints to get one right
My first ideas used pins through the mat. Then came small clips on the corners with a disc magnet in each and a small cradle on the wall to catch them. The clips held, but hitting a small cradle with a mat in your hands was fiddly, so the wall piece became a horizontal rail. The mat only needs to be roughly near it.
I tried clips with swap-in grip pads for different thicknesses. The pads came loose and the printed grip texture was too shallow. So I designed the current clamp: two printed halves that ratchet together, with deep pyramid teeth, so one size fits every mat in the range. It goes on the side edge of the mat near the top corner, where the tassels act as a stop.
A ledge on the rail carries the weight of the mat. The magnets only line the clamp up and hold it against the rail.


Sealing the magnets in
At first the magnets were exposed and held with adhesive pads. Over time they worked loose. Now they’re sealed inside the print. The printer pauses at a set layer, I drop a magnet into a closed pocket and it carries on printing over the top. The clamp holds a 20 × 10 × 3 mm magnet and the rail a 50 × 10 × 3 mm one. Getting a clean finish over the magnet took some care:
- The pocket is 0.3 mm bigger than the magnet across. At 0.1 mm the magnets were very tight to get in.
- Every height in the part is a whole number of 0.25 mm layers. That way the slicer always prints four solid layers over the magnet, whatever first layer height is set.
- The thin wall behind the clamp’s magnet is 0.7 mm. At 0.5 mm the slicer printed it as a single open line that started right behind the magnet and left a gap on every layer. At 0.7 mm it prints as two closed loops.


Every fraction of a millimetre of plastic between the two magnets costs pull. With the faces touching the pull is about 3.4 kg. Sealed in, with 1.7 mm of plastic between them, it’s about 1.5 kg. That’s plenty because the ledge takes the weight.


Snap on, lift off
In use the clamp stays on the mat. To hang the mat you bring the clamps near the rails and the magnets pull them into place on the ledge. For prayer you lift the mat straight off.
From CAD to a kit
I designed the parts in Fusion 360 and refine them there between test prints. The clamp’s back half prints standing up with the ratchet notches on the bed and the rail prints flat on its back so the face for the Command strip comes out perfectly flat. Each kit has two clamps and two rails, in ivory, black or translucent.


The kit is available at prayermathanger.com.