Makes a three point arc through the provided points :param cls: :param v1: start vector :param v2: middle vector :param v3: end vector :return: an edge object through the three points
(cls, v1: VectorLike, v2: VectorLike, v3: VectorLike)
| 2814 | |
| 2815 | @classmethod |
| 2816 | def makeThreePointArc(cls, v1: VectorLike, v2: VectorLike, v3: VectorLike) -> Edge: |
| 2817 | """ |
| 2818 | Makes a three point arc through the provided points |
| 2819 | |
| 2820 | :param cls: |
| 2821 | :param v1: start vector |
| 2822 | :param v2: middle vector |
| 2823 | :param v3: end vector |
| 2824 | :return: an edge object through the three points |
| 2825 | """ |
| 2826 | circle_geom = GC_MakeArcOfCircle( |
| 2827 | Vector(v1).toPnt(), Vector(v2).toPnt(), Vector(v3).toPnt() |
| 2828 | ).Value() |
| 2829 | |
| 2830 | return cls(BRepBuilderAPI_MakeEdge(circle_geom).Edge()) |
| 2831 | |
| 2832 | @classmethod |
| 2833 | def makeTangentArc(cls, v1: VectorLike, v2: VectorLike, v3: VectorLike) -> Edge: |