Thanks for your reply, the script function is to add M118 command after every ";LAYER:" command. Since the command context would be different due to different layer, the add g-code at every layer isn't suitable.
Edited by starlee0514- Solution
GregValiant 1,354
"Display Info on LCD" will be included in the next release of Cura. Adding the M118 line as:
;LAYER:0
M106 S0
M117 1/37 | ET 2h 6m
M118 1/37 | ET 2h 6m
Is one of the things it will do.
Unzip the file and place the "DisplayInfoOnLCD.py" file into your Configuration Folder and the "scripts" sub-folder. It will be available with the other post processors.
- 1
It's just what I want to do. Thanks for your help!
Recommended Posts
GregValiant 1,354
There are "Plugins" that are integrated into Cura and can affect the slicing and/or what goes on in the front end. "Mesh Tools" would be an example of one of those. They are generally available in the MarketPlace and need to be installed.
There are "Post Processors" that are simpler scripts that alter the gcode after slicing. They are selected from "Extensions | Post Processing | Modify Gcode" menu on an "as needed" basis. PauseAtHeight.py would be an example of one of those.
I guess the question becomes; at what point in the process would you need your changes to be made?
Link to post
Share on other sites