File size: 1,099 Bytes
985c397 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | # SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import annotations
from Base.Metadata import export
from Base.Vector import Vector
from TrimmedCurve import TrimmedCurve
from typing import overload
@export(
Father="TrimmedCurvePy",
PythonName="Part.ArcOfConic",
Twin="GeomArcOfConic",
TwinPointer="GeomArcOfConic",
Include="Mod/Part/App/Geometry.h",
FatherInclude="Mod/Part/App/TrimmedCurvePy.h",
Constructor=True,
)
class ArcOfConic(TrimmedCurve):
"""
Describes a portion of a conic
Author: Abdullah Tahiri (abdullah.tahiri.yo@gmail.com)
Licence: LGPL
"""
@overload
def __init__(self) -> None: ...
Location: Vector = ...
"""Center of the conic."""
Center: Vector = ...
"""Deprecated -- use Location."""
AngleXU: float = ...
"""The angle between the X axis and the major axis of the conic."""
Axis: Vector = ...
"""The axis direction of the conic"""
XAxis: Vector = ...
"""The X axis direction of the circle"""
YAxis: Vector = ...
"""The Y axis direction of the circle"""
|