CptanPanic
Posts: 3
Joined: Fri Jul 10, 2015 9:52 am

How to insert command after 1st layer?

I would like to add a "M117 Text..." command after the first layer. How can I do this?

Thanks.
User avatar
dkightley
Posts: 2405
Joined: Tue Mar 10, 2015 4:09 pm

Re: How to insert command after 1st layer?

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.
Doug Kightley
Volunteer at the National Tramway Museum http://www.tramway.co.uk
Railway modeller and webmaster at http://www.talkingtgauge.net
brian442
Posts: 1243
Joined: Mon Nov 28, 2016 5:35 am

Re: How to insert command after 1st layer?

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)

Return to “General Discussion and Tips”