Download src/Mod/Part/App/ShapeFix/ShapeFix_FixSmallSolid.pyi from AbdulElahGwaith/FreeCAD: direct link, hf CLI and curl.
- Browser
- Download file 1.39 kB
-
https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/Part/App/ShapeFix/ShapeFix_FixSmallSolid.pyi
- Command line
-
hf download hf://AbdulElahGwaith/FreeCAD/src/Mod/Part/App/ShapeFix/ShapeFix_FixSmallSolid.pyi
-
curl -L -o ShapeFix_FixSmallSolid.pyi https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/Part/App/ShapeFix/ShapeFix_FixSmallSolid.pyi
1.39 kB
| # SPDX-License-Identifier: LGPL-2.1-or-later | |
| from __future__ import annotations | |
| from Base.Metadata import export | |
| from Part.App.ShapeFix.ShapeFix_Root import ShapeFix_Root | |
| PythonName="Part.ShapeFix.FixSmallSolid", | |
| Include="ShapeFix_FixSmallSolid.hxx", | |
| FatherInclude="Mod/Part/App/ShapeFix/ShapeFix_RootPy.h", | |
| Constructor=True, | |
| ) | |
| class ShapeFix_FixSmallSolid(ShapeFix_Root): | |
| """ | |
| Fixing solids with small size | |
| Author: Werner Mayer (wmayer@users.sourceforge.net) | |
| Licence: LGPL | |
| """ | |
| def setFixMode(self, theMode: int, /) -> None: | |
| """ | |
| Set working mode for operator: | |
| - theMode = 0 use both WidthFactorThreshold and VolumeThreshold parameters | |
| - theMode = 1 use only WidthFactorThreshold parameter | |
| - theMode = 2 use only VolumeThreshold parameter | |
| """ | |
| ... | |
| def setVolumeThreshold(self) -> None: | |
| """ | |
| Set or clear volume threshold for small solids | |
| """ | |
| ... | |
| def setWidthFactorThreshold(self) -> None: | |
| """ | |
| Set or clear width factor threshold for small solids | |
| """ | |
| ... | |
| def remove(self) -> None: | |
| """ | |
| Remove small solids from the given shape | |
| """ | |
| ... | |
| def merge(self) -> None: | |
| """ | |
| Merge small solids in the given shape to adjacent non-small ones | |
| """ | |
| ... | |