Page 1 of 1

How can I insert extra command at first layer?

Posted: Mon Sep 14, 2020 11:26 pm
by hyungjun
I would like to insert extra extruder command at first layer .

I tried to put below command at Layer Change Script.
but it didn't work.

; test layer change
[current_layer] ; current layer
{IF [current_layer]=1}G1 E0 ; move start position


This script worte in g-code like
; test layer change
;1 current layer
{IF 1=1}G1 E0 ; move start position

I want to get g-code like this
; test layer change
;1 current layer
G1 E0 ; move start position

How can I get gcode that I want?
Please help..