summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2022-03-17 19:43:48 +0000
committerVille Skyttä <ville.skytta@iki.fi>2022-03-22 16:34:10 +0000
commit26a3e2f8dc0fd32526a4ad930cadb5d2cae52e74 (patch)
tree93b940bce36a2b1d0aa25c061a404cd3bb4e9bd3
parentb3cc22c31fe35cefd47b3d55a92dc02be0f4eff4 (diff)
downloadshared-mime-info-26a3e2f8dc0fd32526a4ad930cadb5d2cae52e74.tar.gz
model/3mf: new
https://3mf.io/specification/
-rw-r--r--data/freedesktop.org.xml.in9
-rw-r--r--tests/mime-detection/cube.3mfbin0 -> 1566 bytes
-rw-r--r--tests/mime-detection/list2
3 files changed, 11 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 1e105623..2c09cdb0 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -7721,6 +7721,15 @@ command to generate the output files.
</mime-type>
<!-- 3D models and GCODEs -->
+ <mime-type type="model/3mf">
+ <comment>3MF document</comment>
+ <acronym>3MF</acronym>
+ <expanded-acronym>3D Manufacturing Format</expanded-acronym>
+ <glob pattern="*.3mf"/>
+ <alias type="application/vnd.ms-3mfdocument"/>
+ <sub-class-of type="application/zip"/>
+ </mime-type>
+
<mime-type type="model/stl">
<comment>STL 3D model</comment>
<acronym>STL</acronym>
diff --git a/tests/mime-detection/cube.3mf b/tests/mime-detection/cube.3mf
new file mode 100644
index 00000000..24333ebb
--- /dev/null
+++ b/tests/mime-detection/cube.3mf
Binary files differ
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index ec35b866..ac907977 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -849,6 +849,8 @@ dbus.service text/x-dbus-service
dbus-comment.service text/x-dbus-service
# 3D models and GCODEs
+# "cube(10);" exported by OpenSCAD
+cube.3mf model/3mf ox
binary.stl model/stl oxo
ascii.stl model/stl
test.gcode text/x.gcode ox