FileFormat

General

FileFormat és un enum a Aspose.3d per Python.

FileFormat.WAVEFRONT_OBJ returns a FileFormat instance for the Wavefront OBJ format.

Valors

NameTypeAccessDescription
extensionstrReadGets the extension.
extensionsList[str]ReadGets the extensions.
content_typestrReadGets the content type.
file_format_type``ReadGets the file format type.
versionstrReadGets the version.
can_exportboolReadGets the can export.
can_importboolReadGets the can import.
formatsList['FileFormat']ReadGets the formats.

Propietats

SignatureDescription
WAVEFRONT_OBJ()
GLTF2()
MICROSOFT_3MF_FORMAT()
FBX7400ASCII()
__init__()
detect(stream: 'io._IOBase', file_name: Optional[str])Optional['FileFormat']
get_format_by_extension(extension_name: str)Optional['FileFormat']
create_load_options()'LoadOptions'
create_save_options()'SaveOptions'

Mètodes

SignaturaDescripció
WAVEFRONT_OBJ()Retorna una instància FileFormat per al format Wavefront OBJ
GLTF2()Retorna una instància FileFormat per al format glTF 2.0
MICROSOFT_3MF_FORMAT()Retorna una instància FileFormat per al format Microsoft 3MF
FBX7400ASCII()Retorna una instància FileFormat per al format FBX 7400 ASCII.
__init__()
detect(stream: 'io._IOBase', file_name: Optional[str])Optional['FileFormat']Determina el format de fitxer a partir d’un flux i un nom opcional, retornant una corresponent FileFormat o None.
get_format_by_extension(extension_name: str)Optional['FileFormat']Busca un FileFormat per la seva extensió, retornant el format o No.
create_load_options()'LoadOptions'Crea un objecte LoadOptions per importar arxius
create_save_options()'SaveOptions'Crea un objecte SaveOptions per exportar arxius
 Català