summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2023-02-08 10:46:37 +0100
committerBastien Nocera <hadess@hadess.net>2024-04-06 10:35:37 +0200
commitc30701fc155fd67517adbf4d79a73a30971ff3c5 (patch)
treef3353a7367180f5ad8d41e131f6c27973eb7be38 /data
parent091b9b604fd29b622067afb6a69fb63109c978e5 (diff)
Add STEP 3D model mime-type
Add mime-type for STEP 3D models as per Wikipedia page: https://en.wikipedia.org/wiki/ISO_10303-21 Note that this doesn't include support for STEP-XML files (https://en.wikipedia.org/wiki/ISO_10303-28) as it's a separate filetype. STEP+ZIP was ommitted because of the lack of information and examples about the format.
Diffstat (limited to 'data')
-rw-r--r--data/freedesktop.org.xml.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index c24b80e..560675d 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -8316,6 +8316,16 @@ command to generate the output files.
<alias type="model/x.stl-binary"/>
</mime-type>
+ <mime-type type="model/step">
+ <comment>STEP 3D model</comment>
+ <generic-icon name="image-x-generic"/>
+ <glob pattern="*.step"/>
+ <glob pattern="*.stp"/>
+ <magic>
+ <match type="string" value="ISO-10303-21;" offset="0"/>
+ </magic>
+ </mime-type>
+
<mime-type type="text/x.gcode">
<comment>G-code file</comment>
<sub-class-of type="text/plain"/>