Edge
#
- class ansys.geometry.core.designer.edge.Edge(id: str, curve_type: CurveType, body: ansys.geometry.core.designer.body.Body, grpc_client: ansys.geometry.core.connection.client.GrpcClient, is_reversed: bool = False)#
Represents a single edge of a body within the design assembly.
This class synchronizes to a design within a supporting Geometry service instance.
Overview#
ID of the edge. |
|
Flag indicating if the edge is reversed. |
|
Underlying trimmed curve of the edge. |
|
Calculated length of the edge. |
|
Curve type of the edge. |
|
Faces that contain the edge. |
|
Start point of the edge. |
|
End point of the edge. |
Import detail#
from ansys.geometry.core.designer.edge import Edge
Property detail#
- property Edge.shape: ansys.geometry.core.shapes.curves.trimmed_curve.TrimmedCurve#
Underlying trimmed curve of the edge.
If the edge is reversed, its shape is the
ReversedTrimmedCurve
type, which swaps the start and end points of the curve and handles parameters to allow evaluation as if the curve is not reversed.
- property Edge.length: pint.Quantity#
Calculated length of the edge.
- property Edge.faces: list[ansys.geometry.core.designer.face.Face]#
Faces that contain the edge.
- property Edge.start: ansys.geometry.core.math.point.Point3D#
Start point of the edge.
- property Edge.end: ansys.geometry.core.math.point.Point3D#
End point of the edge.