So I've been studying the makerbot purgewall more. One thing they do is to retract a lot more filament on toolchange. I tried it out and it seems to work pretty well to avoid the ooze over the print while the 2nd extruder is printing.
So to reproduce this with layer change and toolchange scripts I think there are some things you can't quite accomplish but I haven't worked it out all the way yet.
* You need to somehow know which tool in the script is being activated so that you can deprime the opposite tool.
* You need to be able to move to different locations based on the tool for your walls
* I don't know if you deprime an extra amount if S3D will reprime automatically the right amount when it starts again.. I guess you could do this in your script though but again you have to know which tool is being activated.
* Position of model would be nice but otherwise you have to move your prime to the very edge but really it just needs to be slightly off the edge of the model.
* others?