Pause at height: change colour or embed a nut, magnet or weight on the right layer

By Sina Esfahani, OmniTechs · Published 27 November 2026

Slice the model and find the first layer that closes the pocket, or the first layer of the new colour. Add the pause there. PrusaSlicer, Bambu Studio and OrcaSlicer pause before the layer you pick. Cura's Pause at Height script counts the other way: in By Layer mode you enter the last layer that should finish first.

Two things decide whether it works. Your firmware has to understand the pause command, and the insert has to sit fully below the layer that covers it. Otherwise the nozzle hits it, or a magnet jumps to the print head. A pocket 0.15 mm larger than the insert on every side is a good start; that is Prusa's figure for its 0.4 mm nozzle profiles.

Do it in this order:

  1. Design the pocket 0.15 mm larger than the insert on every side, and deep enough that the insert ends below the top of the pocket.

  2. Slice, then step through the preview with the up and down arrow keys to the first layer that bridges over the pocket.

  3. Add the pause on that layer: right-click the plus on the layer slider in PrusaSlicer, Bambu Studio or OrcaSlicer. In Cura's script, enter the layer number below it.

  4. Check the printer accepts the command: M601 on Prusa printers, M600 or M125 on Marlin with advanced pause, PAUSE on Klipper.

  5. At the pause, press every insert fully down, glue magnets, check nothing sticks up, then resume.

  6. Watch the first layer after the pause until the pocket is covered.

What goes wrong, and the fix

Pause problems by symptom

From the Marlin documentation, the Cura 5.14.0 Pause at Height script, Prusa's knowledge base and blog, and 3D Printing Stack Exchange answers, read on 27 November 2026.
What you seeWhat it meansWhat to do
Nozzle hits the insert or knocks it outThe insert sticks up, or the pause came one layer lateDeeper pocket; check the layer in the preview again
Magnet pulled out of its pocketLoose fit; the magnet is drawn to the metal of the print headTighter pocket or a drop of superglue
Blob or burn mark where the print stoppedA plain M0 pause: the nozzle waits on the print, heaters on, without parkingUse M125 or M600, or switch on parking in Cura's script
Layers shifted after resumingThe motors switched off during the pause and lost positionKeep motors engaged in Cura; PAUSE_PARK_NO_STEPPER_TIMEOUT in Marlin
Thin line or gap right after the pauseFilament oozed out while parked, so the nozzle restarts emptyExtra prime in Cura's script; pull off the strand before resuming
Nozzle cold when you come backMarlin's heater timeout during M600 or M125, 45 s by defaultFirst click reheats, second click resumes
Old colour mixed into the new oneToo little purgePurge until the colour runs clean; Marlin purges 50 mm per round
The printer ignores the pauseThe firmware does not support the commandPick the command your firmware knows, or a display and firmware that support it

Add the pause in your slicer

  • PrusaSlicer (2.2 or newer): in the preview, move the layer slider to the layer, right-click the orange plus and choose Insert pause print (M601). Add a message for the printer screen, such as "insert magnets". A left-click on the plus adds a colour change instead. MK3 printers need firmware 3.9.1 or newer.

  • Bambu Studio: right-click the plus on the layer slider and choose Add Pause; the printer stops before that layer until you resume. Change Filament needs an AMS. Without one, tick Multi-Color Printing with External Spool in the print dialog and the printer pauses at each colour change for a manual spool swap (P1, A1, P2S and H2S series with recent firmware).

  • OrcaSlicer: the same right-click on the layer slider. Orca writes the Pause G-code from your printer profile (Printer settings, Machine G-code), so check it holds a command your firmware accepts; a printer that does not know the command simply prints on.

  • Creality Print 5: Creality forum members give the same answer: right-click the layer slider at the layer, then slice again so the pause is written into the file.

  • Cura: Extensions, Post Processing, Modify G-Code, Add a script, Pause at Height. Choose By Layer and enter the last layer to finish, or By Height. Pick the Pause Command for your firmware (M0, M25, M125, M226, @pause, PAUSE for Klipper and more), set Reason for Pause, and leave Park the PrintHead and Keep motors engaged on.

Avoid Cura's G4 dwell option for inserts: the printer waits a fixed time (5 minutes by default) and then carries on by itself, ready or not.

Pauses do not mix with one-by-one printing: PrusaSlicer and Bambu Studio disable them in sequential mode, and Cura's By Height allows only one pause in One at a Time mode.

Dora Strelko's tutorial adds a layer pause and a material change in Bambu Studio, PrusaSlicer and Cura, with a chapter for each slicer.

how to material swap & layer pause in Bambu, Prusa & Cura slicer (Dora Strelko)

Pick the layer that closes the pocket

Prusa's blog calls this a common mistake: users set the change one layer too high or too low. On a tall model, dragging the slider can jump several layers at once, as Bambu Lab forum users found. The up and down arrow keys move the slider one layer at a time in PrusaSlicer, Bambu Studio and OrcaSlicer.

Worked example: a disc magnet at 0.2 mm layers

You embed a disc magnet 10 mm across and 3 mm thick in a part printed with 0.2 mm layers throughout, first layer included.

  1. Pocket: 10.3 mm across, which is 0.15 mm clearance on each side, and 3.2 mm deep. It starts at 2.0 mm, so its open top is at 5.2 mm.

  2. Layers: the layer that ends at 5.2 mm is layer 26 and is the last one with an open pocket. Layer 27, from 5.2 to 5.4 mm, is the first one that bridges over it.

  3. Slicer: in PrusaSlicer, Bambu Studio or OrcaSlicer, put the pause on the layer at 5.4 mm. In Cura's By Layer mode, enter 26.

  4. Check: step one layer up and down in the preview. The layer before the pause must still show the open pocket; the layer with the pause must cover it.

The pocket is one layer, 0.2 mm, deeper than the magnet. The magnet's top ends at 5.0 mm, below the bridging layer, so the nozzle passes over it.

For a colour change

Give every colour at least two layers, because some filaments are translucent and the colour below shows through. Change only between filaments of the same type, PLA to PLA or PETG to PETG: different materials bond poorly, so the print will most likely fail (Prusa).

Size the pocket so the insert fits

  • Clearance. Prusa's blog gives 0.15 mm on every side for its MK3S profiles with a 0.4 mm nozzle and 0.15 mm layers, in depth as well. Too tight and the part will not go in mid-print; too loose and a nut rattles or spins. The tolerances and clearance guide shows how to find the value for your printer.

  • Cover. If the insert is hidden only for looks, two to three layers over it are enough (Prusa). If it has to resist being pulled out, place it deeper in the part. Whether a captive nut, a heat-set insert or a printed thread suits your part is covered in threads, nuts and inserts.

  • Magnets. Seat them firmly or add a drop of superglue, or they jump out and stick to the metal of the print head. Mark the polarity before the print, so every magnet goes in the right way up.

  • Large metal parts and weights. Spread a thin layer of glue stick on top, so the next layer sticks to the metal (Prusa).

Prusa's four-minute video shows the kinds of objects you can embed with a colour change or pause.

The Surprising Practical Uses of Color Change in PrusaSlicer (Prusa 3D)

Will your printer pause? The command per firmware

Pause and colour-change commands by firmware

From the Prusa, Marlin, Klipper and Bambu Lab documentation and the Bambu Studio 2.9.2 source, read on 27 November 2026.
FirmwarePauseColour changeWatch out for
Prusa printersM601, inserted by PrusaSlicer; parks the headM600No pauses or colour changes in sequential mode
MarlinM125 parks the head if PARK_HEAD_ON_PAUSE is built in; plain M0 stops in place without parkingM600, with ADVANCED_PAUSE_FEATURE, nozzle parking and a display or EMERGENCY_PARSERM0 is ignored without a display or EMERGENCY_PARSER; the heater switches off after 45 s of waiting in M600 or M125
KlipperPAUSE and RESUME from the [pause_resume] sectionNo built-in M600; the sample macros add onePAUSE stores the position; moving the head away is up to a macro
Bambu LabAdd Pause in Bambu StudioChange Filament with an AMS; external spool mode without oneAdd Pause is greyed out when printing By object

On Marlin, plain M0 is the trap: the nozzle waits on the print with the heaters on and no timeout, and leaves a blob and a burn mark. Use M125 for an insert and M600 for a filament swap. Klipper's sample M600 macro lifts the nozzle 10 mm, moves it to X50 Y0 and retracts 50 mm; adjust those values for your printer.

At the printer

  1. Have the inserts, tweezers and glue ready before the pause is due; the slicer shows the time until each pause.

  2. Wait until the nozzle has parked and stopped moving. Keep your hands away from the hot nozzle, and never move the head by hand.

  3. Place each insert and press it fully down. For a filament change, load the new filament, purge until the colour is clean and pull the strand off the nozzle.

  4. Check that nothing sticks up above the pocket, then resume from the printer or the app.

Keep the pause short. An accepted answer on the 3D Printing Stack Exchange points out that the next layer bonds better the sooner you resume.

When to stop

  • The nozzle catches an insert: pause or stop at once, before it tears the part off the plate. Make the pocket deeper and print again.

  • Extrusion stays poor after every resume: Creality forum users report this on the Ender-3 V3 KE, without a published fix. Test the pause on a small part before a long print; printing only the layers around the pocket is the quick way.

  • Layers shift after every pause: if you cannot keep the motors powered in the firmware, keep the pause under the printer's stepper timeout, which Cura's script describes as often 2 minutes.

The commands behind all this, including M600, are explained in the G-code commands you will edit. If you need the finished part rather than the practice, the 3D printing service prints PLA and PETG parts from your file.