Skip to content

Nozzle Lowers Dangerously Before First XY Move #10964

@SamBytess

Description

@SamBytess

Is there an existing issue for this problem?

  • I have searched the existing issues

OrcaSlicer Version

2.3.0

Operating System (OS)

Windows

OS Version

Windows 11

Additional system information

No response

Printer

Ender 6 with Biqu H2 V2 Extruder

How to reproduce

  1. Enable Z-hop (e.g., 0.4 mm) in Print Settings → Retraction.

  2. Slice any model.

  3. Inspect the generated G-code just after the start G-code and prime line.

  4. Observe this line before the first XY movement:
    G1 Z.6 F9000

  5. Set Z-hop = 0 mm and re-slice — the line disappears.

Actual results

When Z-hop is enabled (e.g., 0.4 mm), OrcaSlicer inserts the following G-code line just before the first XY move:

  `G1 Z.6 F9000   ; (G1 Z{ZHop+0.2} F9000)`

This causes the nozzle to lower unnecessarily and dangerously before moving to the first XY location to start printing.
The nozzle has already been raised by the PRIME_LINE macro in the start G-code, so it should remain high until the printer reaches the first print location.
When Z-hop is set to 0 mm, this line does not appear.

Expected results

While Z remains high, the printer should move to the first print location first, and only then lower Z to start printing the model’s first layer.
The correct move should simply be:

G1 F9000

(without any Z movement).

Project file & Debug log uploads

ZHopTestCube.zip

Checklist of files to include

  • Log file
  • Project file

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions