Difference between revisions of "SETTINGS/Printer/Custom G-Code/Read Filters"

From MatterControl Manual
Jump to: navigation, search
(Created page with "{{Slice Settings |This is a set of regular expressions to apply to lines after they are received from the printer. They will be applied in the order listed before sending. To...")
 
 
Line 1: Line 1:
 
{{Slice Settings
 
{{Slice Settings
  
|This is a set of regular expressions to apply to lines after they are received from the printer. They will be applied in the order listed before sending. To return more than one instruction separate them with a comma.|*Regular Expressions|
+
|A set of regular expressions to apply to lines as they are received from the printer.
  
}}
+
Used to replace G-Code commands with other commands.
 +
 
 +
=== Restrictions ===
 +
 
 +
*Only one replacement command is allowed.|*Regular Expressions|In this example, the Read Filter is looking for the output 'ok' from the printer. If one is found, it will be changed to 'ok test'.}}

Latest revision as of 12:40, 2 August 2017

A screenshot of the Read Filters setting as seen in MatterControl's SETTINGS pane.

Function

A set of regular expressions to apply to lines as they are received from the printer.

Used to replace G-Code commands with other commands.

Restrictions

  • Only one replacement command is allowed.

Parameters

  • Regular Expressions

Example(s)

In this example, the Read Filter is looking for the output 'ok' from the printer. If one is found, it will be changed to 'ok test'.

Read Filters-ss-ex.png