Put in regex read write translation code

This commit is contained in:
Lars Brubaker 2017-06-29 09:47:34 -07:00
parent 10223878f5
commit 9635b3308b
17 changed files with 173 additions and 34 deletions

View file

@ -361,6 +361,10 @@ Advanced
cancel_gcode
On Connect G-Code
connect_gcode
Write Filters
write_regex
Read Filters
read_regex
Extruder
Extruder X
nozzle_diameter

View file

@ -1325,6 +1325,32 @@
"DataEditType": "MULTI_LINE_TEXT",
"DefaultValue": "G28 ; home all axes\\nG1 Z5 F5000 ; lift nozzle"
},
{
"QuickMenuSettings": [ ],
"SetSettingsOnChange": [ ],
"SlicerConfigName": "write_regex",
"PresentationName": "Write RegEx",
"HelpText": "This is 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 comma.",
"DataEditType": "MULTI_LINE_TEXT",
"ExtraSettings": "",
"ShowAsOverride": true,
"ShowIfSet": null,
"ResetAtEndOfPrint": false,
"DefaultValue": ""
},
{
"QuickMenuSettings": [ ],
"SetSettingsOnChange": [ ],
"SlicerConfigName": "read_regex",
"PresentationName": "Recieve RegEx",
"HelpText": "This is a set of regular expressions to apply to lines after they are recived from the printer. They will be applied in order to each line recieved.",
"DataEditType": "MULTI_LINE_TEXT",
"ExtraSettings": "",
"ShowAsOverride": true,
"ShowIfSet": null,
"ResetAtEndOfPrint": false,
"DefaultValue": ""
},
{
"SlicerConfigName": "start_perimeters_at_concave_points",
"PresentationName": "Start At Concave Points",