Notifications
Clear all

[Solved] Some action at some height:  

  RSS
PPRRUUSSAA
(@pprruussaa)
Trusted Member
Some action at some height:

Inserted this custom g-code after layer change:

;AFTER_LAYER_CHANGE
;New Layer: [layer_z]

{if layer_z=109.2};
M300 ; beep
{endif}

brings this error message:

!!!!! Failed to process the custom G-code template layer_gcode
Parsing error at line 4.
{if layer_z=109.2}
^
!!!!! End of an error report for the custom G-code template layer_gcode

What I am doing wrong? Is this only code for slic3r? Thx - Carsten

This topic was modified 4 years ago by PPRRUUSSAA
Posted : 27/10/2019 11:30 am
Holger
(@holger-2)
Honorable Member
RE: Some action at some height:

look here "==": https://github.com/prusa3d/PrusaSlicer/wiki/Slic3r-Prusa-Edition-Macro-Language

2x Personal MK3IR-BMG09 (Full) BEAR + MMU3 mod., ...

Posted : 27/10/2019 11:55 am
Share: