Просмотр исходного кода

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 лет назад
Родитель
Сommit
29e01a698b

+ 1 - 1
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,

+ 1 - 1
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": [],
 

+ 1 - 1
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": {

+ 1 - 1
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": {