Check tool existence
TC last edited by
I want to test how many tools are configured in the start.g to set their temperatures.
if tools.state != null
but seams to be wrong. Any ideas?
if #tools > 1 && tools != null
The first condition tests whether the array is long enough so that tools is within the bounds of the array, the second tests whether there is actually a tool in that position.
deckingman last edited by
@TC I want to do almost exactly the same thing but I haven't had time to look at conditional gcode. May I ask you to share your "script" once you get it working please? Thanks in advance.