diff --git a/core/nodeslicer/nodes.py b/core/nodeslicer/nodes.py index 8582808..3740ae7 100644 --- a/core/nodeslicer/nodes.py +++ b/core/nodeslicer/nodes.py @@ -1192,6 +1192,11 @@ class ExecSliceNode_DatabaseSubmit(ExecSliceNode): if weight_match: fields["Weight per print"] = int(float(weight_match.group(1))) + # 4. Profile for reference + profile_match = re.search(r"; printer_settings_id = (.*)", gc) + if profile_match: + fields["Printer Profile"] = profile_match.group(1) + # Detect binary trigger in gcode comments is_binary = "; binary_gcode = 1" in gc