ThreeMfFormat

Overview

ThreeMfFormat là một lớp trong Aspose.3D FOSS cho Python.

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

Khóa học này cung cấp 7 phương pháp để làm việc với các đối tượng ThreeMfFormat trong các chương trình Python. Các phương pháp có sẵn bao gồm: create_load_options, create_save_options, get_object_type, get_transform_for_build, is_buildable, set_buildable, set_object_type. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Python nào sau khi cài đặt Aspose.3D FOSS cho gói Python. Tài sản : can_export, can_import, content_type, extension, extensions, file_format_type,Và 2 nhiều hơn nữa.

Properties

NameTypeAccessDescription
extensionstrReadNhận được sự mở rộng.
extensionsList[str]ReadNhận được các mở rộng.
content_typestrReadNhận dạng nội dung.
file_format_type``ReadNhận dạng file format.
versionstrReadNhận phiên bản.
can_exportboolReadCó thể xuất khẩu.
can_importboolReadCó thể nhập khẩu.
formatsListReadNhận định các định dạng.

Methods

SignatureDescription
create_load_options()Tạo một ví dụ tùy chọn tải mới cho các tệp 3MF
create_save_options()Tạo một ví dụ tùy chọn lưu mới cho các tệp 3MF
is_buildable(node)boolTrở lại True nếu nút được cung cấp có thể được sử dụng như một mục xây dựng
get_transform_for_build(node)Optional[Matrix4]Trả lại cấu trúc chuyển đổi matrice cho nút, hoặc Không có
set_buildable(node, value: bool, transform: Optional[Matrix4])Đặt giá trị xây dựng.
set_object_type(node, model_type: str)Thiết lập giá trị kiểu đối tượng.
get_object_type(node)strLấy lại dòng loại đối tượng 3MF của nút

See Also

 Tiếng Việt