diff --git a/core/nodeslicer/nodes/mesh.py b/core/nodeslicer/nodes/mesh.py index 864892e..fa31780 100644 --- a/core/nodeslicer/nodes/mesh.py +++ b/core/nodeslicer/nodes/mesh.py @@ -867,7 +867,7 @@ def _apply_modifiers_to_so( if part_type != "NO_CHANGE": so.object_type = part_type if extruder != "NO_CHANGE": - so.extruder = extruder + so.extruder = int(extruder) if modifiers_dict: existing = {m['param_id']: str(m['param_value']) for m in getattr(so, 'modifiers', []) if m and 'param_id' in m} for k, v in modifiers_dict.items():