FileFormat
Overview
FileFormat is a enum in Aspose.3d for Python.
FileFormat.WAVEFRONT_OBJ returns a FileFormat instance for the Wavefront OBJ format.
Values
| Value | Description |
|---|---|
FBX6100ASCII | Represents the FBX 6100 ASCII format |
FBX6100_BINARY | Represents the FBX 6100 binary format |
FBX7200ASCII | Represents the FBX 7200 ASCII format |
FBX7200_BINARY | Represents the FBX 7200 binary format |
FBX7300ASCII | Represents the FBX 7300 ASCII format |
FBX7300_BINARY | Represents the FBX 7300 binary format |
FBX7400ASCII | Returns a FileFormat instance for the FBX 7400 ASCII format |
FBX7400_BINARY | Represents the FBX 7400 binary format |
FBX7500ASCII | Represents the FBX 7500 ASCII format |
FBX7500_BINARY | Represents the FBX 7500 binary format |
FBX7600ASCII | Represents the FBX 7600 ASCII format |
FBX7600_BINARY | Represents the FBX 7600 binary format |
FBX7700ASCII | Represents the FBX 7700 ASCII format |
FBX7700_BINARY | Represents the FBX 7700 binary format |
MAYA_ASCII | Represents the Autodesk Maya ASCII format |
MAYA_BINARY | Represents the Autodesk Maya binary format |
STL_BINARY | Represents the binary STL (stereolithography) format |
STLASCII | Represents the ASCII STL (stereolithography) format |
DISCREET_3DS | Represents the Discreet 3DS format |
COLLADA | Represents the COLLADA (DAE) interchange format |
UNIVERSAL_3D | Represents the Universal 3D (U3D) format |
GLTF | Represents the glTF (GL Transmission Format) version 1.x format |
GLTF2_BINARY | Represents the binary glTF 2.0 format |
GLTF_BINARY | Represents the binary glTF (any version) format |
PDF | Represents the Portable Document Format for 3D content |
BLENDER | Represents the Blender (.blend) file format |
DXF | Represents the AutoCAD DXF (Drawing Exchange) format |
PLY | Represents the Polygon File Format (Stanford PLY) |
X_BINARY | Represents the binary DirectX (.x) format |
X_TEXT | Represents the text DirectX (.x) format |
DRACO | |
MICROSOFT_3MF | |
RVM_TEXT | |
RVM_BINARY | |
ASE | |
IFC | |
SIEMENS_JT8 | |
SIEMENS_JT9 | |
AMF | |
VRML | |
ASPOSE_3D_WEB | |
HTML5 | |
ZIP | |
USD | |
USDA | |
USDZ | |
XYZ | |
PCD | |
PCD_BINARY |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
extension | str | Read | Is the primary file extension string for the format |
extensions | List[str] | Read | Is a list of all recognized extensions for the format |
content_type | str | Read | Is the MIME type associated with the format |
file_format_type | `` | Read | Indicates the category or type identifier of the format |
version | str | Read | Is the version string of the format specification |
can_export | bool | Read | Indicates whether the format supports export operations |
can_import | bool | Read | Indicates whether the format supports import operations |
formats | List['FileFormat'] | Read | Is a collection of all supported FileFormat instances |
Methods
| Signature | Description |
|---|---|
WAVEFRONT_OBJ() | Returns a FileFormat instance for the Wavefront OBJ format |
GLTF2() | Returns a FileFormat instance for the glTF 2.0 format |
MICROSOFT_3MF_FORMAT() | Returns a FileFormat instance for the Microsoft 3MF format |
FBX7400ASCII() | Returns a FileFormat instance for the FBX 7400 ASCII format |
__init__() | |
detect(stream: 'io._IOBase', file_name: Optional[str]) → Optional['FileFormat'] | Determines the file format from a stream and optional name, returning a matching FileFormat or None |
get_format_by_extension(extension_name: str) → Optional['FileFormat'] | Looks up a FileFormat by its extension, returning the format or None |
create_load_options() → 'LoadOptions' | Creates a default LoadOptions object for importing files |
create_save_options() → 'SaveOptions' | Creates a default SaveOptions object for exporting files |