Source code for abaqus.Sketcher.ConstrainedSketchConstraint.EqualLengthConstraint

from .ConstrainedSketchConstraint import ConstrainedSketchConstraint
from ..ConstrainedSketchGeometry.ConstrainedSketchGeometry import ConstrainedSketchGeometry


[docs]class EqualLengthConstraint(ConstrainedSketchConstraint): def __init__(self, entity1: ConstrainedSketchGeometry, entity2: ConstrainedSketchGeometry): """This method creates an equal length constraint. This constraint applies to lines and constrains them such that their lengths are equal. Notes ----- This function can be accessed by: .. code-block:: python mdb.models[name].sketches[name].EqualLengthConstraint Parameters ---------- entity1 A ConstrainedSketchGeometry object specifying the first line. entity2 A ConstrainedSketchGeometry object specifying the second line. Returns ------- A ConstrainedSketchConstraint object. """ pass