HollowRectangleShape
סקירה כללית
HollowRectangleShape היא מחלקה ב-Aspose.3D FOSS עבור Python. יורשת מ: RectangleShape.
צורה מלבנית חלולה תואמת ל-IFC עם פינות מעוגלות פנימיות וחיצוניות.
מחלקה זו מצהירה על 9 שיטות עבור אובייקטים של HollowRectangleShape בתוכניות Python. השיטות הזמינות כוללות: __init__, find_property, get_bounding_box, get_entity_renderer_key, get_extent, get_property, remove_property, set_property. כל החברים הציבוריים נגישים לכל יישום Python לאחר התקנת חבילת Aspose.3D FOSS עבור Python. תכונות: depth, excluded, external_fillet_radius, internal_fillet_radius, name, parent_node, ועוד 5.
מאפיינים
| שם | סוג | גישה | תיאור |
|---|---|---|---|
wall_thickness | float | קריאה/כתיבה | מקבל או מגדיר את עובי הקיר. |
external_fillet_radius | float | קריאה/כתיבה | מקבל או מגדיר את רדיוס הפילט החיצוני. |
internal_fillet_radius | float | קריאה/כתיבה | מקבל או מגדיר את רדיוס הקצה הפנימי. |
width | float | קריאה/כתיבה | מקבל או מגדיר את הרוחב. |
depth | float | קריאה/כתיבה | מקבל או מגדיר את העומק. |
parent_nodes | List['Node'] | קריאה | מקבל את צמתי ההורה. |
parent_node | Optional['Node'] | קריאה/כתיבה | מקבל או מגדיר את צומת האב. |
excluded | bool | קריאה/כתיבה | מקבל או מגדיר את המושמט. |
scene | `` | קריאה/כתיבה | מקבל או מגדיר את הסצנה. |
name | str | קריאה/כתיבה | מקבל או מגדיר את השם. |
properties | PropertyCollection | קריאה | מקבל את המאפיינים. |
שיטות
| חתימה | תיאור |
|---|---|
__init__(name: str) | Calls init(name) במופע HollowRectangleShape זה. |
get_extent() → 'Vector2' | מקבל את ההיקף בממד x ו-y. |
__init__(name: str, width: float, depth: float) | Calls init(name, width, depth) על מופע HollowRectangleShape זה. |
get_entity_renderer_key() | מחזיר את entity renderer key. |
get_bounding_box() → BoundingBox | לא ממומש בגרסת FOSS — נזרק בזמן ריצה. מחזיר את bounding box. |
find_property(property_name: str) | קורא ל-find_property(property_name) על מופע HollowRectangleShape זה. |
get_property(property: str) | קורא ל-get_property(property) על מופע HollowRectangleShape זה. |
set_property(property: str, value) | מגדיר את ערך המאפיין. |
remove_property(property) | קורא ל-remove_property(property) על מופע HollowRectangleShape זה. |