File size: 2,189 Bytes
985c397 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | # 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
from Part.App.TopoShape import TopoShape
@export(
PythonName="Part.ShapeFix.FixSmallFace",
Include="ShapeFix_FixSmallFace.hxx",
FatherInclude="Mod/Part/App/ShapeFix/ShapeFix_RootPy.h",
Constructor=True,
)
class ShapeFix_FixSmallFace(ShapeFix_Root):
"""
Class for fixing operations on faces
Author: Werner Mayer (wmayer@users.sourceforge.net)
Licence: LGPL
"""
def init(self) -> None:
"""
Initializes by shape
"""
...
def perform(self) -> None:
"""
Fixing case of spot face
"""
...
def fixSpotFace(self) -> None:
"""
Fixing case of spot face, if tol = -1 used local tolerance
"""
...
def replaceVerticesInCaseOfSpot(self) -> None:
"""
Compute average vertex and replacing vertices by new one
"""
...
def removeFacesInCaseOfSpot(self) -> None:
"""
Remove spot face from compound
"""
...
def fixStripFace(self) -> None:
"""
Fixing case of strip face, if tol = -1 used local tolerance
"""
...
def removeFacesInCaseOfStrip(self) -> None:
"""
Remove strip face from compound
"""
...
def fixSplitFace(self) -> TopoShape:
"""
Fixes cases related to split faces within the given shape.
It may return a modified shape after fixing the issues.
"""
...
def fixFace(self) -> None:
"""
Fixes issues related to the specified face and returns the modified face.
"""
...
def fixShape(self) -> None:
"""
Fixes issues in the overall geometric shape.
This function likely encapsulates higher-level fixes that involve multiple faces or elements.
"""
...
def shape(self) -> TopoShape:
"""
Returns the current state of the geometric shape after potential modifications.
"""
...
|