PLY
- class compas.files.PLY[source]
Bases:
object
Class for working with files in Polygon format, also known as Stanford triangle format.
- Parameters:
- filepathpath string | file-like object | URL string
A path, a file-like object or a URL pointing to a file.
- precisionstr, optional
A COMPAS precision specification.
- Attributes:
- filepathstr
The path to the file.
- precisionstr
A COMPAS precision specification.
- reader
PLYReader
A PLY file reader.
- parser
PLYParser
A PLY data parser.
References
Methods
Read the contents of the file.
Write a mesh to the file.