STL
- class compas.files.STL[source]
Bases:
object
Class for working with STL files.
- Parameters:
- filepathpath string | file-like object | URL string
A path, a file-like object or a URL pointing to a file.
- precisionint, optional
Precision for converting numbers to strings. Default is
TOL.precision
.
- Attributes:
- reader
STLReader
A STL file reader.
- parser
STLParser
A STL file parser.
- reader
Methods
Read and parse the contents of the file.
Write a mesh to the file.