General
FileFormat és un enum a Aspose.3d per Python.
FileFormat.WAVEFRONT_OBJ returns a FileFormat instance for the Wavefront OBJ format.
Valors
| Name | Type | Access | Description |
|---|
extension | str | Read | Gets the extension. |
extensions | List[str] | Read | Gets the extensions. |
content_type | str | Read | Gets the content type. |
file_format_type | `` | Read | Gets the file format type. |
version | str | Read | Gets the version. |
can_export | bool | Read | Gets the can export. |
can_import | bool | Read | Gets the can import. |
formats | List['FileFormat'] | Read | Gets the formats. |
Propietats
| Signature | Description |
|---|
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
| Signatura | Descripció |
|---|
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 |