Custom G-code to show Layer height
 
Notifications
Clear all

Custom G-code to show Layer height  

  RSS
hackebike
(@hackebike)
New Member
Custom G-code to show Layer height

Hello,

I would like to set some Custom G-code to show Layer height inside the exported G-code.

What is the syntax to be used?

thx

Posted : 22/10/2019 10:00 pm
Nikolai
(@nikolai)
Noble Member
RE: Custom G-code to show Layer height

In the default configuration there is already a comment placed with a line number.

Do you want to have additional comment line in gcode or do you want to display something special on screen during print (based on the layer height)?

Often linked posts:
Going small with MMU2
Real Multi Material
My prints on Instagram...
Posted : 22/10/2019 10:11 pm
hackebike
(@hackebike)
New Member
Topic starter answered:
RE: Custom G-code to show Layer height

not line number, I am looking at generating G-code which has the layer # for each layer block, so that I have a reference of each layer in G-Code.

I would like to add code in the Custom G-code section that generates the above info into G-Code.

thx

This post was modified 2 years ago by hackebike
Posted : 23/10/2019 2:30 pm
Share: