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

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-03-08 11:09:27 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-03-08 11:09:27 +0300
commit8baa7670739e539319385bbd2a32c0581df748a3 (patch)
treea855771f1e13c1f68fe8f4c0dfe4c5709462e4ca /src/Storage
parent4a36bbbb9f40ce72a86c5444f44dd91fb8044f8b (diff)
Added support for Kiro Moto slicer
Diffstat (limited to 'src/Storage')
-rw-r--r--src/Storage/FileInfoParser.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Storage/FileInfoParser.cpp b/src/Storage/FileInfoParser.cpp
index 5a3a42ba..9a94203b 100644
--- a/src/Storage/FileInfoParser.cpp
+++ b/src/Storage/FileInfoParser.cpp
@@ -537,7 +537,8 @@ bool FileInfoParser::FindLayerHeight(const char *bufp, size_t len) noexcept
"Layer height", // Cura
"layerHeight", // S3D
"layer_thickness_mm", // Kisslicer
- "layerThickness" // Matter Control
+ "layerThickness", // Matter Control
+ "sliceHeight" // kiri:moto
};
if (*bufp != 0)
@@ -555,7 +556,7 @@ bool FileInfoParser::FindLayerHeight(const char *bufp, size_t len) noexcept
}
const char c = pos[-1]; // fetch the previous character
- pos += strlen(lhStr); // skip the string we matched
+ pos += strlen(lhStr); // skip the string we matched
if (c == ' ' || c == ';' || c == '\t') // check we are not in the middle of a word
{
while (strchr(" \t=:,", *pos) != nullptr) // skip the possible separators
@@ -585,7 +586,8 @@ bool FileInfoParser::FindSlicerInfo(const char* bufp, size_t len) noexcept
";Sliced by ", // ideaMaker
"; KISSlicer", // KISSlicer
";Sliced at: ", // Cura (old)
- ";Generated with " // Cura (new)
+ ";Generated with ", // Cura (new)
+ "; Generated by " // kiri:moto
};
size_t index = 0;