Source code for abaqus.Sketcher.ConstrainedSketchConstraint.ConcentricConstraint
from .ConstrainedSketchConstraint import ConstrainedSketchConstraint
from ..ConstrainedSketchGeometry.ConstrainedSketchGeometry import ConstrainedSketchGeometry
[docs]class ConcentricConstraint(ConstrainedSketchConstraint):
def __init__(self, entity1: ConstrainedSketchGeometry, entity2: ConstrainedSketchGeometry):
"""This method creates a concentric constraint. This constraint applies to any combination
of circles, arcs, ellipses, and points and constrains them to be concentric. A
concentric constraint implies that the center of ConstrainedSketchGeometry objects
coincide.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].sketches[name].ConcentricConstraint
Parameters
----------
entity1
A ConstrainedSketchGeometry object specifying the first arc, circle, ellipse, or sketch
vertex.
entity2
A ConstrainedSketchGeometry object specifying the second arc, circle, ellipse, or sketch
vertex.
Returns
-------
A ConstrainedSketchConstraint object.
"""
pass