Skip to content

Instantly share code, notes, and snippets.

@GOROman
Created February 27, 2025 07:27
Show Gist options
  • Save GOROman/d1046155d154834e9f27a74621ad61a7 to your computer and use it in GitHub Desktop.
Save GOROman/d1046155d154834e9f27a74621ad61a7 to your computer and use it in GitHub Desktop.
STL Test
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@GOROman
Copy link
Author

GOROman commented Feb 27, 2025

solid cube_corner
  facet normal 0.0 -1.0 0.0
    outer loop
      vertex 0.0 0.0 0.0
      vertex 1.0 0.0 0.0
      vertex 0.0 0.0 1.0
    endloop
  endfacet
  facet normal 0.0 0.0 -1.0
    outer loop
      vertex 0.0 0.0 0.0
      vertex 0.0 1.0 0.0
      vertex 1.0 0.0 0.0
    endloop
  endfacet
  facet normal -1.0 0.0 0.0
    outer loop
      vertex 0.0 0.0 0.0
      vertex 0.0 0.0 1.0
      vertex 0.0 1.0 0.0
    endloop
  endfacet
  facet normal 0.577 0.577 0.577
    outer loop
      vertex 1.0 0.0 0.0
      vertex 0.0 1.0 0.0
      vertex 0.0 0.0 1.0
    endloop
  endfacet
endsolid
Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment