HollowRectangleShape

HollowRectangleShape

概述

HollowRectangleShape 是 Aspose.3D FOSS 中用于 Python 的类。继承自:RectangleShape。

兼容 IFC 的中空矩形形状,具有内外圆角。

此类为 Python 程序中的 HollowRectangleShape 对象声明了 9 个方法。可用的方法包括:__init__、find_property、get_bounding_box、get_entity_renderer_key、get_extent、get_property、remove_property、set_property。在安装了 Aspose.3D 用于 Python 的 FOSS 包后,所有公共成员对任何 Python 应用程序均可访问。属性:depth、excluded、external_fillet_radius、internal_fillet_radius、name、parent_node,以及另外 5 项。

属性

名称类型访问描述
wall_thicknessfloat读写获取或设置壁厚。
external_fillet_radiusfloat读写获取或设置外部圆角半径。
internal_fillet_radiusfloat读写获取或设置内部圆角半径。
widthfloat读写获取或设置宽度。
depthfloat读写获取或设置深度。
parent_nodesList['Node']读取获取父节点。
parent_nodeOptional['Node']读写获取或设置父节点。
excludedbool读写获取或设置排除项。
scene``读写获取或设置场景。
namestr读写获取或设置名称。
propertiesPropertyCollection读取获取属性。

方法

签名描述
__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()返回实体渲染器键。
get_bounding_box() → BoundingBox在 FOSS 版中未实现 — 在运行时抛出。 返回边界框。
find_property(property_name: str)在此 HollowRectangleShape 实例上调用 find_property(property_name)。
get_property(property: str)在此 HollowRectangleShape 实例上调用 get_property(property)。
set_property(property: str, value)设置属性值。
remove_property(property)在此 HollowRectangleShape 实例上调用 remove_property(property)。

另请参阅

 中文