Oversigt over de forskellige former for støtte
FileFormat er enum i Aspose.3d for Python.
FileFormat.WAVEFRONT_OBJ returns a FileFormat instance for the Wavefront OBJ format.
Valuer
| 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. |
Egenskaber
| 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' | |
Metoder til at anvende
| Underskrift | Beskrivelse: |
|---|
WAVEFRONT_OBJ() | Returnerer en FileFormat-eksempel til Wavefront OBJ-formatet |
GLTF2() | Returnerer en FileFormat-instance til glTF 2.0-formatet |
MICROSOFT_3MF_FORMAT() | Returnerer en FileFormat-instance til Microsoft 3MF-format |
FBX7400ASCII() | Returnerer en FileFormat-instance til FBX 7400 ASCII-format |
__init__() | |
detect(stream: 'io._IOBase', file_name: Optional[str]) → Optional['FileFormat'] | Bestemmer filformatet fra en strøm og valgfrit navn, returnerer et matchende FileFormat eller Ingen |
get_format_by_extension(extension_name: str) → Optional['FileFormat'] | Søger efter en FileFormat ved dens udvidelse, returnerer formatet eller Ingen |
create_load_options() → 'LoadOptions' | Opretter et standard LoadOptions-objekt til import af filer |
create_save_options() → 'SaveOptions' | Opretter et standard SaveOptions-objekt til eksport af filer |