ThreeMfFormat
Overview
ThreeMfFormat เป็นคลาสใน Aspose.3D FOSS สําหรับ Python.
ThreeMfFormat.extension provides the primary file extension for the 3MF format.
หมวดนี้ให้ 7 วิธีในการทํางานกับวัตถุ ThreeMfFormat ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: create_load_options, create_save_options, get_object_type, get_transform_for_build, is_buildable, set_buildable, set_object_type. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python. คุณสมบัติ: can_export, can_import, content_type, extension, extensions, file_format_type,และอีก 2 ตัว.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
extension | str | Read | ได้รับการขยายเวลา. |
extensions | List[str] | Read | ได้รับการขยายตัว. |
content_type | str | Read | ได้รับชนิดของเนื้อหา. |
file_format_type | `` | Read | ได้รับรูปแบบไฟล์ชนิด. |
version | str | Read | ได้รับการฉบับ. |
can_export | bool | Read | ได้รับการส่งออกของกระป๋อง. |
can_import | bool | Read | ได้รับการนําเข้าของกระป๋อง. |
formats | List | Read | ได้รูปแบบ. |
Methods
| Signature | Description |
|---|---|
create_load_options() | สร้างตัวอย่างการอัตราบรรจุใหม่สําหรับไฟล์ 3MF |
create_save_options() | สร้างตัวอย่าง Save Options ใหม่สําหรับไฟล์ 3MF |
is_buildable(node) → bool | กลับ True หาก node ที่ให้มาสามารถใช้เป็นไอเทมการสร้างได้ |
get_transform_for_build(node) → Optional[Matrix4] | ส่งกลับเมทริกซ์แปลงคอมพิวเตอร์สําหรับโน้ต, หรือ None |
set_buildable(node, value: bool, transform: Optional[Matrix4]) | กําหนดค่าที่สามารถสร้างได้. |
set_object_type(node, model_type: str) | กําหนดค่าของชนิดวัตถุ. |
get_object_type(node) → str | รับรหัส 3MF ของ Node |