Fix Z offset for 1st layer #1945

Closed
opened 2026-04-05 21:32:12 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @kisslorand on 10/10/2025

Description

Fixes #11002: Z offset for first layer.

Later edit: Actually it fixes more than that, it prevents a possible nozzle crash into the printed object after a toolchange if Z offset is set to non zero in Orca. (it is a bug not to be ignored!)

Screenshots/Recordings/Graphs

For the sake of tests let's assume a Z offset of 1mm, layer height 0.2mm.


Before:

G1 X115.18 Y115.27 F18000 ; move to first skirt point
G1 Z1.6 ; move to first skirt point
G1 Z.2 ; force restore Z after unknown last pos

After:

G1 X115.18 Y115.27 F18000 ; move to first skirt point
G1 Z1.6 ; move to first skirt point
G1 Z1.2 ; ensure Z matches planned layer height

Tests

Local build, slicing a test cube.

*Originally created by @kisslorand on 10/10/2025* # Description Fixes #11002: Z offset for first layer. Later edit: Actually it fixes more than that, it prevents a possible nozzle crash into the printed object after a toolchange if Z offset is set to non zero in Orca. (it is a bug not to be ignored!) # Screenshots/Recordings/Graphs __For the sake of tests let's assume a Z offset of 1mm, layer height 0.2mm.__ --- Before: ``` G1 X115.18 Y115.27 F18000 ; move to first skirt point G1 Z1.6 ; move to first skirt point G1 Z.2 ; force restore Z after unknown last pos ``` After: ``` G1 X115.18 Y115.27 F18000 ; move to first skirt point G1 Z1.6 ; move to first skirt point G1 Z1.2 ; ensure Z matches planned layer height ``` --- ## Tests Local build, slicing a test cube.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#1945