Download src/Mod/TechDraw/App/CosmeticEdge.pyi from AbdulElahGwaith/FreeCAD: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/TechDraw/App/CosmeticEdge.pyi
- Command line
-
hf download hf://AbdulElahGwaith/FreeCAD/src/Mod/TechDraw/App/CosmeticEdge.pyi
-
curl -L -o CosmeticEdge.pyi https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/TechDraw/App/CosmeticEdge.pyi
1.21 kB
| # SPDX-License-Identifier: LGPL-2.1-or-later | |
| from __future__ import annotations | |
| from typing import Final, TypeAlias | |
| from Base.PyObjectBase import PyObjectBase | |
| from Base.Metadata import export | |
| from Base import Vector | |
| PyCXXVector: TypeAlias = Vector # Dirty trick to workaround current generator limitations | |
| Include="Mod/TechDraw/App/Cosmetic.h", | |
| Namespace="TechDraw", | |
| FatherInclude="Base/GeometryPyCXX.h", | |
| Constructor=True, | |
| Delete=True, | |
| ) | |
| class CosmeticEdge(PyObjectBase): | |
| """ | |
| CosmeticEdge specifies an extra (cosmetic) edge in Views | |
| Author: WandererFan (wandererfan@gmail.com) | |
| License: LGPL-2.1-or-later | |
| """ | |
| Tag: Final[str] | |
| """Gives the tag of the CosmeticEdge as string.""" | |
| Start: PyCXXVector | |
| """Gives the position of one end of this CosmeticEdge as vector.""" | |
| End: PyCXXVector | |
| """Gives the position of one end of this CosmeticEdge as vector.""" | |
| Center: PyCXXVector | |
| """Gives the position of center point of this CosmeticEdge as vector.""" | |
| Radius: float | |
| """Gives the radius of CosmeticEdge in mm.""" | |
| Format: dict | |
| """The appearance attributes (style, weight, color, visible) for this CosmeticEdge.""" | |