[
https://issues.apache.org/jira/browse/TIKA-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17830860#comment-17830860
]
Tim Allison commented on TIKA-4223:
-----------------------------------
So, the one microsoft stl that I can find online:
http://ctldl.windowsupdate.com/msdownload/update/v3/static/trustedr/en/authrootstl.cab
is the wrapper. The stl file is actually a {{application/pkcs7-signature}}.
Further, when I google or duckduckgo "stl" and file format, the answer is far
and away this shape format, not the vnd.ms-pki.stl.
So, I propose, moving the glob for ".stl" from vnd.ms-pki.stl to
{{model/x.stl-binary}}.
> STL file exported with OpenSCAD not detected correctly
> ------------------------------------------------------
>
> Key: TIKA-4223
> URL: https://issues.apache.org/jira/browse/TIKA-4223
> Project: Tika
> Issue Type: Improvement
> Affects Versions: 2.9.1
> Reporter: Robin Schimpf
> Priority: Major
> Attachments: linear_extrude_ascii.stl, linear_extrude_binary.stl
>
>
> STL files can be in ASCII or in binary format. Exporting this file
> ([https://github.com/openscad/openscad/blob/master/examples/Basics/linear_extrude.scad)]
> with OpenSCAD into STL the ASCII result file is detected as text/plain.
> Also the binary STL is detected with application/vnd.ms-pki.stl which differs
> from the model/stl mime-type Wikipedia lists for those files.
>
> Used commands for attached files
> {code:java}
> openscad.exe --export-format asciistl -o result\linear_extrude_ascii.stl
> examples\Basics\linear_extrude.scad {code}
> {code:java}
> openscad.exe --export-format binstl -o result\linear_extrude_binary.stl
> examples\Basics\linear_extrude.scad
> {code}
> Refs:
> https://en.wikipedia.org/wiki/STL_(file_format)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)