---
Product: Aspose.3D
Platform: typescript
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/typescript/ThreeMfFormat
---

# ThreeMfFormat

## Overview

`ThreeMfFormat` is the built-in format handler for 3MF (.3mf) files in Aspose.3D for TypeScript. It inherits from `FileFormat` and exposes factory methods that create the detector, importer, and exporter for this format. When a `Scene` loads or saves a `.3mf` file, it delegates all I/O work to this class internally. The class also provides access to default `ThreeMfFormatLoadOptions` and `ThreeMfFormatSaveOptions` instances that control parsing and serialisation behaviour for every read and write operation.

## Description

`ThreeMfFormat` is a class in the Aspose.3D FOSS library for TypeScript that exposes 8 methods and 8 properties for programmatic use. It extends `FileFormat`, inheriting shared functionality from its parent type.

Core capabilities include: `string`; `string[]`; `string`. These operations enable developers to integrate threemfformat functionality directly into TypeScript applications.

The class also provides the `extension` property (holds the primary file extension for 3mf format), the `extensions` property (lists all file extensions associated with 3mf), the `contentType` property (contains the mime type for 3mf files).

Instances are created through a single constructor that initializes the object with default values.

## Properties

| 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 |  |

## Methods

| 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` | Returns the transform applied when building the node, or 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 |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)