Accessimport 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.allinstances.edges[i] mdb.models[name].rootAssembly.allinstances.sets[name].edges[i] mdb.models[name].rootAssembly.allinstances.surfaces[name].edges[i] 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.modelInstances[i].edges[i] mdb.models[name].rootAssembly.modelInstances[i].sets[name].edges[i] mdb.models[name].rootAssembly.modelInstances[i].surfaces[name]\ .edges[i] mdb.models[name].rootAssembly.sets[name].edges[i] mdb.models[name].rootAssembly.surfaces[name].edges[i] isTangentFlipped()
This method determines whether the tangent to the edge is flipped from its default direction by the use of the flipTangent method on a Part object. ArgumentsNone. Return valueA Boolean value of True if the tangent is flipped and False if not. ExceptionsNone. getCurvature(...)
This method returns curvature information at a location on the edge. Required arguments
Optional argumentsNone. Return valueA dictionary with keys 'evaluationPoint', 'curvature', 'radius', and '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. ExceptionsThe given edge is straight. getFaces()
This method returns a sequence consisting of the face ids of the faces which share this edge. ArgumentsNone. Return valueA tuple of integers. ExceptionsNone. getAdjacentEdges()
This method returns an array of Edge objects that share at least one vertex of the edge. ArgumentsNone. Return valueAn EdgeArray object, which is a sequence of Edge objects. ExceptionsNone. getEdgesByEdgeAngle(...)
This method returns an array of Edge objects that are obtained by recursively finding adjacent edges that are at an angle of less than or equal to the specified face angle. Required arguments
Optional argumentsNone. Return valueAn EdgeArray object, which is a sequence of Edgeobjects. ExceptionsNone. getNodes()
This method returns an array of node objects that are associated with the edge. ArgumentsNone. Return valueA MeshNodeArray object, which is a sequence of MeshNode objects. ExceptionsNone. getElements()
This method returns an array of element objects that are associated with the edge. ArgumentsNone. Return valueA MeshElementArray object which is a sequence of MeshElement objects. ExceptionsNone. getRadius()
This method returns the radius of circular edges. ArgumentsNone. Return valueA Float specifying the radius. ExceptionsThe given edges is not circular. getSize(...)
This method returns a Float indicating the length of the edge. Required argumentsNone. Optional arguments
Return valueA Float. ExceptionsNone. getVertices()
This method returns a sequence of indices of the vertices that bound this edge. The first index refers to the vertex where the normalized curve parameter = 0.0, and the second index refers to the vertex where the normalized curve parameter = 1.0. If the edge is a closed curve, only one vertex index is returned. ArgumentsNone. Return valueA tuple of integers. ExceptionsNone. MembersThe Edge object has the following members:
|