ThreeMfFormat

Overview

ThreeMfFormat is a class in Aspose.3D FOSS for Python.

ThreeMfFormat.extension provides the primary file extension for the 3MF format.

Properties

NameTypeAccessDescription
extensionstrReadProvides the primary file extension for the 3MF format
extensionsList[str]ReadLists all supported file extensions for the 3MF format
content_typestrReadReturns the MIME type associated with 3MF files
file_format_type``ReadIdentifies the internal enum value representing the 3MF format
versionstrReadIndicates the version string of the 3MF specification supported
can_exportboolReadIndicates whether exporting to 3MF is supported
can_importboolReadIndicates whether importing from 3MF is supported
formatsListReadEnumerates the format identifiers related to 3MF handling

Methods

SignatureDescription
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)boolReturns 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)strRetrieves the 3MF object type string of the node

See Also