File size: 1,588 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
# 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

@export(
    PythonName="Part.ShapeFix.Solid",
    Twin="ShapeFix_Solid",
    TwinPointer="ShapeFix_Solid",
    Include="ShapeFix_Solid.hxx",
    FatherInclude="Mod/Part/App/ShapeFix/ShapeFix_RootPy.h",
    Constructor=True,
)
class ShapeFix_Solid(ShapeFix_Root):
    """
    Root class for fixing operations

    Author: Werner Mayer (wmayer@users.sourceforge.net)
    Licence: LGPL
    """

    FixShellMode: bool = ...
    """Mode for applying fixes of ShapeFix_Shell"""

    FixShellOrientationMode: bool = ...
    """
    Mode for applying analysis and fixes of
    orientation of shells in the solid
    """

    CreateOpenSolidMode: bool = ...
    """Mode for creation of solids"""

    def init(self) -> None:
        """
        Initializes by solid
        """
        ...

    def perform(self) -> None:
        """
        Iterates on subshapes and performs fixes
        """
        ...

    def solidFromShell(self) -> None:
        """
        Calls MakeSolid and orients the solid to be not infinite
        """
        ...

    def solid(self) -> None:
        """
        Returns resulting solid
        """
        ...

    def shape(self) -> None:
        """
        In case of multiconnexity returns compound of fixed solids
        else returns one solid
        """
        ...

    def fixShellTool(self) -> None:
        """
        Returns tool for fixing shells
        """
        ...