metadata: Add support to extract metadata from g-code files generated by QIDISlicer

This PR adds support to extract metadata from the g-code files generated by QIDISlicer

Signed-off-by: Nick Gon <albatar@trance.fr>
This commit is contained in:
Nick Gon 2024-06-05 09:11:03 +02:00 committed by Eric Callahan
parent 4d6037c3d3
commit 2dbea4f4cd
1 changed files with 1 additions and 0 deletions

View File

@ -313,6 +313,7 @@ class PrusaSlicer(BaseSlicer):
'SliCR-3D': r"SliCR-3D\s(.*)\son", 'SliCR-3D': r"SliCR-3D\s(.*)\son",
'BambuStudio': r"BambuStudio[^ ]*\s(.*)\n", 'BambuStudio': r"BambuStudio[^ ]*\s(.*)\n",
'A3dp-Slicer': r"A3dp-Slicer\s(.*)\son", 'A3dp-Slicer': r"A3dp-Slicer\s(.*)\son",
'QIDISlicer': r"QIDISlicer\s(.*)\son",
} }
for name, expr in aliases.items(): for name, expr in aliases.items():
match = re.search(expr, data) match = re.search(expr, data)