ThreeMfFormat

Vue de l’ensemble

‘ThreeMfFormat’ est une classe dans Aspose.3D FOSS pour Python.

ThreeMfFormat.extension fournit l’extension de fichier primaire pour le format 3MF.

Cette classe fournit 7 méthodes pour travailler avec des objets ThreeMfFormat dans les programmes Python. Les méthodologies disponibles comprennent: create_load_options, crate-save_opsions , ‘get_object_type ، ' get_transform_for_build ; ‘is_bildable; 'set_baildables. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de l’Aspose.3D FOSS pour le package Pyathon. Propriétés : can_export., cans_import,, content_tipe‘, 'extension et 2 autres.

Propriétés

NameTypeAccessDescription
extensionstrReadGets the extension.
extensionsList[str]ReadGets the extensions.
content_typestrReadGets the content type.
file_format_type``ReadGets the file format type.
versionstrReadGets the version.
can_exportboolReadGets the can export.
can_importboolReadGets the can import.
formatsListReadGets the formats.

méthodes

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])Sets the buildable value.
set_object_type(node, model_type: str)Sets the object type value.
get_object_type(node)strRetrieves the 3MF object type string of the node

Voir aussi

  • Aspose.3D - référence API d’entreprise
 Français