ThreeMfFormat
Overview
ThreeMfFormat is a class in Aspose.3D FOSS for Python.
ThreeMfFormat.extension provides the primary file extension for the 3MF format.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
extension | str | Read | Provides the primary file extension for the 3MF format |
extensions | List[str] | Read | Lists all supported file extensions for the 3MF format |
content_type | str | Read | Returns the MIME type associated with 3MF files |
file_format_type | `` | Read | Identifies the internal enum value representing the 3MF format |
version | str | Read | Indicates the version string of the 3MF specification supported |
can_export | bool | Read | Indicates whether exporting to 3MF is supported |
can_import | bool | Read | Indicates whether importing from 3MF is supported |
formats | List | Read | Enumerates the format identifiers related to 3MF handling |
Methods
| Signature | Description |
|---|---|
create_load_options() | Creates a new load options instance for 3MF files |
create_save_options() | Creates a new save options instance for 3MF files |
is_buildable(node) → bool | Returns True if the given node can be used as a build item |
get_transform_for_build(node) → Optional[Matrix4] | Returns the build transform matrix for the node, or None |
set_buildable(node, value: bool, transform: Optional[Matrix4]) | Marks the node as buildable and optionally assigns a transform |
set_object_type(node, model_type: str) | Sets the 3MF object type string for the specified node |
get_object_type(node) → str | Retrieves the 3MF object type string of the node |