-
When looking at the G-code preview, the base layer is '1'
Its causing me a little confusion, when I insert my colour change script. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Everything in software computing began at 0. in your custom gcode, you can do math, so you can "+1" things. |
Beta Was this translation helpful? Give feedback.
-
I've been busy in the layer change G-code , and google G-Code script language, but struggling, can you suggest good reference for language. I've so far tried all combinations ( { [ |
Beta Was this translation helpful? Give feedback.
-
OK, got it. The one combination I did not think of - stripping off the [ ] square brackets |
Beta Was this translation helpful? Give feedback.
-
I need to know if there is a placeholder for the total number of layers. |
Beta Was this translation helpful? Give feedback.
OK, got it.
M117 Layer {layer_num +1}, z = [layer_z]
The one combination I did not think of - stripping off the [ ] square brackets
Many thanks for link. What a goo resource.