Using Magnets in 3D Printing 2: Issues with Mixing Up Poles

Magnets can help attach and align parts, as long as they’re installed in the correct orientation.

A frequent issue is incorrectly orienting magnets during installation. Of course, this is easy to do because the two poles of a round magnet look exactly the same!

Designs that make poles distinguishable via shape or markings can help prevent these issues. Alternately, we could also eliminate the need to distinguish poles by using steel components.

Below, we’ll provide three methods for different situations.

Option 1: Replace One of the Magnets with a Carbon Steel Screw

Magnets attract not only each other but also other steel components. For light-duty applications (e.g., lightweight lids), replace one magnet with a carbon steel screw. This can reduce the costs of a project and also make it impossible for users to reverse the polarity of the magnets during assembly

Stainless steel screws, like those made of 304 or 316 stainless steel, aren’t attracted to magnets, so be sure to double-check the material when purchasing screws! Maker’s Supply offers various sizes of carbon steel screws, which work well with magnets.

Take the controller of CyberBrick for instance. Its cover relies on magnetism to attach to the main body. Replacing one side with steel carbon screws is a good approach. Place the magnet in the thin cover, and put the screw on the main body side where there’s ample space.

Figure 1: Lid of CyberBrick General Controller, using a fixed screw to avoid polarity issues.

Option 2: Use Disc Countersunk Hole Magnets to Distinguish Magnetic Poles

If the two poles of a magnet have different shapes, it becomes easier to distinguish them. The disc countersunk hole magnet is an example of this.

In the version offered by Maker’s Supply, the larger recessed face is the N-pole, and the smaller flat face is the S-pole. Users can accurately distinguish the poles through these shapes. Furthermore, adding a slight protrusion to the mounting surface can create a foolproof design, effectively preventing installation errors.

Figure 2 : The polarity of the disc countersunk hole magnets from Maker’s Supply

In the D20 Dice Box magnetic[Membership Ver.] designed by Preischl 3D, the sum of the numbers on opposite faces of a D20 dice should be 21. The magnet installation holes, with their alternating magnetic poles, help ensure the lid only closes properly when oriented correctly.

When installing the magnets, place the chamfered side down into the holes with pillars, and the flat side down into the holes without pillars.The bottom of the pillar has a protrusion, so incorrect magnet installation will cause unevenness, alerting users to check the direction.

Figure 3: Determine the installation direction via pillars and chamfers

Option 3: Mark the Magnet Surface

Marking the poles of magnets is also a viable method to consider.

Intersect your users to check which faces of their magnets attract each other before installation and mark the poles with pencils, markers, or stickers. These marks can help to avoid mistakes in magnet pole installation.

Figure 4: Use a marker to indicate the magnet pole before installation

  • We are grateful to @MaKim for helpful feedback on earlier drafts of this guide.

Tips From Users: Use Magnet Insertion Tools

Some talented creators have made a number of magnet installation tools, such as Magnet insertion Fast-Tool by Jorge Rui, Embedded Magnet Dispenser Tool for 3D Prints by Brian Dean and Magnet Insertion Tool v2 by EmGi.

You can use the colors of these tools to distinguish the magnetic poles, preventing installation errors. Additionally, these tools make it easier to grip magnets and provide guidance during installation.

Summary:

  • Option 1: Replace One of the Magnets with a Carbon Steel Screw

    • Pros: Eliminates magnet polarity errors entirely; lower project cost.

    • Cons: Slightly reduced magnetic force;

  • Option 2: Use Disc Countersunk Hole Magnets to Distinguish Magnetic Poles

    • Pros: Unique structure enables anti-mistake design.

    • Cons: Slightly higher project costs.

  • Option 3: Mark the Magnet Surface

    • Pros: Suitable for existing designs and installation processes.

    • Cons: More steps needed; attention still required for marker orientation during installation.

  • Use Magnet Insertion Tools

    • Pros: Fits existing designs; easier installation.

    • Cons: Need to print multiple tool sets; different sizes required for different dimensions.

Previous chapter(s) about magnets in 3D printing

Upcoming chapters about magnets in 3D printing

  • Using Magnets in 3D Printing 3: Installation Issues & How to Avoid Them

  • Using Magnets in 3D Printing 4: Ensuring Even Installation

8 Likes

Recently I messed up a part by glueing in a magnet with the wrong orientation. I tested it before glueing but it was a small magnet and I must have flipped it. The tip about using a magnet + a screw was helpful to me - I’m using it in an upcoming design:

4 Likes

For comparing between magnet/magnet and magnet/steel, the force at zero gap will be about the same, but the magnetic attraction drops off roughly twice as fast for attraction to steel as opposed to another magnet.

If using a screw with a recess for a hex key, etc., you will loose a little force due to this, so its not quite an apples-apples comparison.

1 Like

For sure - it is working well for light-duty applications but won’t always be the right choice.

Yeah, just trying to add some context!

I have this little gizmo called a pole detector. It shows which pole is attracted to the test magnet side. I then mark the pole on the magnet. I have too many to mark them all and you really only need to mark one. Then it becomes the detector for the rest of the magnets I happen to be using at the time.

Just remember that a stack of magnets will have the same pole facing up. Check the top one and all the rest are the same. If you need a magnet to be attracted to the other side of a project, turn the stack over. That magnet will be attracted to the one you just placed. :smile:

2 Likes

When I used to work at a place that made brushless motors we had something like this:

Magnet Polarity Checker

I use a red and a blue pin to get my magnets.
A tiny magnet fixed to the end with the CORRECT orientation makes sure I have all magnets aligned the right way.
Can use them to hold a long row of magnets to not get confused if the magnets are larger or use it on single magnets of the small kind just to be sure…
Nothing is worse than having printed a large box with embedded magnets in hinges and more to find one or two got somehow flipped the wrong way…

I use this universal magnet insertion tool. its also doubles up as a safeguard for polarity so you don’t get it mixed up. simply and quick to print too.