3mfImporter
[Desktop Automation]
This class is used to import 3MF files in a custom way.
Properties
| Property | Read/write | Type | Description |
|---|---|---|---|
| meshcount | Read | Number | Number of meshes inside the 3MF (1 if SplitMeshes was set to FALSE when the object was created. |
| splitmeshes | Read | Boolean | The value of the "SplitMeshes" parameter passed on creation |
Methods
| Name | Syntax | Description |
|---|---|---|
| getmesh | Mesh = importer:getmesh(Index: Number); | Returns the mesh at the given index. Returns nil if the index is out of bounds. |
| getpartnumber | PartNumber = importer:getpartnumber(Index: Number); | Get the part number of a mesh. Returns an empty string if index is out of bounds. |
