ThreeMfFormat
General
ThreeMfFormat is a class in Aspose.3d for Typescript.
Inherits from: ThreeMfFormat, FileFormat.
ThreeMfFormat és una classe de l’objectiu.3d per a Typescript. Hereta de: ゚ThreeMfFormat⌒, ヽ FileFormat` .
ThreeMfFormat.createLoadOptions crea un objecte ThreeMfLoadOptions per a importar arxius 3MF.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
extension | string | Read | Holds the primary file extension for 3MF format |
extensions | string[] | Read | Lists all file extensions associated with 3MF |
contentType | string | Read | Contains the MIME type for 3MF files |
fileFormatType | any | Read | Identifies the internal enum value for the 3MF format |
version | string | Read | Indicates the version string of the 3MF specification supported |
canExport | boolean | Read | Indicates whether exporting to 3MF is supported |
canImport | boolean | Read | Indicates whether importing from 3MF is supported |
formats | any[] | Read |
Mètodes
| Signature | Description |
|---|---|
constructor() | |
getInstance() → ThreeMfFormat | |
createLoadOptions() → ThreeMfLoadOptions | Creates a ThreeMfLoadOptions object for importing 3MF files |
createSaveOptions() → ThreeMfSaveOptions | Creates a ThreeMfSaveOptions object for exporting 3MF files |
isBuildable(node: any) → boolean | Returns true if the given node can be built into a 3MF object |
getTransformForBuild(node: any) → `any | null` |
setBuildable(node: any, value: boolean, transform: any) | Marks the node as buildable and optionally assigns a transform |
setObjectType(node: any, modelType: string) | Assigns a model type string to the specified node |
getObjectType(node: any) → string | Retrieves the model type string of the specified node |