File size: 775 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
# SPDX-License-Identifier: LGPL-2.1-or-later

from __future__ import annotations

from Metadata import export
from Part.Geom2d import Curve2d

@export(
    Name="OffsetCurve2dPy",
    Namespace="Part",
    Twin="Geom2dOffsetCurve",
    TwinPointer="Geom2dOffsetCurve",
    PythonName="Part.Geom2d.OffsetCurve2d",
    FatherInclude="Mod/Part/App/Geom2d/Curve2dPy.h",
    Include="Mod/Part/App/Geometry2d.h",
    Father="Curve2dPy",
    FatherNamespace="Part",
    Constructor=True,
)
class OffsetCurve2d(Curve2d):
    """
    Author: Werner Mayer (wmayer@users.sourceforge.net)
    Licence: LGPL
    """

    OffsetValue: float = ...
    """Sets or gets the offset value to offset the underlying curve."""

    BasisCurve: object = ...
    """Sets or gets the basic curve."""