Makes a tangent arc from point v1, in the direction of v2 and ends at v3. :param cls: :param v1: start vector :param v2: tangent vector :param v3: end vector :return: an edge
(cls, v1: VectorLike, v2: VectorLike, v3: VectorLike)
| 2831 | |
| 2832 | @classmethod |
| 2833 | def makeTangentArc(cls, v1: VectorLike, v2: VectorLike, v3: VectorLike) -> Edge: |
| 2834 | """ |
| 2835 | Makes a tangent arc from point v1, in the direction of v2 and ends at v3. |
| 2836 | |
| 2837 | :param cls: |
| 2838 | :param v1: start vector |
| 2839 | :param v2: tangent vector |
| 2840 | :param v3: end vector |
| 2841 | :return: an edge |
| 2842 | """ |
| 2843 | circle_geom = GC_MakeArcOfCircle( |
| 2844 | Vector(v1).toPnt(), Vector(v2).wrapped, Vector(v3).toPnt() |
| 2845 | ).Value() |
| 2846 | |
| 2847 | return cls(BRepBuilderAPI_MakeEdge(circle_geom).Edge()) |
| 2848 | |
| 2849 | @classmethod |
| 2850 | def makeLine(cls, v1: VectorLike, v2: VectorLike) -> Edge: |