Page 1 of 1

How to insert command after 1st layer?

Posted: Tue Aug 08, 2017 4:53 pm
by CptanPanic
I would like to add a "M117 Text..." command after the first layer. How can I do this?

Thanks.

Re: How to insert command after 1st layer?

Posted: Tue Aug 08, 2017 5:19 pm
by dkightley
Have a read of this thread: viewtopic.php?f=23&t=5128&p=33199&hilit=replace#p33199

Its about inserting a pause at a certain point......and what you want is very similar to what is explained there, but obviously the replaced code in the instruction is different.

Re: How to insert command after 1st layer?

Posted: Wed Aug 09, 2017 8:44 am
by brian442
Yup, there's lots of threads about this stuff already (good info here too: viewtopic.php?f=8&t=1959)

Probably going to look something like: {REPLACE "; layer 2," "M117 Text\n; layer 2,"}

That puts M117 command right at the end of the first layer (before starting the 2nd layer)