STLA_IO\
Read and Write Routines\
STL ASCII 3D Graphics Files {#stla_io-read-and-write-routines-stl-ascii-3d-graphics-files align=”center”}
===========================
STLA_IO is a C++ library which reads and writes the 3D graphics
information stored in an ASCII STL (stereolithography) file.
Licensing: {#licensing align=”center”}
The computer code and data files described and made available on this
web page are distributed under the GNU LGPL
license.
Languages: {#languages align=”center”}
STLA_IO is available in a C++
version and a FORTRAN90
version and a MATLAB
version.
IVCON, a C++ program which can convert
graphics information between STLA and other formats.
IVREAD, a FORTRAN90 program which can
convert graphics information between STLA and other formats.
STLA, a data directory which contains some
examples of STLA files.
STLA_DISPLAY, a MATLAB
program which can read an STLA file and display it on the screen.
Reference: {#reference align=”center”}
- 3D Systems, Inc,\
Stereolithography Interface Specification,\
October 1989.
Source Code: {#source-code align=”center”}
Examples and Tests: {#examples-and-tests align=”center”}
List of Routines: {#list-of-routines align=”center”}
- CH_CAP capitalizes a single character.
- CH_EQI is true if two characters are equal, disregarding case.
- CH_TO_DIGIT returns the integer value of a base 10 digit.
- I4_MIN returns the smaller of two integers.
- R8_MAX returns the maximum of two R8’s.
- R8_MIN returns the minimum of two R8’s.
- R8VEC_CROSS_3D computes the cross product of two R8VEC’s in
3D.
- R8VEC_DOT computes the dot product of two R8VEC’s.
- R8VEC_LENGTH returns the Euclidean length of the vector X
- S_CAT concatenates two strings to make a third string.
- S_EQI reports whether two strings are equal, ignoring case.
- S_LEN_TRIM returns the length of a string to the last
nonblank.
- S_TO_R8 reads an R8 from a string.
- STLA_CHECK checks an ASCII StereoLithography file.
- STLA_FACE_NODE_PRINT prints the node indices for each face.
- STLA_FACE_NORMAL_COMPUTE computes normal vectors for an ASCII
StereoLithography file.
- STLA_FACE_NORMAL_PRINT prints the normal vectors.
- STLA_NODE_XYZ_PRINT prints the node coordinates.
- STLA_OFFSET_GET gets the STLA offset.
- STLA_OFFSET_SET sets the STLA offset.
- STLA_READ reads graphics information from an ASCII
StereoLithography file.
- STLA_SIZE determines sizes associated with an STLA file.
- STLA_SIZE_PRINT prints sizes associated with an STLA file.
- STLA_WRITE writes an ASCII STL (stereolithography) file.
- TIMESTAMP prints the current YMDHMS date as a time stamp.
- WORD_NEXT_READ “reads” words from a string, one at a time.
You can go up one level to the C++ source codes.
Last revised on 15 February 2007.