Skip to content

Commit

Permalink
metadata: Add support to extract metadata from g-code files generated…
Browse files Browse the repository at this point in the history
… by QIDISlicer

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

Signed-off-by: Nick Gon <[email protected]>
  • Loading branch information
shakalagoons committed Jun 5, 2024
1 parent 346a3d7 commit 5d85f4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moonraker/components/file_manager/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5d85f4f

Please sign in to comment.