Z hop on retract (retraction_z_hop)

Z hop on retract is a number in mm. PrusaSlicer accepts 0 mm or more; Bambu Studio, OrcaSlicer and Creality Print accept 0 to 5 mm; Cura declares no range.

What does each slicer call it?

Five slicers, five spellings of one setting. The scope column is which preset the key belongs to, which is what decides whether changing it follows the printer, the filament, or the print profile.

Slicer Key Scope
PrusaSlicer retract_lift machine
Bambu Studio z_hop machine
OrcaSlicer z_hop machine
Cura retraction_hop process
Creality Print z_hop machine

What does each slicer say about it?

Each slicer offers its own values, so each gets its own line.

  • PrusaSlicer: Z hop in mm: the nozzle rises this much before travelling, to avoid dragging across the print. 0 turns it off.
  • Bambu Studio: Height in mm the nozzle lifts on retraction, to clear the print while traveling. Prevents scraping but adds travel time.
  • OrcaSlicer: Lift of the nozzle on each retract, in mm. It clears the print on travel moves. Raise it to stop nozzle strikes.
  • Cura: Height the nozzle lifts during a Z hop, in mm. Lift enough to clear printed parts while traveling.
  • Creality Print: Lift height in mm, 0 to 5, when the nozzle retracts. Prevents dragging on the print during travel; higher costs time.

Where does it live in the file?

The slicers file this under different presets: PrusaSlicer, Bambu Studio, OrcaSlicer and Creality Print under machine, Cura under process. That is why the value can survive a profile change in one slicer and not in another. A .3mf is a zip, so unzip it and search for retract_lift, z_hop and retraction_hop, or open the file in preslice and read the Raw tab, which searches every member at once.

Four of the five slicers write their settings into a sidecar part beside the geometry. Cura writes them into the model XML itself, so there is no config part to open.

Slicer Part Format
PrusaSlicer Metadata/Slic3r_PE.config INI, one key = value per line
Bambu Studio Metadata/project_settings.config JSON, one flat object
OrcaSlicer Metadata/project_settings.config JSON, one flat object
Cura 3D/3dmodel.model XML metadata inside the model part, under a cura namespace
Creality Print Metadata/project_settings.config JSON, one flat object

What values are valid?

Each slicer declares its own type, default, and bounds for its key. They do not always agree, and where they disagree the file is still valid in both: the slicer that wrote it is the one that enforced its own rule.

Slicer Type Unit Default Range
PrusaSlicer floats mm 0 0 or more
Bambu Studio floats mm not declared 0 to 5
OrcaSlicer floats mm not declared 0 to 5
Cura float mm 2 not declared
Creality Print floats mm 0 0 to 5

Cura declares no range for this key, so nothing in the file bounds it.

The slicers disagree on the type: Cura as float, PrusaSlicer, Bambu Studio, OrcaSlicer and Creality Print as floats. preslice reads all of them.

Every type, default, and bound above is read from the slicer's own field definitions rather than from measurement: PrusaSlicer's PrintConfig.cpp, Bambu Studio's PrintConfig.cpp, OrcaSlicer's PrintConfig.cpp, Cura's fdmprinter.def.json and Creality Print's PrintConfig.cpp.

Can I read it from my own file?

Yes, without installing a slicer. Open preslice and drop a .3mf on the page. It unzips and parses the file in your browser, and shows z hop on retract under its own name alongside the rest of the print settings. The file stays in your browser; see what leaves it.