Search the documentation
Enter at least 2 characters
Enter at least 2 characters
![]() |
CAE Fidesys 9.0 Documentation |
The base class of all the geometry and mesh types.
PyObservable
Entity
GeomEntity
Body | Curve
| Surface | Vertex
| Volume
| destroy_fidesys_entity | ||
| [ float ] | bounding_box | Get the bounding box of the Entity. |
| [ float ] | center_point | Get the center point of the Entity. |
| int | id | Get the id of the Entity. |
| is_visible | Set the visibility state of the Entity. | |
| int | is_visible | Get the visibility state of the Entity. |
| is_transparent | Set the tranparency state of the Entity. | |
| int | is_transparent | Get the tranparency state of the Entity. |
Get the bounding box of the Entity.
b_box = entity.bounding_box()
The bounding box as a vector (or list) where the indices correspond to the values as follows: 0 - minimum x value 1 - minimum y value 2 - minimum z value 3 - maximum x value 4 - maximum y value 5 - maximum z value
Get the center point of the Entity.
center = entity.center_point()
The center point as a vector (or list) where the indices correspond to the values as follows: 0 - x value 1 - y value 2 - z value
Get the id of the Entity.
id = entity.id()
The id of the Entity
Set the visibility state of the Entity.
entity.is_visible(1)
| visibility_flag | The flag that sets whether the Entityis visible (1) or not (0) |
Get the visibility state of the Entity.
vis = entity.is_visible()
The current visiblity state of the Entity(1 if visible, 0 if not)
Set the transparency state of the Entity.
entity.is_transparent(1)
| transparency_flag | The flag that sets whether the Entityis transparent (1) or not (0) |
Get the transparency state of the Entity.
trans = entity.is_transparent()
The current transparency state of the Entity(1 if transparent, 0 if not)