Source code for abaqus.Sketcher.ConstrainedSketchConstraint.PerpendicularConstraint
from .ConstrainedSketchConstraint import ConstrainedSketchConstraint
from ..ConstrainedSketchGeometry.ConstrainedSketchGeometry import ConstrainedSketchGeometry
[docs]class PerpendicularConstraint(ConstrainedSketchConstraint):
def __init__(self, entity1: ConstrainedSketchGeometry, entity2: ConstrainedSketchGeometry):
"""This method creates a perpendicular constraint. This constraint applies to different
types of ConstrainedSketchGeometry objects and constrains them to be perpendicular to
each other.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].sketches[name].PerpendicularConstraint
Parameters
----------
entity1
A ConstrainedSketchGeometry object specifying the first object.
entity2
A ConstrainedSketchGeometry object specifying the second object.
Returns
-------
A ConstrainedSketchConstraint object.
"""
pass