StlLoadOptions

StlLoadOptions class

Load options for STL

Methods

constructor

NameDescription
constructor()Initializes of a new StlLoadOptions instance.

Result:


constructor_overload

NameDescription
constructor_overload(contentType)Initializes of a new StlLoadOptions instance.

Parameters:

NameTypeDescription
contentTypeFileContentTypeFileContentType

Result:


getFlipCoordinateSystem

NameDescription
getFlipCoordinateSystem()Gets or sets whether to flip coordinate system of control points/normal during importing.

Result:


setFlipCoordinateSystem

NameDescription
setFlipCoordinateSystem(value)Gets or sets whether to flip coordinate system of control points/normal during importing.

Result:


getRecalculateNormal

NameDescription
getRecalculateNormal()Ignore the normal data that stored in STL file and recalculate the normal data based on the vertex position. Default value is false

Result:


setRecalculateNormal

NameDescription
setRecalculateNormal(value)Ignore the normal data that stored in STL file and recalculate the normal data based on the vertex position. Default value is false

Result:


getFileFormat

NameDescription
getFileFormat()Gets the file format that specified in current Save/Load option.

Result:


getEncoding

NameDescription
getEncoding()Gets or sets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.

Result:


getFileSystem

NameDescription
getFileSystem()Allow user to handle how to manage the external dependencies during load/save.

Result:


setFileSystem

NameDescription
setFileSystem(value)Allow user to handle how to manage the external dependencies during load/save.

Result:


getLookupPaths

NameDescription
getLookupPaths()Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Result:


getFileName

NameDescription
getFileName()The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result:


setFileName

NameDescription
setFileName(value)The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result: