• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

haiiliin / abqpy / 10592590688

28 Aug 2024 07:59AM UTC coverage: 74.293% (+0.2%) from 74.108%
10592590688

push

github

haiiliin
Add future annotations imports to all files

356 of 395 new or added lines in 395 files covered. (90.13%)

37 existing lines in 37 files now uncovered.

25371 of 34150 relevant lines covered (74.29%)

0.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/abaqus/Sketcher/ConstrainedSketchConstraint/EqualDistanceConstraint.py
NEW
1
from __future__ import annotations
×
2

UNCOV
3
from abqpy.decorators import abaqus_class_doc, abaqus_method_doc
×
4

5
from ...BasicGeometry.Vertex import Vertex
×
6
from ..ConstrainedSketchGeometry.ConstrainedSketchGeometry import (
×
7
    ConstrainedSketchGeometry,
8
)
9
from .ConstrainedSketchConstraint import ConstrainedSketchConstraint
×
10

11

12
@abaqus_class_doc
×
13
class EqualDistanceConstraint(ConstrainedSketchConstraint):
×
14
    @abaqus_method_doc
×
15
    def __init__(self, entity1: str, entity2: ConstrainedSketchGeometry, midpoint: Vertex):
×
16
        """This method creates an equal distance constraint. This constraint can be applied between a midpoint
17
        ConstrainedSketchVertex object and any other two ConstrainedSketchVertex objects or between a midpoint
18
        ConstrainedSketchVertex object and two ConstrainedSketchGeometry objects that are lines. The equal
19
        distance constraint forces the midpoint vertex to remain at an equal distance from the two other
20
        vertices or lines.
21

22
        .. note::
23
            This function can be accessed by::
24

25
                mdb.models[name].sketches[name].EqualDistanceConstraint
26

27
        Parameters
28
        ----------
29
        entity1
30
            AConstrainedSketchGeometry object specifying the first line or ConstrainedSketchVertex object.
31
        entity2
32
            A ConstrainedSketchGeometry object specifying the second line or ConstrainedSketchVertex object.
33
        midpoint
34
            A ConstrainedSketchVertex object specifying the vertex that will be positioned an equal distance from
35
            **entity1** and **entity2**.
36

37
        Returns
38
        -------
39
        ConstrainedSketchConstraint
40
            A ConstrainedSketchConstraint object.
41
        """
42
        ...
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc