Magnets in Prints

Fully embedded magnets have an advantage of being difficult for children to get at and swallow. Those high power magnets love to get on opposite sides of intestinal walls and punch holes.

1 Like

This is why I moved to embedded magnets in anything kids might get their hands on.

I have also experimented with how easy it is to remove the magnets by an enterprising child. As an adult it took a lot of time and filament snipers, I was cut by the plastic before I got near the magnets.

2 Likes

I have been trying to use the model found at Milwaukee M12 4ah 6ah Battery protective base by Theprofesor012MakerWorld: Download Free 3D Models to embed magnets into to stick to my auto lift etc. This model is perfect, but everytime I try to use negative space to add a magnet, the layers don’t seem thick enough to cover the magnet. I tried to scale it or just make the bottom thicker to embed the magnets. Is that possible in studio somehow?

Assuming you are using cylindrical magnets and placing the face up, try the following.

Add a cylinder part to the model, make its size 0.4mm larger diameter (to width and depth) than the actual magnet is and the height set as the magnet dimensions.

Move the part to where you would like it to be, at least 0.2mm (one layer) from the base or surface^. Make sure the location sits exactly on a layer, exactly divisible by your chosen layer height, likely 0.2mm.

Right-click the part or from the objects menu and change the part type to negative space.

Repeat for as many as you need.

If your magnet is thicker than 3mm or the diameter is bigger than 10mm consider increasing the distance from the surface.

^ If you place the magnet close to the bed, the magnet will stay in place due to being attracted by the magnetic bound plate. If you place it closer to the top, this may cause you issues if the print head attracts the magnet and rips it out. It has happened to be, just be cautious.

Thanks, but this is where I feel like I am either not being clear or not following the steps. If I look at the slice after following the directions, the slice shows the embedded cylinder but doesn’t enclose it? I assume because the magnet is thicker than it’s placement or the thickness of the bottom of the piece? I am afraid I am a bit lost about your mention of “exactly divisible by your chosen layer”. How do I calculate that, I have been just rotating the view and trying to guess which layer to add it where it is not below the actual floor of the piece or too high in the bottom as to not be magenetic enough. I hope it makes sense what I am saying…I apologize I am new to embedding the magnets.

The problem is your negative primitive is too high up.

You haven’t stated your magnet dimensions, the thickness of the base, nor the layer height, so I am left with an example.

  • Layer height = 0.2mm
  • Base thickness = 4mm
  • Magnet 6mm diameter by 2mm thick

You would locate the negative shape at a z value of 0.2mm.

This would then look like this.

  • 0.2mm of base
  • 2mm magnet
  • 1.8mm of base

You move the part using the toolbar move icon.

The tools in the slicer are horrible, seemingly by design. The height options rarely go where you want them. I can only assume this was done on purpose, as there is no rational reason for them to be so bad and ineffective.

I recommend playing for a bit to get it right.

If the base thickness is thicker than the magnet thickness plus two (top and bottom) 0.2mm layers, you cannot embed that magnet; you must choose a thinner one.

If your magnet diameter is bigger (over 10mm or over 3mm thick, you should have at least two layers (0.4mm) above and below the magnet.

I took a look at the specific part. It has errors, but it does not affect your problem, though.

The bottom layer of the model is 2.4mm, which means you can ONLY have 2 mm-thick magnets.

Set the negative part z position to -10mm, and it will sit perfectly as follows:

  • 0.2mm of base
  • 2mm magnet
  • 0.2mm of base

A magnet diameter of 5, 6, 8 or 10mm at a push.

Given the need to use 2mm thick magnets, you will need several, at least four, likely more. Testing is a must, given the likely weight.

2 Likes

I’ve got a whole bunch of magnets in my toolbox and my favourite right now are probably the 10x3mm round earth magnets because they are quite strong. nothing worse than weak magnets that don’t do much. of course it depends on your model. in fusion I would usually make the magnet hole +0.1mm larger and thats enough space. if the magnet is place on the side I will extrude a square section to the top so I can drop the magnet inside. my wall on the edge is 0.8mm thick. Too thick of a wall between both magnets and it will loose its power.

Screenshot 2025-04-24 173650
In the above example I have some 10x3 magnets in my design and in Bambu Slicer I set a pause at layer 80 the last layer before the hole is closed.

in the slicer I will pause at the top layer just before it closes the hole for the magnet. if your print this magnet placing tool you will see how it works, there is already a automatic pause in the print profile plus this tool is really good so you dont get your polarity mixed up when inserting magnets.

You might wish to consider the limitations.