Write Filters

From MatterControl Manual
< SETTINGS‎ | Printer‎ | Custom G-Code
Revision as of 12:38, 2 August 2017 by MatterHackers (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
A screenshot of the Write Filters setting as seen in MatterControl's SETTINGS pane.

Function

A set of regular expressions to apply to lines prior to sending to a printer. They will be applied in the order listed before sending. To return more than one instruction separate them with a comma.

Used to replace G-Code commands with other commands.

Parameters

  • Regular Expressions

Typical Data Format

"^(X)","Y" where X is the G-Code you want to filter or change, and Y is the G-Code command(s) to replace X with.

Example(s)

In this example, the command 'G28' is replaced with 'G28,M280 P0 S160,G4...'.

Write Filters-ss-ex.png