File size: 2,170 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
# SPDX-License-Identifier: LGPL-2.1-or-later

from __future__ import annotations

from Base.Metadata import export, constmethod
from Base.PyObjectBase import PyObjectBase

@export(
    PythonName="Part.ShapeUpgrade.UnifySameDomain",
    Include="ShapeUpgrade_UnifySameDomain.hxx",
    Twin="ShapeUpgrade_UnifySameDomain",
    TwinPointer="ShapeUpgrade_UnifySameDomain",
    Constructor=True,
    Delete=True,
)
class UnifySameDomain(PyObjectBase):
    """
    This tool tries to unify faces and edges of the shape which lie on the same geometry.

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

    def initialize(self, **kwargs) -> None:
        """
        Initializes with a shape and necessary flags
        """
        ...

    def allowInternalEdges(self) -> None:
        """
        Sets the flag defining whether it is allowed to create
        internal edges inside merged faces in the case of non-manifold
        topology. Without this flag merging through multi connected edge
        is forbidden. Default value is false.
        """
        ...

    def keepShape(self) -> None:
        """
        Sets the shape for avoid merging of the faces/edges.
        """
        ...

    def keepShapes(self) -> None:
        """
        Sets the map of shapes for avoid merging of the faces/edges.
        """
        ...

    def setSafeInputMode(self) -> None:
        """
        Sets the flag defining the behavior of the algorithm regarding
        modification of input shape.
        If this flag is equal to True then the input (original) shape can't be
        modified during modification process. Default value is true.
        """
        ...

    def setLinearTolerance(self) -> None:
        """
        Sets the linear tolerance
        """
        ...

    def setAngularTolerance(self) -> None:
        """
        Sets the angular tolerance
        """
        ...

    def build(self) -> None:
        """
        Performs unification and builds the resulting shape
        """
        ...

    @constmethod
    def shape(self) -> None:
        """
        Gives the resulting shape
        """
        ...