marcin wrote:While pause you could insert foreign objects into the print (like a nut or something) and then continue printing.
S3D already has a way to do this. Look at earlier posts in this thread.
For example, to pause at layer 50, just add the following to your post-processing script
{REPLACE "; layer 50," "M0\n; layer 50,"}
That will add an M0 command right at the start of layer 50, and the S3D team added this feature so that the print will automatically pause when that command is encountered. This only works for gcode machines obviously, but I've used it many times to insert a nut into the print or something like that.