diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-03-08 19:15:10 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-03-08 19:15:10 +0300 |
commit | caf4efcc6c823d0cd52e15c2a8afaab43991efea (patch) | |
tree | ffa89dc0f2eeac15296b238c1d46371fb0bc495e /src/Storage/FileInfoParser.h | |
parent | 3e5156684effdcddfe0002b63cf32a7f9ca2f485 (diff) |
Support Fusion 360 slicer
Diffstat (limited to 'src/Storage/FileInfoParser.h')
-rw-r--r-- | src/Storage/FileInfoParser.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Storage/FileInfoParser.h b/src/Storage/FileInfoParser.h index e3ff0b6e..504fed18 100644 --- a/src/Storage/FileInfoParser.h +++ b/src/Storage/FileInfoParser.h @@ -55,11 +55,12 @@ private: // G-Code parser methods bool FindHeight(const char* bufp, size_t len) noexcept; bool FindFirstLayerHeight(const char* bufp, size_t len) noexcept; - bool FindLayerHeight(const char* bufp, size_t len) noexcept; - bool FindSlicerInfo(const char* bufp, size_t len) noexcept; - bool FindPrintTime(const char* bufp, size_t len) noexcept; - bool FindSimulatedTime(const char* bufp, size_t len) noexcept; - unsigned int FindFilamentUsed(const char* bufp, size_t len) noexcept; + bool FindLayerHeight(const char* bufp) noexcept; + bool FindSlicerInfo(const char* bufp) noexcept; + bool FindPrintTime(const char* bufp) noexcept; + bool FindSimulatedTime(const char* bufp) noexcept; + unsigned int FindFilamentUsed(const char* bufp) noexcept; + void FindFilamentUsedEmbedded(const char* p, const char *s1, const char *s2, unsigned int &filamentsFound) noexcept; // We parse G-Code files in multiple stages. These variables hold the required information Mutex parserMutex; |