FileFormat

FileFormat class

File format definition @hideconstructor

Properties

NameDescription
MAYA_BINARYAutodesk Maya in Binary format
STL_BINARYBinary STL file format
STLASCIIASCII STL file format
COLLADACollada file format
GLTFKhronos Group’s glTF
GLTF_BINARYKhronos Group’s glTF in Binary format
PDFAdobe’s Portable Document Format
DXFAutoCAD DXF
PLYPolygon File Format or Stanford Triangle Format
X_BINARYDirectX X File in binary format
X_TEXTDirectX X File in binary format
DRACOGoogle Draco Mesh
RVM_TEXTAVEVA Plant Design Management System Model in text format
RVM_BINARYAVEVA Plant Design Management System Model in binary format
ASE3D Studio Max’s ASCII Scene Exporter format.
IFCISO 16739-1 Industry Foundation Classes data model.
AMFAdditive manufacturing file format
VRMLThe Virtual Reality Modeling Language
ZIPZip archive that contains other 3d file format.
USDUniversal Scene Description
USDZCompressed Universal Scene Description
XYZXyz point cloud file
PCDPCL Point Cloud Data file in ASCII mode
PCD_BINARYPCL Point Cloud Data file in Binary mode

Methods

getVersion

NameDescription
getVersion()Gets file format version

Result:


getExtension

NameDescription
getExtension()Gets the extension name of this type.

Result:


getExtensions

NameDescription
getExtensions()Gets the extension names of this type.

Result:


getContentType

NameDescription
getContentType()Gets file format content type The value of the property is FileContentType integer constant.

Result:


getFileFormatType

NameDescription
getFileFormatType()Gets file format type

Result:


getFormatByExtension

NameDescription
getFormatByExtension(extensionName)Gets the preferred file format from the file extension name The extension name should starts with a dot(’.’).

Parameters:

NameTypeDescription
extensionNamStringnull

Result: FileFormat


detect

NameDescription
detect(fileName)Detect the file format from file name, file must be readable so Aspose.3D can detect the file format through file header.

Parameters:

NameTypeDescription
fileNamStringnull

Result: FileFormat


createLoadOptions

NameDescription
createLoadOptions()Create a default load options for this file format

Result: LoadOptions


createSaveOptions

NameDescription
createSaveOptions()Create a default save options for this file format

Result: SaveOptions


toString

NameDescription
toString()Formats to string

Result: String