OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

After Layer Change G-Code position to be after Z moves to the new layer.

Open Kellwaxx11 opened this issue 1 year ago • 0 comments

Is there an existing issue for this feature request?

  • [X] I have searched the existing issues

Is your feature request related to a problem?

I noticed it because I use klipper macro to log Z position on each layer change

As of now the BEFORE & AFTER are executed after each other directly, making no difference if you use the Before or After one from Z height prespective

example g-code

;LAYER_CHANGE
;Z:0.6
;HEIGHT:0.4
;BEFORE_LAYER_CHANGE
M117 2/40 @ 0.6mm

G10 ; retract
EXCLUDE_OBJECT_END NAME=Vesa_Extenstion.stl_id_0_copy_0
;AFTER_LAYER_CHANGE
M117 2/40 @ 0.6mm
LOG_Z
;_SET_FAN_SPEED_CHANGING_LAYER
; printing object Vesa Extenstion.stl id:0 copy 0
EXCLUDE_OBJECT_START NAME=Vesa_Extenstion.stl_id_0_copy_0
G1 X158.507 Y126.667 Z.6 F9000
G11 ; unretract


Which printers will be beneficial to this feature?

Klipper

Describe the solution you'd like

I believe the order should be

;BEFORE_LAYER_CHANGE Z 0.6 ; moving Z to the new layer_z ;AFTER_LAYER_CHANGE

Describe alternatives you've considered

No response

Additional context

No response

Kellwaxx11 avatar Apr 26 '24 13:04 Kellwaxx11