File size: 3,139 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# SPDX-License-Identifier: LGPL-2.1-or-later

from __future__ import annotations

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

@export(
    PythonName="Part.GeomPlate.BuildPlateSurfacePy",
    Twin="GeomPlate_BuildPlateSurface",
    TwinPointer="GeomPlate_BuildPlateSurface",
    Include="GeomPlate_BuildPlateSurface.hxx",
    Constructor=True,
    Delete=True,
)
class BuildPlateSurface(PyObjectBase):
    """
    This class provides an algorithm for constructing such a plate surface.

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

    def init(self) -> None:
        """
        Resets all constraints
        """
        ...

    def setNbBounds(self) -> None:
        """
        Sets the number of bounds
        """
        ...

    def loadInitSurface(self) -> None:
        """
        Loads the initial surface
        """
        ...

    @constmethod
    def surfInit(self) -> object:
        """
        Returns the initial surface
        """
        ...

    @constmethod
    def surface(self) -> object:
        """
        Returns the plate surface
        """
        ...

    def add(self) -> None:
        """
        Adds a linear or point constraint
        """
        ...

    def perform(self) -> None:
        """
        Calls the algorithm and computes the plate surface
        """
        ...

    @constmethod
    def isDone(self) -> bool:
        """
        Tests whether computation of the plate has been completed
        """
        ...

    @constmethod
    def sense(self) -> object:
        """
        Returns the orientation of the curves in the array returned by curves2d
        """
        ...

    @constmethod
    def order(self) -> int:
        """
        Returns the order of the curves in the array returned by curves2d
        """
        ...

    @constmethod
    def curves2d(self) -> List[object]:
        """
        Extracts the array of curves on the plate surface which
        correspond to the curve constraints set in add()
        """
        ...

    @constmethod
    def curveConstraint(self) -> object:
        """
        Returns the curve constraint of order
        """
        ...

    @constmethod
    def pointConstraint(self) -> object:
        """
        Returns the point constraint of order
        """
        ...

    def disc2dContour(self) -> object:
        """
        Returns the 2D contour of the plate surface
        """
        ...

    def disc3dContour(self) -> object:
        """
        Returns the 3D contour of the plate surface
        """
        ...

    @constmethod
    def G0Error(self) -> float:
        """
        Returns the max distance between the result and the constraints
        """
        ...

    @constmethod
    def G1Error(self) -> float:
        """
        Returns the max angle between the result and the constraints
        """
        ...

    @constmethod
    def G2Error(self) -> float:
        """
        Returns the max difference of curvature between the result and the constraints
        """
        ...