<p>I've certainly had this happen. While it didn't attach directly to the head, it attached to the steel roller bearings that moved the head, as well as the BL touch probe!</p>
<p>The type of magnet matters as well. If you're just using a regular steel or ceramic magnet, you probably won't have a problem since they usually aren't strong enough to lift themselves the inch or two required. But if you're using a neodymium magnet, then those certainly are.</p>
<p>I've done three things to solve it:</p>
<ul>
<li>Learned the tolerance of my machine so I know how large of an opening to make for the magnet so it ends up being a bit of a press fit (when designing my own stuff). It doesn't take much to offer just a little bit of resistance to prevent the magnet from lifting.</li>
<li>When printing multiple items at once (made some refrigerator magnets), I arranged them so the print head travel properly and not cross over the magnets of the other items</li>
<li>Used a glue stick to glue them in. I was a bit surprised this worked, but it was just sticky enough to solve the problem.</li>
</ul>
<p>One of the best first prints I ever did was to create a cylinder, say 1&quot; in diameter, with a hole in it (1/2&quot; in diameter), then create the corresponding &quot;pin&quot; exactly 0.500&quot;. Then I'd create multiple cylinders with holes of varying tolerances, say 0.490, 0.495, 0.500, 0.505, 0.510.</p>
<p>Then I could compare the fit between the two items. Essentially if I needed to put a magnet into something, there's no way I can do a 0.500&quot; hole. It's too tight. I've learned that with my printer, that if I oversize a hole by 0.01&quot; <em>diameter</em>, then it's a nice fit with a little bit of resistance. Well worth taking a few minutes to do this.</p>

CC BY-SA 4.0
2023-01-09T19:43:30.563Z
2023-01-09T19:43:30.563Z
LarryBud
<p>Unless you are using a nozzle made of magnetic metal, the magnet will not attach to the nozzle. The heater blocks are usually aluminum, the nozzles are brass or copper, although some can be steel. Other portions of your extruder assembly could be a factor but I've not seen examples.</p>
<p>Pass the magnet under the nozzle area close enough to touch the nozzle. This will provide indication of which portions of the assembly might attract the magnet.</p>
<p>Consider to apply some super-glue-type adhesive and allowing sufficient time to cure (or use a thin layer of moisture on the magnet, or an accelerator) to provide additional security. Even a small segment of double-stick tape may provide the level of assurance you require.</p>

CC BY-SA 4.0
2023-01-07T09:40:46.623Z
I didn't know, that the heater block is non-magnetic. I have to change the nozzle to brass, because my current one is stainless steel and it has too much force, so I don't think it will work.
kosteklvp
CC BY-SA 4.0
2023-01-09T19:58:06.927Z
@kosteklvp Check your existing nozzle -- most stainless alloys are non-magnetic.
Zeiss Ikon
CC BY-SA 4.0
2023-01-10T19:31:19.213Z
Some heater blocks have set screws (sometimes called grub screws). Those are magnetic if carbon steel and may be magnetic if stainless steel, depending on the particular SS alloy.
allardjd
CC BY-SA 4.0
2023-01-06T22:54:37.830Z
2023-01-06T22:54:37.830Z
fred_dot_u
<p>You want the magnets to fit snugly in the holes for them so they can't jump out. Making the hole undersized is not a good way to achieve this, because forcibly inserting the magnet can then break or deform the partial part.</p>
<p>Instead, I like adding one or more very thin splines, like the ones Lego bricks have to interface with and grip the studs of another piece, in a slightly oversized hole. These splines can wedge against the magnet and deflect without deforming the rest of the part.</p>

CC BY-SA 4.0
2023-01-11T15:13:16.070Z
Do you have an image of the spline design technique? I think it would benefit the understanding of the answer.
0scar
CC BY-SA 4.0
2023-01-10T17:45:07.350Z
2023-01-10T17:45:07.350Z
R.. GitHub STOP HELPING ICE
<p>I'll share some experience, I got while printing with magnets:</p>
<ol>
<li><p>Firstly, check if the magnet can stick to something around the hotend, especially when using neodymium magnets. It may be necessary to replace the nozzle with a non-magnetic one.</p>
</li>
<li><p>Apply a small amount of glue before placing the magnets. The magnet should be free of metal filings that may stick to the magnet, because the glue will not stick to the magnet properly. In this situation, the magnet will not stick to the print and may frivolously move around in the hole.</p>
<p>I used a small amount of hot glue on the bottom and top of the magnet, completely surrounding it in the hole. Hot glue should be used carefully as it can deform the plastic surrounding it.</p>
</li>
<li><p><strong>Check magnets pole orientation</strong>. This one is important, if you want to use magnets in pairs, e.g. for parts that should connect and disconnect. Magnets should either attract or repel each other, depending on the application. Before placing the magnets, check that they are correctly positioned. You can also mark the poles first with a marker.</p>
</li>
<li><p>Make sure the magnet fits in the hole. For this purpose, you can make a quick test print and check if the magnet fits correctly into the hole. This will save potential drilling in the printout and other unwanted problems.</p>
</li>
</ol>

CC BY-SA 4.0
2023-01-11T15:43:52.230Z
Magnet pole won't matter if it's attaching to part of the printer, however.
LarryBud
CC BY-SA 4.0
2023-01-11T15:46:36.470Z
Yes, but it is important if you want to use 2 magnets e.x. in a case and a lid.
kosteklvp
CC BY-SA 4.0
2023-01-11T10:56:49.587Z
2023-01-11T17:52:08.493Z
2023-01-11T17:52:08.493Z
kosteklvp
<p>I would like to add neodymium magnets during print. The model, which I would like to print, has fully enclosed holes made for placing magnets.</p>
<p><a href="https://i.sstatic.net/Lz3bj.png" rel="noreferrer"><img src="https://i.sstatic.net/Lz3bj.png" alt="Hole prepared for magnet placing" /></a></p>
<p>I added pause on layer (<code>M601</code>) in slicer. Since, this is a very long print, I would like to avoid any problems. I read that the magnet can attach to the nozzle while printing. How can I avoid this, and what else should I watch out for? How should I prepare in advance for magnets placing?</p>

<3d-models>
How to add magnets to 3D print mid-print?
kosteklvp
# How to add magnets to 3D print mid-print?

(Asked by: username_0 on 2023-01-06)

I would like to add neodymium magnets during print. The model, which I would like to print, has fully enclosed holes made for placing magnets.

[![Hole prepared for magnet placing](https://i.sstatic.net/Lz3bj.png)](https://i.sstatic.net/Lz3bj.png)

I added pause on layer (`M601`) in slicer. Since, this is a very long print, I would like to avoid any problems. I read that the magnet can attach to the nozzle while printing. How can I avoid this, and what else should I watch out for? How should I prepare in advance for magnets placing?

**Tags:** 3d-models


---

## 4 answers

### Answer by username_0 on 2023-01-11. Score: 4 | Accepted answer

I'll share some experience, I got while printing with magnets:

1. Firstly, check if the magnet can stick to something around the hotend, especially when using neodymium magnets. It may be necessary to replace the nozzle with a non-magnetic one.
2. Apply a small amount of glue before placing the magnets. The magnet should be free of metal filings that may stick to the magnet, because the glue will not stick to the magnet properly. In this situation, the magnet will not stick to the print and may frivolously move around in the hole.

   I used a small amount of hot glue on the bottom and top of the magnet, completely surrounding it in the hole. Hot glue should be used carefully as it can deform the plastic surrounding it.
3. **Check magnets pole orientation**. This one is important, if you want to use magnets in pairs, e.g. for parts that should connect and disconnect. Magnets should either attract or repel each other, depending on the application. Before placing the magnets, check that they are correctly positioned. You can also mark the poles first with a marker.
4. Make sure the magnet fits in the hole. For this purpose, you can make a quick test print and check if the magnet fits correctly into the hole. This will save potential drilling in the printout and other unwanted problems.

> **Comments:**
> **username_1**: Magnet pole won't matter if it's attaching to part of the printer, however.  
> **username_0**: Yes, but it is important if you want to use 2 magnets e.x. in a case and a lid.  

---

### Answer by username_1 on 2023-01-09. Score: 6

I've certainly had this happen. While it didn't attach directly to the head, it attached to the steel roller bearings that moved the head, as well as the BL touch probe!

The type of magnet matters as well. If you're just using a regular steel or ceramic magnet, you probably won't have a problem since they usually aren't strong enough to lift themselves the inch or two required. But if you're using a neodymium magnet, then those certainly are.

I've done three things to solve it:

* Learned the tolerance of my machine so I know how large of an opening to make for the magnet so it ends up being a bit of a press fit (when designing my own stuff). It doesn't take much to offer just a little bit of resistance to prevent the magnet from lifting.
* When printing multiple items at once (made some refrigerator magnets), I arranged them so the print head travel properly and not cross over the magnets of the other items
* Used a glue stick to glue them in. I was a bit surprised this worked, but it was just sticky enough to solve the problem.

One of the best first prints I ever did was to create a cylinder, say 1" in diameter, with a hole in it (1/2" in diameter), then create the corresponding "pin" exactly 0.500". Then I'd create multiple cylinders with holes of varying tolerances, say 0.490, 0.495, 0.500, 0.505, 0.510.

Then I could compare the fit between the two items. Essentially if I needed to put a magnet into something, there's no way I can do a 0.500" hole. It's too tight. I've learned that with my printer, that if I oversize a hole by 0.01" *diameter*, then it's a nice fit with a little bit of resistance. Well worth taking a few minutes to do this.


---

### Answer by username_2 on 2023-01-06. Score: 6

Unless you are using a nozzle made of magnetic metal, the magnet will not attach to the nozzle. The heater blocks are usually aluminum, the nozzles are brass or copper, although some can be steel. Other portions of your extruder assembly could be a factor but I've not seen examples.

Pass the magnet under the nozzle area close enough to touch the nozzle. This will provide indication of which portions of the assembly might attract the magnet.

Consider to apply some super-glue-type adhesive and allowing sufficient time to cure (or use a thin layer of moisture on the magnet, or an accelerator) to provide additional security. Even a small segment of double-stick tape may provide the level of assurance you require.

> **Comments:**
> **username_0**: I didn't know, that the heater block is non-magnetic. I have to change the nozzle to brass, because my current one is stainless steel and it has too much force, so I don't think it will work.  
> **username_3**: @username_0 Check your existing nozzle -- most stainless alloys are non-magnetic.  
> **username_4**: Some heater blocks have set screws (sometimes called grub screws). Those are magnetic if carbon steel and may be magnetic if stainless steel, depending on the particular SS alloy.  

---

### Answer by username_5 on 2023-01-10. Score: 1

You want the magnets to fit snugly in the holes for them so they can't jump out. Making the hole undersized is not a good way to achieve this, because forcibly inserting the magnet can then break or deform the partial part.

Instead, I like adding one or more very thin splines, like the ones Lego bricks have to interface with and grip the studs of another piece, in a slightly oversized hole. These splines can wedge against the magnet and deflect without deforming the rest of the part.

> **Comments:**
> **username_6**: Do you have an image of the spline design technique? I think it would benefit the understanding of the answer.  

---

