Cubit 15.2 User Documentation
The base class for specifically the Geometry types (Body, Surface, etc.).
PyObservable
Entity
GeomEntity
Body | Curve | Surface | Vertex | Volume
mesh | Mesh the GeomEntity. | |
Bool | is_meshed | Return the current mesh state of the GeomEntity. |
smooth | Smooths the mesh on the GeomEntity. | |
remove_mesh | Removes the mesh on the GeomEntity. | |
str | entity_name | Return the first name of the GeomEntity. |
entity_name | Assign a name to the GeomEntity. | |
[ str ] | entity_names | Return the all the names of the GeomEntity. |
int | num_names | Return the number of names for the GeomEntity. |
remove_entity_name | Remove a specific name from the list of names assigned to the GeomEntity. | |
remove_entity_names | Remove all the names assigned to the GeomEntity. | |
int | dimension | Get the dimensions of the GeomEntity. |
[ Body] | bodies | Get the bodies in the GeomEntity. |
[ Volume] | volumes | Get the volumes in the GeomEntity. |
[ Surface] | surfaces | Get the surfaces in the GeomEntity. |
[ Curve] | curves | Get the curves in the GeomEntity. |
[ Vertex] | vertices | Get the vertices in the GeomEntity. |
geomEntity.mesh()
mesh = geomEntity.is_meshed()
Whether the GeomEntityis meshed or not
geomEntity.smooth()
geomEntity.remove_mesh()
name = geomEntity.entity_name()
The first name of the GeomEntity
geomEntity.entity_name("Brick1")
name | The name to be assigned to the GeomEntity |
names = geomEntity.entity_names()
A vector (or list) of all the names of the GeomEntity
num = geomEntity.num_names()
The number of names for the GeomEntity
geomEntity.remove_entity_name("Brick1")
name | The name to be removed from the list of names assigned to the GeomEntity |
geomEntity.remove_entity_names()
dim = geomEntity.dimension()
The dimension of the GeomEntity
bodies = geomEntity.bodies()
A vector (or list) of bodies contained within the GeomEntity
volumes = geomEntity.volumes()
A vector (or list) of volumes contained within the GeomEntity
surfaces = geomEntity.surfaces()
A vector (or list) of surfaces contained within the GeomEntity
curves = geomEntity.curves()
A vector (or list) of curves contained within the GeomEntity
vertices = geomEntity.vertices()
A vector (or list) of vertices contained within the GeomEntity