CenterLineProfile

CenterLineProfile

ภาพรวม

CenterLineProfile เป็นคลาสใน Aspose.3D FOSS สำหรับ Python. สืบทอดจาก: Profile.

โปรไฟล์เส้นศูนย์กลางที่เข้ากันได้กับ IFC.

คลาสนี้ประกาศ 8 เมธอดสำหรับอ็อบเจกต์ CenterLineProfile ในโปรแกรม Python. เมธอดที่มีให้รวมถึง: __init__, find_property, get_bounding_box, get_entity_renderer_key, get_property, remove_property, set_property. สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้โดยแอปพลิเคชัน Python ใดก็ได้หลังจากติดตั้งแพคเกจ Aspose.3D FOSS สำหรับ Python. คุณสมบัติ: curve, excluded, name, parent_node, parent_nodes, properties, และอีก 2 รายการ.

คุณสมบัติ

ชื่อประเภทการเข้าถึงคำอธิบาย
curve'Curve'อ่าน/เขียนรับหรือกำหนดเส้นโค้ง.
thicknessfloatอ่าน/เขียนรับหรือกำหนดความหนา.
parent_nodesList['Node']อ่านรับโหนดแม่.
parent_nodeOptional['Node']อ่าน/เขียนรับหรือกำหนดโหนดแม่.
excludedboolอ่าน/เขียนรับหรือกำหนดค่า excluded.
scene``อ่าน/เขียนรับหรือกำหนดฉาก.
namestrอ่าน/เขียนรับหรือกำหนดชื่อ.
propertiesPropertyCollectionอ่านดึงคุณสมบัติ.

วิธีการ

ลายเซ็นคำอธิบาย
__init__(name: str, curve: 'Curve', thickness: float)Calls init(name, curve, thickness) บนอินสแตนซ์ CenterLineProfile นี้.
__init__(name: str)Calls init(name) บนอินสแตนซ์ CenterLineProfile นี้.
get_entity_renderer_key()ส่งคืนคีย์ของ renderer เอนทิตี้.
get_bounding_box() → BoundingBoxยังไม่ได้ทำในรุ่น FOSS — โยนข้อผิดพลาดขณะรันไทม์. ส่งคืน bounding box.
find_property(property_name: str)เรียก find_property(property_name) บนอินสแตนซ์ CenterLineProfile นี้.
get_property(property: str)เรียก get_property(property) บนอินสแตนซ์ CenterLineProfile นี้.
set_property(property: str, value)ตั้งค่าค่าคุณสมบัติ.
remove_property(property)เรียก remove_property(property) บนอินสแตนซ์ CenterLineProfile นี้.

ดูเพิ่มเติม

 ภาษาไทย