Browse Source

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.
Ghostkeeper 9 years ago
parent
commit
29e01a698b

+ 1 - 1
resources/machines/dual_extrusion_printer.json

@@ -2,7 +2,7 @@
     "version": 1,
     "version": 1,
     "id": "dual_extrusion",
     "id": "dual_extrusion",
     "name": "Dual Extrusion Base File",
     "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",
     "inherits": "fdmprinter.json",
 
 
     "visible": false,
     "visible": false,

+ 1 - 1
resources/machines/fdmprinter.json

@@ -5,7 +5,7 @@
     "name": "FDM Printer Base Description",
     "name": "FDM Printer Base Description",
     "author": "Ultimaker B.V.",
     "author": "Ultimaker B.V.",
     "manufacturer": "Ultimaker",
     "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": [],
     "add_pages": [],
 
 

+ 1 - 1
resources/machines/m180.json

@@ -5,7 +5,7 @@
     "manufacturer": "Other",
     "manufacturer": "Other",
     "icon": "icon_ultimaker.png",
     "icon": "icon_ultimaker.png",
     "platform": "",
     "platform": "",
-    "file_formats": "text/x-gcode",
+    "file_formats": "application/x3g",
     "inherits": "fdmprinter.json",
     "inherits": "fdmprinter.json",
 
 
     "machine_settings": {
     "machine_settings": {

+ 1 - 1
resources/machines/maker_starter.json

@@ -6,7 +6,7 @@
     "author": "Other",
     "author": "Other",
     "icon": "icon_ultimaker2.png",
     "icon": "icon_ultimaker2.png",
     "platform": "makerstarter_platform.stl",
     "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",
     "inherits": "fdmprinter.json",
 
 
     "machine_settings": {
     "machine_settings": {