If I try to use the {IF ... statement in any script S3D V5.0.2 doesn't interpret it and (if true) just put the gCode after the closing bracket "}" into the gCode output file but the whole line including everything inside the brackets, no matter if it's true or not. Here's an example which ...