CenterLineProfile

CenterLineProfile

Tổng quan

CenterLineProfile là một lớp trong Aspose.3D FOSS cho Python. Kế thừa từ: Profile.

Hồ sơ trung tâm tương thích IFC.

Lớp này khai báo 8 phương thức cho các đối tượng CenterLineProfile trong các chương trình Python. Các phương thức khả dụng bao gồm: __init__, find_property, get_bounding_box, get_entity_renderer_key, get_property, remove_property, set_property. Tất cả các thành viên công khai đều có thể truy cập bởi bất kỳ ứng dụng Python nào sau khi cài đặt gói Aspose.3D FOSS cho Python. Thuộc tính: curve, excluded, name, parent_node, parent_nodes, properties, và 2 nữa.

Thuộc tính

TênKiểuTruy cậpMô tả
curve'Curve'Đọc/GhiLấy hoặc đặt đường cong.
thicknessfloatĐọc/GhiLấy hoặc thiết lập độ dày.
parent_nodesList['Node']ĐọcLấy các nút cha.
parent_nodeOptional['Node']Đọc/GhiLấy hoặc đặt nút cha.
excludedboolĐọc/GhiLấy hoặc đặt excluded.
scene``Đọc/GhiLấy hoặc gán cảnh.
namestrĐọc/GhiLấy hoặc đặt tên.
propertiesPropertyCollectionĐọcLấy các thuộc tính.

Phương thức

Chữ kýMô tả
__init__(name: str, curve: 'Curve', thickness: float)Calls init(name, curve, thickness) trên instance CenterLineProfile này.
__init__(name: str)Calls init(name) trên instance CenterLineProfile này.
get_entity_renderer_key()Trả về khóa entity renderer.
get_bounding_box() → BoundingBoxKhông được triển khai trong phiên bản FOSS — ném lỗi khi chạy. Trả về bounding box.
find_property(property_name: str)Gọi find_property(property_name) trên đối tượng CenterLineProfile này.
get_property(property: str)Gọi get_property(property) trên đối tượng CenterLineProfile này.
set_property(property: str, value)Đặt giá trị thuộc tính.
remove_property(property)Gọi remove_property(property) trên đối tượng CenterLineProfile này.

Xem thêm

 Tiếng Việt