Ignoring start/end codes from GCODE Visualizer

I'd like to exclude start and end codes added by Cura from what is shown by GCODE Visualizer. Is there a plugin that can do this? If not, would it be possible to add 2 extra settings to GCODE Visualizer:

  • Ignore first < arg1 > lines
  • Ignore last < arg2 > lines


You might try just commenting them out programmatically by hooking into the gcode stream. Obviously, ignoring the first N lines is easier.

@OutsourcedGuru Thanks! Will need to find out how to do that without affecting GCODE sent to the printer.