forked from tpaviot/pythonocc-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBRepAlgoAPI.pyi
More file actions
170 lines (156 loc) · 6.88 KB
/
BRepAlgoAPI.pyi
File metadata and controls
170 lines (156 loc) · 6.88 KB
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
from enum import IntEnum
from typing import overload, NewType, Optional, Tuple
from OCC.Core.Standard import *
from OCC.Core.NCollection import *
from OCC.Core.BOPAlgo import *
from OCC.Core.TopoDS import *
from OCC.Core.BRepBuilderAPI import *
from OCC.Core.TopTools import *
from OCC.Core.BRepTools import *
from OCC.Core.gp import *
from OCC.Core.Geom import *
class BRepAlgoAPI_Check(BOPAlgo_Options):
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, theS: TopoDS_Shape, bTestSE: Optional[bool] = True, bTestSI: Optional[bool] = True) -> None: ...
@overload
def __init__(self, theS1: TopoDS_Shape, theS2: TopoDS_Shape, theOp: Optional[BOPAlgo_Operation] = BOPAlgo_UNKNOWN, bTestSE: Optional[bool] = True, bTestSI: Optional[bool] = True) -> None: ...
def IsValid(self) -> bool: ...
def Perform(self) -> None: ...
def Result(self) -> BOPAlgo_ListOfCheckResult: ...
@overload
def SetData(self, theS: TopoDS_Shape, bTestSE: Optional[bool] = True, bTestSI: Optional[bool] = True) -> None: ...
@overload
def SetData(self, theS1: TopoDS_Shape, theS2: TopoDS_Shape, theOp: Optional[BOPAlgo_Operation] = BOPAlgo_UNKNOWN, bTestSE: Optional[bool] = True, bTestSI: Optional[bool] = True) -> None: ...
class BRepAlgoAPI_Algo(BRepBuilderAPI_MakeShape, BOPAlgo_Options):
def Shape(self) -> TopoDS_Shape: ...
class BRepAlgoAPI_BuilderAlgo(BRepAlgoAPI_Algo):
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, thePF: BOPAlgo_PaveFiller) -> None: ...
def Arguments(self) -> TopTools_ListOfShape: ...
def Build(self) -> None: ...
def Builder(self) -> BOPAlgo_PBuilder: ...
def CheckInverted(self) -> bool: ...
def DSFiller(self) -> BOPAlgo_PPaveFiller: ...
def Generated(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ...
def Glue(self) -> BOPAlgo_GlueEnum: ...
def HasDeleted(self) -> bool: ...
def HasGenerated(self) -> bool: ...
def HasHistory(self) -> bool: ...
def HasModified(self) -> bool: ...
def History(self) -> BRepTools_History: ...
def IsDeleted(self, aS: TopoDS_Shape) -> bool: ...
def Modified(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ...
def NonDestructive(self) -> bool: ...
def SectionEdges(self) -> TopTools_ListOfShape: ...
def SetArguments(self, theLS: TopTools_ListOfShape) -> None: ...
def SetCheckInverted(self, theCheck: bool) -> None: ...
def SetGlue(self, theGlue: BOPAlgo_GlueEnum) -> None: ...
def SetNonDestructive(self, theFlag: bool) -> None: ...
def SetToFillHistory(self, theHistFlag: bool) -> None: ...
def SimplifyResult(self, theUnifyEdges: Optional[bool] = True, theUnifyFaces: Optional[bool] = True, theAngularTol: Optional[float] = precision_Angular()) -> None: ...
class BRepAlgoAPI_Defeaturing(BRepAlgoAPI_Algo):
def __init__(self) -> None: ...
def AddFaceToRemove(self, theFace: TopoDS_Shape) -> None: ...
def AddFacesToRemove(self, theFaces: TopTools_ListOfShape) -> None: ...
def Build(self) -> None: ...
def FacesToRemove(self) -> TopTools_ListOfShape: ...
def Generated(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ...
def HasDeleted(self) -> bool: ...
def HasGenerated(self) -> bool: ...
def HasHistory(self) -> bool: ...
def HasModified(self) -> bool: ...
def History(self) -> BRepTools_History: ...
def InputShape(self) -> TopoDS_Shape: ...
def IsDeleted(self, theS: TopoDS_Shape) -> bool: ...
def Modified(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ...
def SetShape(self, theShape: TopoDS_Shape) -> None: ...
def SetToFillHistory(self, theFlag: bool) -> None: ...
class BRepAlgoAPI_BooleanOperation(BRepAlgoAPI_BuilderAlgo):
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, thePF: BOPAlgo_PaveFiller) -> None: ...
def Build(self) -> None: ...
def Operation(self) -> BOPAlgo_Operation: ...
def SetOperation(self, theBOP: BOPAlgo_Operation) -> None: ...
def SetTools(self, theLS: TopTools_ListOfShape) -> None: ...
def Shape1(self) -> TopoDS_Shape: ...
def Shape2(self) -> TopoDS_Shape: ...
def Tools(self) -> TopTools_ListOfShape: ...
class BRepAlgoAPI_Splitter(BRepAlgoAPI_BuilderAlgo):
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, thePF: BOPAlgo_PaveFiller) -> None: ...
def Build(self) -> None: ...
def SetTools(self, theLS: TopTools_ListOfShape) -> None: ...
def Tools(self) -> TopTools_ListOfShape: ...
class BRepAlgoAPI_Common(BRepAlgoAPI_BooleanOperation):
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, PF: BOPAlgo_PaveFiller) -> None: ...
@overload
def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ...
@overload
def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, PF: BOPAlgo_PaveFiller) -> None: ...
class BRepAlgoAPI_Cut(BRepAlgoAPI_BooleanOperation):
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, PF: BOPAlgo_PaveFiller) -> None: ...
@overload
def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ...
@overload
def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, aDSF: BOPAlgo_PaveFiller, bFWD: Optional[bool] = True) -> None: ...
class BRepAlgoAPI_Fuse(BRepAlgoAPI_BooleanOperation):
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, PF: BOPAlgo_PaveFiller) -> None: ...
@overload
def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ...
@overload
def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, aDSF: BOPAlgo_PaveFiller) -> None: ...
class BRepAlgoAPI_Section(BRepAlgoAPI_BooleanOperation):
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, PF: BOPAlgo_PaveFiller) -> None: ...
@overload
def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, PerformNow: Optional[bool] = True) -> None: ...
@overload
def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, aDSF: BOPAlgo_PaveFiller, PerformNow: Optional[bool] = True) -> None: ...
@overload
def __init__(self, S1: TopoDS_Shape, Pl: gp_Pln, PerformNow: Optional[bool] = True) -> None: ...
@overload
def __init__(self, S1: TopoDS_Shape, Sf: Geom_Surface, PerformNow: Optional[bool] = True) -> None: ...
@overload
def __init__(self, Sf: Geom_Surface, S2: TopoDS_Shape, PerformNow: Optional[bool] = True) -> None: ...
@overload
def __init__(self, Sf1: Geom_Surface, Sf2: Geom_Surface, PerformNow: Optional[bool] = True) -> None: ...
def Approximation(self, B: bool) -> None: ...
def Build(self) -> None: ...
def ComputePCurveOn1(self, B: bool) -> None: ...
def ComputePCurveOn2(self, B: bool) -> None: ...
def HasAncestorFaceOn1(self, E: TopoDS_Shape, F: TopoDS_Shape) -> bool: ...
def HasAncestorFaceOn2(self, E: TopoDS_Shape, F: TopoDS_Shape) -> bool: ...
@overload
def Init1(self, S1: TopoDS_Shape) -> None: ...
@overload
def Init1(self, Pl: gp_Pln) -> None: ...
@overload
def Init1(self, Sf: Geom_Surface) -> None: ...
@overload
def Init2(self, S2: TopoDS_Shape) -> None: ...
@overload
def Init2(self, Pl: gp_Pln) -> None: ...
@overload
def Init2(self, Sf: Geom_Surface) -> None: ...
# harray1 classes
# harray2 classes
# hsequence classes