Import STL File

PREFEKO can also import STL — both ASCII and binary — files. STL files supports only triangular patches and these are all imported. Also, since the STL file makes no provision for any labels, label selection is not supported. The scale factor is supported.



Figure 1. The IN - Include an external file (STL) dialog.
An example of an ASCII file is.
SOLID CATIA STL PRODUCT
  FACET NORMAL -4.602166E-01 -1.858978E-01 -8.681260E-01
    OUTER LOOP
      VERTEX    4.789964E-01 -8.440244E-01  2.878882E-01
      VERTEX    4.764872E-01 -8.439470E-01  2.892018E-01
      VERTEX    4.783065E-01 -8.414296E-01  2.876983E-01
    ENDLOOP
  ENDFACET
  FACET NORMAL -4.601843E-01 -1.859276E-01 -8.681367E-01
    OUTER LOOP
      VERTEX    4.764872E-01 -8.439470E-01  2.892018E-01
      VERTEX    4.761175E-01 -8.425569E-01  2.891001E-01
      VERTEX    4.783065E-01 -8.414296E-01  2.876983E-01
    ENDLOOP
  ENDFACET
ENDSOLID

For the description of binary STL files, please see: www.ennex.com