OFF

class compas.files.OFF[source]

Bases: object

Class for working with OFF files.

Parameters:
filepathpath string | file-like object | URL string

A path, a file-like object or a URL pointing to a file.

References

Attributes:
readerOFFReader, read-only

A OFF file reader.

Methods

read

Read and parse the contents of the file.

write

Write a mesh to the file.