Error while setting up tool change
Clear all

Error while setting up tool change  

New Member
Error while setting up tool change

Hello, I wanted to set up a printer profile in Prusaslicer for printing with two materials. There was a working script in Simplify3D to change the nozzle "{IF NEWTOOL = 1} T11 I8 S1 R1;
{IF NEWTOOL = 0} T10 I8 S1 R1; ", but Prusaslicer gets an error when cutting:

"G-code export to C:\Users\3EC2~1\AppData\Local\Temp\.8812.gcode failed due to invalid custom G-code sections: toolchange_gcode Parsing error at line 1: Not a variable name {if newtool = 0}T10 I8 S1 R1 ^ Please inspect the file C:\Users\3EC2~1\AppData\Local\Temp\.8812.gcode.tmp for error messages enclosed between !!!!! Failed to process the custom G-code template ... and !!!!! End of an error report for the custom G-code template ... for all macro processing errors."


Please tell me what it is connected with and how to fix it? I was looking for where the variables for changing the tool are described, but did not find it.
Thanks in advance!

Posted : 21/06/2021 11:10 am
Illustrious Member
RE: Error while setting up tool change

the NEWTOOL is a Simplify3D specific parameter.  PS doesnt know what it means and so generates an error.

I dont have a multi tool setup so cant advise on the correct nomenclature needed.  

Posted : 21/06/2021 2:18 pm