on the gcode side of things.
comment out the lines you want to remove and see what happens.
to commen out - just put a ';' at the start of the line and s3d will ignore it.
This way you keep...