Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PostProcessingPlugin/scripts/SearchAndReplace.py')
-rw-r--r--plugins/PostProcessingPlugin/scripts/SearchAndReplace.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/plugins/PostProcessingPlugin/scripts/SearchAndReplace.py b/plugins/PostProcessingPlugin/scripts/SearchAndReplace.py
index 68d697e470..b601a037da 100644
--- a/plugins/PostProcessingPlugin/scripts/SearchAndReplace.py
+++ b/plugins/PostProcessingPlugin/scripts/SearchAndReplace.py
@@ -5,11 +5,14 @@ import re #To perform the search and replace.
from ..Script import Script
-## Performs a search-and-replace on all g-code.
-#
-# Due to technical limitations, the search can't cross the border between
-# layers.
+
class SearchAndReplace(Script):
+ """Performs a search-and-replace on all g-code.
+
+ Due to technical limitations, the search can't cross the border between
+ layers.
+ """
+
def getSettingDataString(self):
return """{
"name": "Search and Replace",