GLTF
- class compas.files.GLTF[source]
Bases:
object
Class for working with files in glTF format.
Caution: Extensions and most other application specific data are unsupported, and their data may be lost upon import.
- Attributes:
- filepathstr
Path to the location of the glTF file.
- content
compas.files.GLTFContent
- reader
compas.files.GLTFReader
- parser
compas.files.GLTFParser
- exporter
compas.files.GLTFExporter
References
Methods
Export the content of this
compas.files.GLTF
to the locationcompas.files.GLTF.filepath
, with file format determined by the given extension.Read the glTF located at
compas.files.GLTF.filepath
and load its content.