From 29e01a698b9c0e1bb83274ab6e9e4ee2cf7192bb Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 9 Feb 2016 17:16:38 +0100 Subject: [PATCH] Match MIME types in printers with writer plugins The MIME types as specified in the printer definitions need to match the MIME types specified in the mesh writer plugins. Contributes to issue CURA-611. --- resources/machines/dual_extrusion_printer.json | 2 +- resources/machines/fdmprinter.json | 2 +- resources/machines/m180.json | 2 +- resources/machines/maker_starter.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/machines/dual_extrusion_printer.json b/resources/machines/dual_extrusion_printer.json index 3d386622be..4fce15a802 100644 --- a/resources/machines/dual_extrusion_printer.json +++ b/resources/machines/dual_extrusion_printer.json @@ -2,7 +2,7 @@ "version": 1, "id": "dual_extrusion", "name": "Dual Extrusion Base File", - "file_formats": "text/x-gcode;application/sla;prs.wavefront-obj;application/octet-stream", + "file_formats": "text/x-gcode;application/x-stl-ascii;application/x-stl-binary;application/x-wavefront-obj;application/x3g", "inherits": "fdmprinter.json", "visible": false, diff --git a/resources/machines/fdmprinter.json b/resources/machines/fdmprinter.json index c6e2a073d6..33259f5c54 100644 --- a/resources/machines/fdmprinter.json +++ b/resources/machines/fdmprinter.json @@ -5,7 +5,7 @@ "name": "FDM Printer Base Description", "author": "Ultimaker B.V.", "manufacturer": "Ultimaker", - "file_formats": "text/x-gcode;application/sla;prs.wavefront-obj;application/octet-stream", + "file_formats": "text/x-gcode;application/x-stl-ascii;application/x-stl-binary;application/x-wavefront-obj;application/x3g", "add_pages": [], diff --git a/resources/machines/m180.json b/resources/machines/m180.json index d7bde9f15f..7e31577ac2 100644 --- a/resources/machines/m180.json +++ b/resources/machines/m180.json @@ -5,7 +5,7 @@ "manufacturer": "Other", "icon": "icon_ultimaker.png", "platform": "", - "file_formats": "text/x-gcode", + "file_formats": "application/x3g", "inherits": "fdmprinter.json", "machine_settings": { diff --git a/resources/machines/maker_starter.json b/resources/machines/maker_starter.json index 5045008a23..7eaf0bc8f3 100644 --- a/resources/machines/maker_starter.json +++ b/resources/machines/maker_starter.json @@ -6,7 +6,7 @@ "author": "Other", "icon": "icon_ultimaker2.png", "platform": "makerstarter_platform.stl", - "file_formats": "text/x-gcode;application/sla;prs.wavefront-obj", + "file_formats": "text/x-gcode;application/x-stl-ascii;application/x-stl-binary;application/x-wavefront-obj", "inherits": "fdmprinter.json", "machine_settings": {