WZ9V
Posts: 8
Joined: Sun May 29, 2016 12:14 pm

Add layer placeholders to G-Code layer change scripts

Could you add two placeholders in the G-Code layer change scripts?

I'd like to see
[layer] - current layer number
[layers] - total number of layers

This would allow something like
M117 Printing layer [layer] of [Layers]

To display I for on the LCD or terminal without having to use a post processing script.
Lagbert
Posts: 26
Joined: Sat May 28, 2016 12:20 am

Re: Add layer placeholders to G-Code layer change scripts

+1 to WZ9V's idea

Additionally, adding the ability to control the frequency with which the layer change script is run would be helpful. For example, I want to run my hot end over a cleaning brush, but I don't want to do it every layer. Having the ability to tell simplify to only run the script every X layers begin with layer Y would be helpful.
aplocher
Posts: 2
Joined: Sun Dec 03, 2017 9:31 pm
Location: Sacramento, CA

Re: Add layer placeholders to G-Code layer change scripts

Did you guys ever figure this out? Take a look at Shaqfu's reply here: https://forum.simplify3d.com/viewtopic.php?f=8&t=1959 .

He got it to show the layer # (but not the total, which is what I'm looking for) with these commands added to the "Additional terminal commands for post processing" textbox. He has a pic and more details too, but no total still ... :

{REPLACE "; layer" "M117 Layer"}
{REPLACE " Z = " " Z="}

Return to “Feature Requests”