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
| Name | Type | Access | Description |
|---|---|---|---|
extension | str | Read | Gets the extension. |
extensions | List[str] | Read | Gets the extensions. |
content_type | str | Read | Gets the content type. |
file_format_type | `` | Read | Gets the file format type. |
version | str | Read | Gets the version. |
can_export | bool | Read | Gets the can export. |
can_import | bool | Read | Gets the can import. |
formats | List | Read | Gets the formats. |
méthodes
| 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]) | Sets the buildable value. |
set_object_type(node, model_type: str) | Sets the object type value. |
get_object_type(node) → str | Retrieves the 3MF object type string of the node |
Voir aussi
- Aspose.3D - référence API d’entreprise