HShape
Visão geral
HShape é uma classe em Aspose.3D FOSS para Python. Herda de: ParameterizedProfile.
Perfil em forma de H compatível com IFC.
Esta classe declara 9 métodos para objetos HShape 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, flange_thickness, name, parent_node, parent_nodes e mais 4.
Propriedades
| Nome | Tipo | Acesso | Descrição |
|---|---|---|---|
width | float | Leitura/Escrita | Obtém ou define a largura. |
depth | float | Leitura/Escrita | Obtém ou define a profundidade. |
web_thickness | float | Leitura/Escrita | Obtém ou define a espessura da alma. |
flange_thickness | float | Leitura/Escrita | Obtém ou define a espessura da flange. |
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, width: float, depth: float, web_thickness: float, flange_thickness: float) | Calls init(name, width, depth, web_thickness, flange_thickness) nesta instância de HShape. |
get_extent() → 'Vector2' | Obtém a extensão nas dimensões x e y. |
__init__(name: str) | Calls init(name) nesta instância de HShape. |
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 HShape. |
get_property(property: str) | Chama get_property(property) nesta instância de HShape. |
set_property(property: str, value) | Define o valor da propriedade. |
remove_property(property) | Chama remove_property(property) nesta instância de HShape. |