The auxiliary.py
module#
Summary#
Get the |
|
Get the |
|
Get the |
|
Get the |
|
Find the |
|
Find the |
|
Find the |
Description#
Auxiliary functions for the PyAnsys Geometry library.
Module detail#
- auxiliary.get_design_from_component(component: ansys.geometry.core.designer.component.Component) ansys.geometry.core.designer.design.Design #
Get the
Design
of the givenComponent
object.- Parameters:
- component
Component
The component object for which to find the
Design
.
- component
- Returns:
Design
The
Design
of the provided component object.
- auxiliary.get_design_from_body(body: ansys.geometry.core.designer.body.Body) ansys.geometry.core.designer.design.Design #
Get the
Design
of the givenBody
object.- Parameters:
- body
Body
The body object for which to find the
Design
.
- body
- Returns:
Design
The
Design
of the provided body object.
- auxiliary.get_design_from_face(face: ansys.geometry.core.designer.face.Face) ansys.geometry.core.designer.design.Design #
Get the
Design
of the givenFace
object.- Parameters:
- face
Face
The face object for which to find the
Design
.
- face
- Returns:
Design
The
Design
of the provided face object.
- auxiliary.get_design_from_edge(edge: ansys.geometry.core.designer.edge.Edge) ansys.geometry.core.designer.design.Design #
Get the
Design
of the givenEdge
object.- Parameters:
- edge
Edge
The edge object for which to find the
Design
.
- edge
- Returns:
Design
The
Design
of the provided edge object.
- auxiliary.get_bodies_from_ids(design: ansys.geometry.core.designer.design.Design, body_ids: list[str]) list[ansys.geometry.core.designer.body.Body] #
Find the
Body
objects inside aDesign
from its ids.- Parameters:
- Returns:
list
[Body
]List of Body objects.
Notes
This method takes a design and body ids, and gets their corresponding
Body
object.
- auxiliary.get_faces_from_ids(design: ansys.geometry.core.designer.design.Design, face_ids: list[str]) list[ansys.geometry.core.designer.face.Face] #
Find the
Face
objects inside aDesign
from its ids.- Parameters:
- Returns:
list
[Face
]List of Face objects.
Notes
This method takes a design and face ids, and gets their corresponding
Face
object.
- auxiliary.get_edges_from_ids(design: ansys.geometry.core.designer.design.Design, edge_ids: list[str]) list[ansys.geometry.core.designer.edge.Edge] #
Find the
Edge
objects inside aDesign
from its ids.- Parameters:
- Returns:
list
[Edge
]List of Edge objects.
Notes
This method takes a design and edge ids, and gets their corresponding
Edge
objects.