-
Notifications
You must be signed in to change notification settings - Fork 794
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TIKA-4223 -- add detection of stl (#1691)
* TIKA-4223 -- add detection for binary and text based stl (cherry picked from commit 9d45b69)
- Loading branch information
Showing
5 changed files
with
38 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...ka-parsers-standard-package/src/test/resources/test-documents/testSTL-ascii.stl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
solid OpenSCAD_Model | ||
facet normal 0 0 -1 | ||
outer loop | ||
vertex -10 -35 0 | ||
vertex 10 -25 0 | ||
vertex 10 -35 0 | ||
endloop | ||
endfacet | ||
facet normal -0 0 -1 | ||
outer loop | ||
vertex 10 -25 0 | ||
vertex -10 -35 0 | ||
vertex -10 -25 0 | ||
endloop | ||
endfacet | ||
endsolid OpenSCAD_Model |
Binary file added
BIN
+160 Bytes
...a-parsers-standard-package/src/test/resources/test-documents/testSTL-binary.stl
Binary file not shown.