Download src/Mod/Part/App/AttachExtension.pyi from AbdulElahGwaith/FreeCAD: direct link, hf CLI and curl.
- Browser
- Download file 1.48 kB
-
https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/Part/App/AttachExtension.pyi
- Command line
-
hf download hf://AbdulElahGwaith/FreeCAD/src/Mod/Part/App/AttachExtension.pyi
-
curl -L -o AttachExtension.pyi https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/Part/App/AttachExtension.pyi
1.48 kB
| # SPDX-License-Identifier: LGPL-2.1-or-later | |
| from __future__ import annotations | |
| from Base.Metadata import export | |
| from App.DocumentObjectExtension import DocumentObjectExtension | |
| from typing import Any, Final | |
| Twin="AttachExtension", | |
| TwinPointer="AttachExtension", | |
| Include="Mod/Part/App/AttachExtension.h", | |
| FatherInclude="App/DocumentObjectExtensionPy.h", | |
| ) | |
| class AttachExtension(DocumentObjectExtension): | |
| """ | |
| This object represents an attachable object with OCC shape. | |
| Author: DeepSOIC (vv.titov@gmail.com) | |
| Licence: LGPL | |
| """ | |
| Attacher: Final[Any] = ... | |
| """AttachEngine object driving this AttachableObject. Returns a copy.""" | |
| def positionBySupport(self) -> bool: | |
| """ | |
| positionBySupport() -> bool | |
| Reposition object based on AttachmentSupport, MapMode and MapPathParameter properties. | |
| Returns True if attachment calculation was successful, false if object is not attached and Placement wasn't updated, | |
| and raises an exception if attachment calculation fails. | |
| """ | |
| ... | |
| def changeAttacherType(self, typename: str, /) -> None: | |
| """ | |
| changeAttacherType(typename) -> None | |
| Changes Attacher class of this object. | |
| typename: string. The following are accepted so far: | |
| 'Attacher::AttachEngine3D' | |
| 'Attacher::AttachEnginePlane' | |
| 'Attacher::AttachEngineLine' | |
| 'Attacher::AttachEnginePoint' | |
| """ | |
| ... | |