27 lines
717 B
Python
27 lines
717 B
Python
from Metadata import export
|
|
from typing import Final
|
|
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.""" |