Ryan Kalagin

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.

By Ryan Kalagin,

A prayer mat hanging flat on a wall, held by the hanger at its two top corners.
A mat hung with the kit at home.
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.

The clamp with its two halves and deep pyramid grip teeth.
A printed clamp fitted to the side edge of a real prayer mat on the wall.
The clamp in CAD and the real thing on a mat.

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.
A clamp back half and a wall rail rendered with see-through plastic, showing the sealed magnets inside.
A clamp back half and a wall rail with the plastic made see-through, showing the magnets sealed inside.
Cross section of the clamp back half through the magnet and the ratchet notches, with the layer heights marked.
A cut through the clamp’s back half as it sits on the print bed, with the magnet sealed in above the ratchet notches.

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.

Chart of magnet pull falling as the plastic between the magnet faces gets thicker.
Pull between clamp and rail against the plastic between the magnet faces, calculated for N42 magnets.
Slicer previews of the layers just before and just after the pause for the wall rail and the clamp.
The slicer preview just before the pause with the pocket still open, then the first solid layer printed over the magnet.

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.

The clamp snapping onto the rail.

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.

A kit of two clamps and two wall rails in ivory.
The kit in ivory, translucent and black.
The kit and the three colours I print it in.

The kit is available at prayermathanger.com.