HollowRectangleShape
Visão geral
HollowRectangleShape é uma classe em Aspose.3D FOSS para Python. Herda de: RectangleShape.
Forma retangular oca compatível com IFC com cantos internos/externos arredondados.
Esta classe declara 9 métodos para objetos HollowRectangleShape em programas Python. Os métodos disponíveis incluem: __init__, find_property, get_bounding_box, get_entity_renderer_key, get_extent, get_property, remove_property, set_property. Todos os membros públicos são acessíveis a qualquer aplicação Python após a instalação do pacote Aspose.3D FOSS para Python. Propriedades: depth, excluded, external_fillet_radius, internal_fillet_radius, name, parent_node, e mais 5.
Propriedades
| Nome | Tipo | Acesso | Descrição |
|---|---|---|---|
wall_thickness | float | Leitura/Escrita | Obtém ou define a espessura da parede. |
external_fillet_radius | float | Leitura/Escrita | Obtém ou define o raio do filete externo. |
internal_fillet_radius | float | Leitura/Escrita | Obtém ou define o raio interno do arredondamento. |
width | float | Leitura/Escrita | Obtém ou define a largura. |
depth | float | Leitura/Escrita | Obtém ou define a profundidade. |
parent_nodes | List['Node'] | Leitura | Obtém os nós pai. |
parent_node | Optional['Node'] | Leitura/Escrita | Obtém ou define o nó pai. |
excluded | bool | Leitura/Escrita | Obtém ou define o excluído. |
scene | `` | Leitura/Escrita | Obtém ou define a cena. |
name | str | Leitura/Escrita | Obtém ou define o nome. |
properties | PropertyCollection | Leitura | Obtém as propriedades. |
Métodos
| Assinatura | Descrição |
|---|---|
__init__(name: str) | Calls init(name) nesta instância HollowRectangleShape. |
get_extent() → 'Vector2' | Obtém a extensão nas dimensões x e y. |
__init__(name: str, width: float, depth: float) | Calls init(name, width, depth) nesta instância de HollowRectangleShape. |
get_entity_renderer_key() | Retorna a chave do renderizador de entidade. |
get_bounding_box() → BoundingBox | Não implementado na edição FOSS — lança em tempo de execução. Retorna a caixa delimitadora. |
find_property(property_name: str) | Chama find_property(property_name) nesta instância de HollowRectangleShape. |
get_property(property: str) | Chama get_property(property) nesta instância de HollowRectangleShape. |
set_property(property: str, value) | Define o valor da propriedade. |
remove_property(property) | Chama remove_property(property) nesta instância de HollowRectangleShape. |