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

from __future__ import annotations

from Base.Metadata import export
from Part.PartFeature import PartFeature
from typing import Optional, overload

@export(
    Include="Mod/PartDesign/App/Feature.h",
    FatherInclude="Mod/Part/App/PartFeaturePy.h",
)
class Feature(PartFeature):
    """
    This is the father of all PartDesign object classes

    Author: Juergen Riegel (FreeCAD@juergen-riegel.net)
    Licence: LGPL
    """

    @overload
    def getBaseObject(self) -> Optional[object]:
        """
        getBaseObject: returns feature this one fuses itself to, or None. Normally, this should be the same as BaseFeature property, except for legacy workflow. In legacy workflow, it will look up the support of referenced sketch.
        """
        ...

    def getBaseObject(self) -> Optional[object]:
        """
        getBaseObject: returns feature this one fuses itself to, or None. Normally, this should be the same as BaseFeature property, except for legacy workflow. In legacy workflow, it will look up the support of referenced sketch.
        """
        ...