StlLoadOptions
Overview
StlLoadOptions is a class in Aspose.3D FOSS for Java.
Inherits from: LoadOptions.
Load options for STL.
This class provides 19 methods for working with StlLoadOptions objects in Java programs.
Available methods include: LoadOptions, StlLoadOptions, getEncoding, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getFlipCoordinateSystem, getLookupPaths, getRecalculateNormal, setEncoding, setFileName, and 5 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: encoding, fileFormat, fileName, fileSystem, fileSystemFactory, flipCoordinateSystem, and 2 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
flipCoordinateSystem | boolean | Read | Gets whether to flip coordinate system of control points/normal during importing. |
recalculateNormal | boolean | Read | Ignore the normal data that stored in STL file and recalculate the normal data based on the vertex position. |
fileFormat | FileFormat | Read | Gets the file format. |
fileSystemFactory | FileSystemFactory | Read | Gets the factory class for FileSystem. |
encoding | java.nio.charset.Charset | Read | Gets the default encoding for text-based files. |
fileSystem | FileSystem | Read | Allow user to handle how to manage the external dependencies during load/save. |
lookupPaths | java.util.ArrayList<String> | Read | Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load. |
fileName | String | Read | The file name of the exporting/importing scene. |
Methods
| Signature | Description |
|---|---|
StlLoadOptions() | Initializes of a new StlLoadOptions instance. |
StlLoadOptions(contentType: FileContentType) | Initializes of a new StlLoadOptions instance. |
getFlipCoordinateSystem() → boolean | Gets whether to flip coordinate system of control points/normal during importing. |
setFlipCoordinateSystem(value: boolean) | Sets whether to flip coordinate system of control points/normal during importing. |
getRecalculateNormal() → boolean | Ignore the normal data that stored in STL file and recalculate the normal data based on the vertex position. |
setRecalculateNormal(value: boolean) | Sets whether to ignore the normal data that stored in STL file and recalculate the normal data. |
LoadOptions() | Initializes a new instance of the LoadOptions class. |
LoadOptions(format: FileFormat) | Initializes a new instance of the LoadOptions class with a file format. |
getFileFormat() → FileFormat | Returns the file format. |
getFileSystemFactory() → FileSystemFactory | Gets the factory class for FileSystem. |
setFileSystemFactory(value: FileSystemFactory) | Sets the factory class for FileSystem. |
getEncoding() → java.nio.charset.Charset | Gets the default encoding for text-based files. |
setEncoding(value: java.nio.charset.Charset) | Sets the default encoding for text-based files. |
getFileSystem() → FileSystem | Allow user to handle how to manage the external dependencies during load/save. |
setFileSystem(value: FileSystem) | Allow user to handle how to manage the external dependencies during load/save. |
getLookupPaths() → java.util.ArrayList<String> | Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load. |
setLookupPaths(value: java.util.ArrayList<String>) | Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load. |
getFileName() → String | The file name of the exporting/importing scene. |
setFileName(value: String) | The file name of the exporting/importing scene. |