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:
authorNino van Hooff <ninovanhooff@gmail.com>2020-05-08 17:28:07 +0300
committerNino van Hooff <ninovanhooff@gmail.com>2020-05-08 17:28:07 +0300
commita4fe3d7685b677dd121262b2a1b137c33ba7ecd3 (patch)
tree1ce47d2049cdd9a0ff61b8ccaf630c7e3602e1c0 /plugins/PostProcessingPlugin/scripts/SearchAndReplace.py
parent553b09b6cf35568e1ee791cc4c2bab8026872ae7 (diff)
Convert doxygen to rst for POS, MonitorStage, PostProcessing
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",