FileFormat

Overview

FileFormat is a enum in Aspose.3d for Python.

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

Values

ValueDescription
FBX6100ASCIIRepresents the FBX 6100 ASCII format
FBX6100_BINARYRepresents the FBX 6100 binary format
FBX7200ASCIIRepresents the FBX 7200 ASCII format
FBX7200_BINARYRepresents the FBX 7200 binary format
FBX7300ASCIIRepresents the FBX 7300 ASCII format
FBX7300_BINARYRepresents the FBX 7300 binary format
FBX7400ASCIIReturns a FileFormat instance for the FBX 7400 ASCII format
FBX7400_BINARYRepresents the FBX 7400 binary format
FBX7500ASCIIRepresents the FBX 7500 ASCII format
FBX7500_BINARYRepresents the FBX 7500 binary format
FBX7600ASCIIRepresents the FBX 7600 ASCII format
FBX7600_BINARYRepresents the FBX 7600 binary format
FBX7700ASCIIRepresents the FBX 7700 ASCII format
FBX7700_BINARYRepresents the FBX 7700 binary format
MAYA_ASCIIRepresents the Autodesk Maya ASCII format
MAYA_BINARYRepresents the Autodesk Maya binary format
STL_BINARYRepresents the binary STL (stereolithography) format
STLASCIIRepresents the ASCII STL (stereolithography) format
DISCREET_3DSRepresents the Discreet 3DS format
COLLADARepresents the COLLADA (DAE) interchange format
UNIVERSAL_3DRepresents the Universal 3D (U3D) format
GLTFRepresents the glTF (GL Transmission Format) version 1.x format
GLTF2_BINARYRepresents the binary glTF 2.0 format
GLTF_BINARYRepresents the binary glTF (any version) format
PDFRepresents the Portable Document Format for 3D content
BLENDERRepresents the Blender (.blend) file format
DXFRepresents the AutoCAD DXF (Drawing Exchange) format
PLYRepresents the Polygon File Format (Stanford PLY)
X_BINARYRepresents the binary DirectX (.x) format
X_TEXTRepresents 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

NameTypeAccessDescription
extensionstrReadIs the primary file extension string for the format
extensionsList[str]ReadIs a list of all recognized extensions for the format
content_typestrReadIs the MIME type associated with the format
file_format_type``ReadIndicates the category or type identifier of the format
versionstrReadIs the version string of the format specification
can_exportboolReadIndicates whether the format supports export operations
can_importboolReadIndicates whether the format supports import operations
formatsList['FileFormat']ReadIs a collection of all supported FileFormat instances

Methods

SignatureDescription
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