TShape
Overview
TShape is a class in Aspose.3D FOSS for Python.
Inherits from: ParameterizedProfile.
IFC compatible T-shape defined by parameters.
This class declares 8 methods for TShape objects in Python programs.
Available methods include: __init__, find_property, get_bounding_box, get_entity_renderer_key, get_extent, get_property, remove_property, set_property.
All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.
Properties: depth, excluded, fillet_radius, flange_edge_radius, flange_thickness, flange_width, and 6 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
depth | float | Read/Write | Gets or sets the depth. |
flange_width | float | Read/Write | Gets or sets the flange width. |
web_thickness | float | Read/Write | Gets or sets the web thickness. |
flange_thickness | float | Read/Write | Gets or sets the flange thickness. |
fillet_radius | float | Read/Write | Gets or sets the fillet radius. |
flange_edge_radius | float | Read/Write | Gets or sets the flange edge radius. |
parent_nodes | List['Node'] | Read | Gets the parent nodes. |
parent_node | Optional['Node'] | Read/Write | Gets or sets the parent node. |
excluded | bool | Read/Write | Gets or sets the excluded. |
scene | `` | Read/Write | Gets or sets the scene. |
name | str | Read/Write | Gets or sets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
__init__(name: str) | Calls init(name) on this TShape instance. |
get_extent() → 'Vector2' | Gets the extent in x and y dimension. |
get_entity_renderer_key() | Returns the entity renderer key. |
get_bounding_box() → BoundingBox | Not implemented in the FOSS edition — throws at runtime. Returns the bounding box. |
find_property(property_name: str) | Calls find_property(property_name) on this TShape instance. |
get_property(property: str) | Calls get_property(property) on this TShape instance. |
set_property(property: str, value) | Sets the property value. |
remove_property(property) | Calls remove_property(property) on this TShape instance. |