Přehled
FileFormat je enum v Aspose.3d pro Python.
FileFormat.WAVEFRONT_OBJ returns a FileFormat instance for the Wavefront OBJ format.
Hodnoty
| 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. |
Vlastnosti
| 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' | |
Metody
| Podpis: | Popis: |
|---|
WAVEFRONT_OBJ() | Vrátí instanci FileFormat pro Wavefront OBJ formát |
GLTF2() | Vrátí instanci FileFormat pro formát glTF 2.0 |
MICROSOFT_3MF_FORMAT() | Vrátí instanci FileFormat pro formát Microsoft 3MF |
FBX7400ASCII() | Vrátí instanci FileFormat pro formát FBX 7400 ASCII . |
__init__() | |
detect(stream: 'io._IOBase', file_name: Optional[str]) → Optional['FileFormat'] | Určuje formát souboru ze streamu a volitelného jména, vrací odpovídající FileFormat nebo None |
get_format_by_extension(extension_name: str) → Optional['FileFormat'] | Hledá FileFormat podle jeho rozšíření, vrací formát nebo Žádný. |
create_load_options() → 'LoadOptions' | Vytvoří předvolený objekt LoadOptions pro import souborů |
create_save_options() → 'SaveOptions' | Vytvoří předvolený objekt SaveOptions pro export souborů |