Files
create/src/Mod/CAM/App/FeatureAreaPy.pyi
Ian 'z0r0' Abreu f8fe935932 fixing imports
2025-07-20 09:04:27 -04:00

34 lines
928 B
Python

from typing import Any
from Base.Metadata import export
from App.DocumentObject import DocumentObject
@export(
Father="DocumentObjectPy",
Name="FeatureAreaPy",
Twin="FeatureArea",
TwinPointer="FeatureArea",
Include="Mod/CAM/App/FeatureArea.h",
Namespace="Path",
FatherInclude="App/DocumentObjectPy.h",
FatherNamespace="App",
)
class FeatureAreaPy(DocumentObject):
"""
This class handles Path Area features
"""
def getArea(self) -> Any:
"""Return a copy of the encapsulated Python Area object."""
...
def setParams(self, **kwargs) -> Any:
"""setParams(key=value...): Convenient function to configure this feature.
Same usage as Path.Area.setParams(). This function stores the parameters in the properties.
"""
...
WorkPlane: Any
"""The current workplane. If no plane is set, it is derived from the added shapes."""