Skip to content

Commit

Permalink
Added an STL file loader and some models.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvanzijst committed Feb 13, 2018
1 parent 58ecd6c commit aa5881f
Show file tree
Hide file tree
Showing 11 changed files with 7,234 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea/
991 changes: 991 additions & 0 deletions models/cone.stl

Large diffs are not rendered by default.

86 changes: 86 additions & 0 deletions models/cube.stl
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
solid ascii
facet normal -7.105427e-016 1.000000e+000 0.000000e+000
outer loop
vertex -3.190313e+001 -8.413729e+000 2.000000e+001
vertex -1.190313e+001 -8.413729e+000 2.000000e+001
vertex -3.190313e+001 -8.413729e+000 0.000000e+000
endloop
endfacet
facet normal -7.105427e-016 1.000000e+000 0.000000e+000
outer loop
vertex -3.190313e+001 -8.413729e+000 0.000000e+000
vertex -1.190313e+001 -8.413729e+000 2.000000e+001
vertex -1.190313e+001 -8.413729e+000 0.000000e+000
endloop
endfacet
facet normal 1.000000e+000 7.105427e-016 0.000000e+000
outer loop
vertex -1.190313e+001 -8.413729e+000 2.000000e+001
vertex -1.190313e+001 -2.841373e+001 2.000000e+001
vertex -1.190313e+001 -8.413729e+000 0.000000e+000
endloop
endfacet
facet normal 1.000000e+000 7.105427e-016 0.000000e+000
outer loop
vertex -1.190313e+001 -8.413729e+000 0.000000e+000
vertex -1.190313e+001 -2.841373e+001 2.000000e+001
vertex -1.190313e+001 -2.841373e+001 0.000000e+000
endloop
endfacet
facet normal 3.552714e-016 -1.000000e+000 0.000000e+000
outer loop
vertex -1.190313e+001 -2.841373e+001 2.000000e+001
vertex -3.190313e+001 -2.841373e+001 2.000000e+001
vertex -1.190313e+001 -2.841373e+001 0.000000e+000
endloop
endfacet
facet normal 3.552714e-016 -1.000000e+000 0.000000e+000
outer loop
vertex -1.190313e+001 -2.841373e+001 0.000000e+000
vertex -3.190313e+001 -2.841373e+001 2.000000e+001
vertex -3.190313e+001 -2.841373e+001 0.000000e+000
endloop
endfacet
facet normal -1.000000e+000 -1.776357e-016 0.000000e+000
outer loop
vertex -3.190313e+001 -2.841373e+001 2.000000e+001
vertex -3.190313e+001 -8.413729e+000 2.000000e+001
vertex -3.190313e+001 -2.841373e+001 0.000000e+000
endloop
endfacet
facet normal -1.000000e+000 -1.776357e-016 -0.000000e+000
outer loop
vertex -3.190313e+001 -2.841373e+001 0.000000e+000
vertex -3.190313e+001 -8.413729e+000 2.000000e+001
vertex -3.190313e+001 -8.413729e+000 0.000000e+000
endloop
endfacet
facet normal 0.000000e+000 0.000000e+000 1.000000e+000
outer loop
vertex -1.190313e+001 -8.413729e+000 2.000000e+001
vertex -3.190313e+001 -8.413729e+000 2.000000e+001
vertex -1.190313e+001 -2.841373e+001 2.000000e+001
endloop
endfacet
facet normal 0.000000e+000 0.000000e+000 1.000000e+000
outer loop
vertex -1.190313e+001 -2.841373e+001 2.000000e+001
vertex -3.190313e+001 -8.413729e+000 2.000000e+001
vertex -3.190313e+001 -2.841373e+001 2.000000e+001
endloop
endfacet
facet normal 0.000000e+000 -0.000000e+000 -1.000000e+000
outer loop
vertex -3.190313e+001 -8.413729e+000 0.000000e+000
vertex -1.190313e+001 -8.413729e+000 0.000000e+000
vertex -3.190313e+001 -2.841373e+001 0.000000e+000
endloop
endfacet
facet normal 0.000000e+000 0.000000e+000 -1.000000e+000
outer loop
vertex -3.190313e+001 -2.841373e+001 0.000000e+000
vertex -1.190313e+001 -8.413729e+000 0.000000e+000
vertex -1.190313e+001 -2.841373e+001 0.000000e+000
endloop
endfacet
endsolid
Loading

0 comments on commit aa5881f

Please sign in to comment.