6.3 Edge object

Edges are one-dimensional regions of geometry.

Access
import part
mdb.models[name].parts[name].allInternalSets[name].edges[i]
mdb.models[name].parts[name].allInternalSurfaces[name].edges[i]
mdb.models[name].parts[name].allSets[name].edges[i]
mdb.models[name].parts[name].allSurfaces[name].edges[i]
mdb.models[name].parts[name].edges[i]
mdb.models[name].parts[name].sets[name].edges[i]
mdb.models[name].parts[name].surfaces[name].edges[i]
import assembly
mdb.models[name].rootAssembly.allInternalSets[name].edges[i]
mdb.models[name].rootAssembly.allInternalSurfaces[name].edges[i]
mdb.models[name].rootAssembly.allSets[name].edges[i]
mdb.models[name].rootAssembly.allSurfaces[name].edges[i]
mdb.models[name].rootAssembly.edges[i]
mdb.models[name].rootAssembly.instances[name].edges[i]
mdb.models[name].rootAssembly.instances[name].sets[name].edges[i]
mdb.models[name].rootAssembly.instances[name].surfaces[name].edges[i]
mdb.models[name].rootAssembly.sets[name].edges[i]
mdb.models[name].rootAssembly.surfaces[name].edges[i]


6.3.1 getCurvature(...)

This method returns curvature information at a location on the edge.

Required arguments

parameter

A Float specifying the normalized parameter location on the edge where the curvature is to be computed. This argument is mutually exclusive with the argument point.

point

A tuple of X-, Y-, and Z-coordinates of a point at which the curvature is to be computed. If point does not lie on the edge an attempt is made to project it onto the edge and use the projected point.

Optional arguments

None.

Return value

A dictionary with keys 'evaluationPoint', 'curvature', 'radius', 'tangent'. Where 'evaluationPoint' specifies the location at which the curvature was computed. 'curvature' specifies the curvature vector at that location. 'radius' is the Radius of curvature and 'tangent' specifies the tangent to the edge at that location.

Exceptions

The given edge is straight.


6.3.2 getFaces()

This method returns a sequence consisting of the face ids of the faces which share this edge.

Arguments

None.

Return value

A tuple of integers.

Exceptions

None.


6.3.3 getRadius()

This method returns the radius of circular edges.

Arguments

None.

Return value

A Float specifying the radius.

Exceptions

The given edges is not circular.


6.3.4 getSize(...)

This method returns a Float indicating the length of the edge.

Required arguments

None.

Optional argument

printResults

A Bool specifying whether verbose output is printed. The default is True.

Return value

A Float.

Exceptions

None.


6.3.5 getVertices()

This method returns a sequence consisting of the vertex ids of the vertices which bound this edge.

Arguments

None.

Return value

A tuple of integers.

Exceptions

None.


6.3.6  Members

The Edge object has the following members:

index

An Int specifying the index of the edge in the EdgeArray.

pointOn

A tuple of Floats specifying the X-, Y-, and Z-coordinates of a point located on the edge.

featureName

A tuple of Floats specifying the name of the feature that created this edge.

instanceName

A tuple of Floats specifying the name of the part instance for this edge (if applicable).