From 5d85f4f8a1467332561b88845b6708c9b5be56f0 Mon Sep 17 00:00:00 2001 From: Nick Gon <36044888+shakalagoons@users.noreply.github.com> Date: Wed, 5 Jun 2024 09:11:03 +0200 Subject: [PATCH] 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 --- moonraker/components/file_manager/metadata.py | 1 + 1 file changed, 1 insertion(+) diff --git a/moonraker/components/file_manager/metadata.py b/moonraker/components/file_manager/metadata.py index 31c1e42c1..af48d7b08 100644 --- a/moonraker/components/file_manager/metadata.py +++ b/moonraker/components/file_manager/metadata.py @@ -313,6 +313,7 @@ def check_identity(self, data: str) -> Optional[Dict[str, str]]: 'SliCR-3D': r"SliCR-3D\s(.*)\son", 'BambuStudio': r"BambuStudio[^ ]*\s(.*)\n", 'A3dp-Slicer': r"A3dp-Slicer\s(.*)\son", + 'QIDISlicer': r"QIDISlicer\s(.*)\son", } for name, expr in aliases.items(): match = re.search(expr, data)