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

NameTypeAccessDescription
extensionstrReadได้รับการขยายเวลา.
extensionsList[str]Readได้รับการขยายตัว.
content_typestrReadได้รับชนิดของเนื้อหา.
file_format_type``Readได้รับรูปแบบไฟล์ชนิด.
versionstrReadได้รับการฉบับ.
can_exportboolReadได้รับการส่งออกของกระป๋อง.
can_importboolReadได้รับการนําเข้าของกระป๋อง.
formatsListReadได้รูปแบบ.

Methods

SignatureDescription
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

See Also

 ภาษาไทย