SIF Version 2.0
SIF SFF LSIF SIF DSG

STL


Contents


Introduction

STL is the stereolithography interface language which is the rapid prototyping's current de facto standard. It is a flatten boundary representation where the only primitives are triangles. The normals of the triangles should agree with the counterclockwise contour orientation paradigm.


Keywords


Grammar

solid [part name]
  facet normal value value value
    outer loop
      vertex value value value
      vertex value value value
      vertex value value value
    endloop
  endfacet
  ...
endsolid [part name]

Cube

solid
  facet normal 0.000000 1.000000 0.000000
    outer loop
      vertex 1.000000 1.000000 1.000000
      vertex 1.000000 1.000000 -1.000000
      vertex -1.000000 1.000000 -1.000000
    endloop
  endfacet
  facet normal 0.000000 1.000000 0.000000
    outer loop
      vertex 1.000000 1.000000 1.000000
      vertex -1.000000 1.000000 -1.000000
      vertex -1.000000 1.000000 1.000000
    endloop
  endfacet
  facet normal 0.000000 0.000000 1.000000
    outer loop
      vertex 1.000000 1.000000 1.000000
      vertex -1.000000 1.000000 1.000000
      vertex -1.000000 -1.000000 1.000000
    endloop
  endfacet
  facet normal 0.000000 0.000000 1.000000
    outer loop
      vertex 1.000000 1.000000 1.000000
      vertex -1.000000 -1.000000 1.000000
      vertex 1.000000 -1.000000 1.000000
    endloop
  endfacet
  facet normal 1.000000 0.000000 0.000000
    outer loop
      vertex 1.000000 1.000000 1.000000
      vertex 1.000000 -1.000000 1.000000
      vertex 1.000000 -1.000000 -1.000000
    endloop
  endfacet
  facet normal 1.000000 0.000000 0.000000
    outer loop
      vertex 1.000000 1.000000 1.000000
      vertex 1.000000 -1.000000 -1.000000
      vertex 1.000000 1.000000 -1.000000
    endloop
  endfacet
  facet normal 0.000000 0.000000 -1.000000
    outer loop
      vertex -1.000000 -1.000000 -1.000000
      vertex 1.000000 1.000000 -1.000000
      vertex 1.000000 -1.000000 -1.000000
    endloop
  endfacet
  facet normal 0.000000 -1.000000 0.000000
    outer loop
      vertex -1.000000 -1.000000 -1.000000
      vertex 1.000000 -1.000000 -1.000000
      vertex 1.000000 -1.000000 1.000000
    endloop
  endfacet
  facet normal 0.000000 -1.000000 0.000000
    outer loop
      vertex -1.000000 -1.000000 -1.000000
      vertex 1.000000 -1.000000 1.000000
      vertex -1.000000 -1.000000 1.000000
    endloop
  endfacet
  facet normal -1.000000 0.000000 0.000000
    outer loop
      vertex -1.000000 -1.000000 -1.000000
      vertex -1.000000 -1.000000 1.000000
      vertex -1.000000 1.000000 1.000000
    endloop
  endfacet
  facet normal -1.000000 0.000000 0.000000
    outer loop
      vertex -1.000000 -1.000000 -1.000000
      vertex -1.000000 1.000000 1.000000
      vertex -1.000000 1.000000 -1.000000
    endloop
  endfacet
  facet normal 0.000000 0.000000 -1.000000
    outer loop
      vertex -1.000000 -1.000000 -1.000000
      vertex -1.000000 1.000000 -1.000000
      vertex 1.000000 1.000000 -1.000000
    endloop
  endfacet
endsolid



This page is maintained by Jordan Smith
E-mail: jordans@cs.berkeley.edu
Last modified: 1/11/99

This page was designed and tested under Netscape using common HTML constructs. No browsers are blocked from viewing this page. Please send mail to the maintainer of this page if you find any broken links or errors in the page construction.