Download src/Mod/Part/App/ShapeFix/ShapeFix_ShapeTolerance.pyi from AbdulElahGwaith/FreeCAD: direct link, hf CLI and curl.
- Browser
- Download file 1.44 kB
-
https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/Part/App/ShapeFix/ShapeFix_ShapeTolerance.pyi
- Command line
-
hf download hf://AbdulElahGwaith/FreeCAD/src/Mod/Part/App/ShapeFix/ShapeFix_ShapeTolerance.pyi
-
curl -L -o ShapeFix_ShapeTolerance.pyi https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/Part/App/ShapeFix/ShapeFix_ShapeTolerance.pyi
1.44 kB
| # SPDX-License-Identifier: LGPL-2.1-or-later | |
| from __future__ import annotations | |
| from Base.Metadata import export | |
| from Base.PyObjectBase import PyObjectBase | |
| from Part.App.TopoShape import TopoShape | |
| from typing import overload | |
| PythonName="Part.ShapeFix.ShapeTolerance", | |
| Include="ShapeFix_ShapeTolerance.hxx", | |
| Constructor=True, | |
| Delete=True, | |
| ) | |
| class ShapeFix_ShapeTolerance(PyObjectBase): | |
| """ | |
| Modifies tolerances of sub-shapes (vertices, edges, faces) | |
| Author: Werner Mayer (wmayer@users.sourceforge.net) | |
| Licence: LGPL | |
| """ | |
| def limitTolerance(self, shape: TopoShape, tmin: float, /) -> None: ... | |
| def limitTolerance( | |
| self, shape: TopoShape, tmin: float, tmax: float, ShapeEnum: str = None, / | |
| ) -> None: ... | |
| def limitTolerance( | |
| self, shape: TopoShape, tmin: float, tmax: float = 0, ShapeEnum: str = None, / | |
| ) -> None: | |
| """ | |
| limitTolerance(shape, tmin, [tmax=0, ShapeEnum=SHAPE]) | |
| """ | |
| ... | |
| def setTolerance(self, shape: TopoShape, precision: float, /) -> None: ... | |
| def setTolerance( | |
| self, shape: TopoShape, precision: float, ShapeEnum: str = None, / | |
| ) -> None: ... | |
| def setTolerance(self, shape: TopoShape, precision: float, ShapeEnum: str = None, /) -> None: | |
| """ | |
| setTolerance(shape, precision, [ShapeEnum=SHAPE]) | |
| """ | |
| ... | |