forked from tpaviot/pythonocc-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBRepLib.pyi
More file actions
566 lines (543 loc) · 23.6 KB
/
BRepLib.pyi
File metadata and controls
566 lines (543 loc) · 23.6 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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
from enum import IntEnum
from typing import overload, NewType, Optional, Tuple
from OCC.Core.Standard import *
from OCC.Core.NCollection import *
from OCC.Core.gp import *
from OCC.Core.TopoDS import *
from OCC.Core.GeomAbs import *
from OCC.Core.Geom2d import *
from OCC.Core.TopTools import *
from OCC.Core.Adaptor3d import *
from OCC.Core.Geom import *
from OCC.Core.BRepTools import *
from OCC.Core.TopLoc import *
class BRepLib_EdgeError(IntEnum):
BRepLib_EdgeDone: int = ...
BRepLib_PointProjectionFailed: int = ...
BRepLib_ParameterOutOfRange: int = ...
BRepLib_DifferentPointsOnClosedCurve: int = ...
BRepLib_PointWithInfiniteParameter: int = ...
BRepLib_DifferentsPointAndParameter: int = ...
BRepLib_LineThroughIdenticPoints: int = ...
BRepLib_EdgeDone = BRepLib_EdgeError.BRepLib_EdgeDone
BRepLib_PointProjectionFailed = BRepLib_EdgeError.BRepLib_PointProjectionFailed
BRepLib_ParameterOutOfRange = BRepLib_EdgeError.BRepLib_ParameterOutOfRange
BRepLib_DifferentPointsOnClosedCurve = BRepLib_EdgeError.BRepLib_DifferentPointsOnClosedCurve
BRepLib_PointWithInfiniteParameter = BRepLib_EdgeError.BRepLib_PointWithInfiniteParameter
BRepLib_DifferentsPointAndParameter = BRepLib_EdgeError.BRepLib_DifferentsPointAndParameter
BRepLib_LineThroughIdenticPoints = BRepLib_EdgeError.BRepLib_LineThroughIdenticPoints
class BRepLib_ShellError(IntEnum):
BRepLib_ShellDone: int = ...
BRepLib_EmptyShell: int = ...
BRepLib_DisconnectedShell: int = ...
BRepLib_ShellParametersOutOfRange: int = ...
BRepLib_ShellDone = BRepLib_ShellError.BRepLib_ShellDone
BRepLib_EmptyShell = BRepLib_ShellError.BRepLib_EmptyShell
BRepLib_DisconnectedShell = BRepLib_ShellError.BRepLib_DisconnectedShell
BRepLib_ShellParametersOutOfRange = BRepLib_ShellError.BRepLib_ShellParametersOutOfRange
class BRepLib_ShapeModification(IntEnum):
BRepLib_Preserved: int = ...
BRepLib_Deleted: int = ...
BRepLib_Trimmed: int = ...
BRepLib_Merged: int = ...
BRepLib_BoundaryModified: int = ...
BRepLib_Preserved = BRepLib_ShapeModification.BRepLib_Preserved
BRepLib_Deleted = BRepLib_ShapeModification.BRepLib_Deleted
BRepLib_Trimmed = BRepLib_ShapeModification.BRepLib_Trimmed
BRepLib_Merged = BRepLib_ShapeModification.BRepLib_Merged
BRepLib_BoundaryModified = BRepLib_ShapeModification.BRepLib_BoundaryModified
class BRepLib_WireError(IntEnum):
BRepLib_WireDone: int = ...
BRepLib_EmptyWire: int = ...
BRepLib_DisconnectedWire: int = ...
BRepLib_NonManifoldWire: int = ...
BRepLib_WireDone = BRepLib_WireError.BRepLib_WireDone
BRepLib_EmptyWire = BRepLib_WireError.BRepLib_EmptyWire
BRepLib_DisconnectedWire = BRepLib_WireError.BRepLib_DisconnectedWire
BRepLib_NonManifoldWire = BRepLib_WireError.BRepLib_NonManifoldWire
class BRepLib_FaceError(IntEnum):
BRepLib_FaceDone: int = ...
BRepLib_NoFace: int = ...
BRepLib_NotPlanar: int = ...
BRepLib_CurveProjectionFailed: int = ...
BRepLib_ParametersOutOfRange: int = ...
BRepLib_FaceDone = BRepLib_FaceError.BRepLib_FaceDone
BRepLib_NoFace = BRepLib_FaceError.BRepLib_NoFace
BRepLib_NotPlanar = BRepLib_FaceError.BRepLib_NotPlanar
BRepLib_CurveProjectionFailed = BRepLib_FaceError.BRepLib_CurveProjectionFailed
BRepLib_ParametersOutOfRange = BRepLib_FaceError.BRepLib_ParametersOutOfRange
class breplib:
@staticmethod
def BuildCurve3d(E: TopoDS_Edge, Tolerance: Optional[float] = 1.0e-5, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C1, MaxDegree: Optional[int] = 14, MaxSegment: Optional[int] = 0) -> bool: ...
@overload
@staticmethod
def BuildCurves3d(S: TopoDS_Shape, Tolerance: float, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C1, MaxDegree: Optional[int] = 14, MaxSegment: Optional[int] = 0) -> bool: ...
@overload
@staticmethod
def BuildCurves3d(S: TopoDS_Shape) -> bool: ...
@overload
@staticmethod
def BuildPCurveForEdgeOnPlane(theE: TopoDS_Edge, theF: TopoDS_Face) -> None: ...
@overload
@staticmethod
def BuildPCurveForEdgeOnPlane(theE: TopoDS_Edge, theF: TopoDS_Face, aC2D: Geom2d_Curve) -> bool: ...
@staticmethod
def CheckSameRange(E: TopoDS_Edge, Confusion: Optional[float] = 1.0e-12) -> bool: ...
@overload
@staticmethod
def EncodeRegularity(S: TopoDS_Shape, TolAng: Optional[float] = 1.0e-10) -> None: ...
@overload
@staticmethod
def EncodeRegularity(S: TopoDS_Shape, LE: TopTools_ListOfShape, TolAng: Optional[float] = 1.0e-10) -> None: ...
@overload
@staticmethod
def EncodeRegularity(E: TopoDS_Edge, F1: TopoDS_Face, F2: TopoDS_Face, TolAng: Optional[float] = 1.0e-10) -> None: ...
@staticmethod
def EnsureNormalConsistency(S: TopoDS_Shape, theAngTol: Optional[float] = 0.001, ForceComputeNormals: Optional[bool] = False) -> bool: ...
@staticmethod
def ExtendFace(theF: TopoDS_Face, theExtVal: float, theExtUMin: bool, theExtUMax: bool, theExtVMin: bool, theExtVMax: bool, theFExtended: TopoDS_Face) -> None: ...
@overload
@staticmethod
def FindValidRange(theCurve: Adaptor3d_Curve, theTolE: float, theParV1: float, thePntV1: gp_Pnt, theTolV1: float, theParV2: float, thePntV2: gp_Pnt, theTolV2: float) -> Tuple[bool, float, float]: ...
@overload
@staticmethod
def FindValidRange(theEdge: TopoDS_Edge) -> Tuple[bool, float, float]: ...
@staticmethod
def OrientClosedSolid(solid: TopoDS_Solid) -> bool: ...
@overload
@staticmethod
def Plane(P: Geom_Plane) -> None: ...
@overload
@staticmethod
def Plane() -> Geom_Plane: ...
@overload
@staticmethod
def Precision(P: float) -> None: ...
@overload
@staticmethod
def Precision() -> float: ...
@staticmethod
def ReverseSortFaces(S: TopoDS_Shape, LF: TopTools_ListOfShape) -> None: ...
@overload
@staticmethod
def SameParameter(theEdge: TopoDS_Edge, Tolerance: Optional[float] = 1.0e-5) -> None: ...
@overload
@staticmethod
def SameParameter(theEdge: TopoDS_Edge, theTolerance: float, IsUseOldEdge: bool) -> Tuple[TopoDS_Edge, float]: ...
@overload
@staticmethod
def SameParameter(S: TopoDS_Shape, Tolerance: Optional[float] = 1.0e-5, forced: Optional[bool] = False) -> None: ...
@overload
@staticmethod
def SameParameter(S: TopoDS_Shape, theReshaper: BRepTools_ReShape, Tolerance: Optional[float] = 1.0e-5, forced: Optional[bool] = False) -> None: ...
@staticmethod
def SameRange(E: TopoDS_Edge, Tolerance: Optional[float] = 1.0e-5) -> None: ...
@staticmethod
def SortFaces(S: TopoDS_Shape, LF: TopTools_ListOfShape) -> None: ...
@staticmethod
def UpdateEdgeTol(E: TopoDS_Edge, MinToleranceRequest: float, MaxToleranceToCheck: float) -> bool: ...
@staticmethod
def UpdateEdgeTolerance(S: TopoDS_Shape, MinToleranceRequest: float, MaxToleranceToCheck: float) -> bool: ...
@staticmethod
def UpdateInnerTolerances(S: TopoDS_Shape) -> None: ...
@overload
@staticmethod
def UpdateTolerances(S: TopoDS_Shape, verifyFaceTolerance: Optional[bool] = False) -> None: ...
@overload
@staticmethod
def UpdateTolerances(S: TopoDS_Shape, theReshaper: BRepTools_ReShape, verifyFaceTolerance: Optional[bool] = False) -> None: ...
class BRepLib_CheckCurveOnSurface:
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, theEdge: TopoDS_Edge, theFace: TopoDS_Face) -> None: ...
def Curve(self) -> Geom_Curve: ...
def ErrorStatus(self) -> int: ...
def Init(self, theEdge: TopoDS_Edge, theFace: TopoDS_Face) -> None: ...
def IsDone(self) -> bool: ...
def MaxDistance(self) -> float: ...
def MaxParameter(self) -> float: ...
def PCurve(self) -> Geom2d_Curve: ...
def PCurve2(self) -> Geom2d_Curve: ...
def Perform(self, isTheMultyTheradDisabled: Optional[bool] = False) -> None: ...
def Range(self) -> Tuple[float, float]: ...
def Surface(self) -> Geom_Surface: ...
class BRepLib_Command:
def Check(self) -> None: ...
def IsDone(self) -> bool: ...
class BRepLib_FindSurface:
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, S: TopoDS_Shape, Tol: Optional[float] = -1, OnlyPlane: Optional[bool] = False, OnlyClosed: Optional[bool] = False) -> None: ...
def Existed(self) -> bool: ...
def Found(self) -> bool: ...
def Init(self, S: TopoDS_Shape, Tol: Optional[float] = -1, OnlyPlane: Optional[bool] = False, OnlyClosed: Optional[bool] = False) -> None: ...
def Location(self) -> TopLoc_Location: ...
def Surface(self) -> Geom_Surface: ...
def Tolerance(self) -> float: ...
def ToleranceReached(self) -> float: ...
class BRepLib_FuseEdges:
def __init__(self, theShape: TopoDS_Shape, PerformNow: Optional[bool] = False) -> None: ...
def AvoidEdges(self, theMapEdg: TopTools_IndexedMapOfShape) -> None: ...
def Edges(self, theMapLstEdg: TopTools_DataMapOfIntegerListOfShape) -> None: ...
def Faces(self, theMapFac: TopTools_DataMapOfShapeShape) -> None: ...
def NbVertices(self) -> int: ...
def Perform(self) -> None: ...
def ResultEdges(self, theMapEdg: TopTools_DataMapOfIntegerShape) -> None: ...
def SetConcatBSpl(self, theConcatBSpl: Optional[bool] = True) -> None: ...
def Shape(self) -> TopoDS_Shape: ...
class BRepLib_MakeShape(BRepLib_Command):
def Build(self) -> None: ...
def DescendantFaces(self, F: TopoDS_Face) -> TopTools_ListOfShape: ...
def FaceStatus(self, F: TopoDS_Face) -> BRepLib_ShapeModification: ...
def FacesFromEdges(self, E: TopoDS_Edge) -> TopTools_ListOfShape: ...
def HasDescendants(self, F: TopoDS_Face) -> bool: ...
def NbSurfaces(self) -> int: ...
def NewFaces(self, I: int) -> TopTools_ListOfShape: ...
def Shape(self) -> TopoDS_Shape: ...
class BRepLib_MakeEdge(BRepLib_MakeShape):
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ...
@overload
def __init__(self, L: gp_Lin) -> None: ...
@overload
def __init__(self, L: gp_Lin, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: gp_Lin, P1: gp_Pnt, P2: gp_Pnt) -> None: ...
@overload
def __init__(self, L: gp_Lin, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, L: gp_Circ) -> None: ...
@overload
def __init__(self, L: gp_Circ, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: gp_Circ, P1: gp_Pnt, P2: gp_Pnt) -> None: ...
@overload
def __init__(self, L: gp_Circ, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, L: gp_Elips) -> None: ...
@overload
def __init__(self, L: gp_Elips, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: gp_Elips, P1: gp_Pnt, P2: gp_Pnt) -> None: ...
@overload
def __init__(self, L: gp_Elips, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, L: gp_Hypr) -> None: ...
@overload
def __init__(self, L: gp_Hypr, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: gp_Hypr, P1: gp_Pnt, P2: gp_Pnt) -> None: ...
@overload
def __init__(self, L: gp_Hypr, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, L: gp_Parab) -> None: ...
@overload
def __init__(self, L: gp_Parab, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: gp_Parab, P1: gp_Pnt, P2: gp_Pnt) -> None: ...
@overload
def __init__(self, L: gp_Parab, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, L: Geom_Curve) -> None: ...
@overload
def __init__(self, L: Geom_Curve, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt) -> None: ...
@overload
def __init__(self, L: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, L: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: Geom2d_Curve, S: Geom_Surface) -> None: ...
@overload
def __init__(self, L: Geom2d_Curve, S: Geom_Surface, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt) -> None: ...
@overload
def __init__(self, L: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, L: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ...
def Edge(self) -> TopoDS_Edge: ...
def Error(self) -> BRepLib_EdgeError: ...
@overload
def Init(self, C: Geom_Curve) -> None: ...
@overload
def Init(self, C: Geom_Curve, p1: float, p2: float) -> None: ...
@overload
def Init(self, C: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt) -> None: ...
@overload
def Init(self, C: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def Init(self, C: Geom_Curve, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float) -> None: ...
@overload
def Init(self, C: Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ...
@overload
def Init(self, C: Geom2d_Curve, S: Geom_Surface) -> None: ...
@overload
def Init(self, C: Geom2d_Curve, S: Geom_Surface, p1: float, p2: float) -> None: ...
@overload
def Init(self, C: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt) -> None: ...
@overload
def Init(self, C: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def Init(self, C: Geom2d_Curve, S: Geom_Surface, P1: gp_Pnt, P2: gp_Pnt, p1: float, p2: float) -> None: ...
@overload
def Init(self, C: Geom2d_Curve, S: Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ...
def Vertex1(self) -> TopoDS_Vertex: ...
def Vertex2(self) -> TopoDS_Vertex: ...
class BRepLib_MakeEdge2d(BRepLib_MakeShape):
@overload
def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ...
@overload
def __init__(self, L: gp_Lin2d) -> None: ...
@overload
def __init__(self, L: gp_Lin2d, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: gp_Lin2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ...
@overload
def __init__(self, L: gp_Lin2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, L: gp_Circ2d) -> None: ...
@overload
def __init__(self, L: gp_Circ2d, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: gp_Circ2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ...
@overload
def __init__(self, L: gp_Circ2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, L: gp_Elips2d) -> None: ...
@overload
def __init__(self, L: gp_Elips2d, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: gp_Elips2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ...
@overload
def __init__(self, L: gp_Elips2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, L: gp_Hypr2d) -> None: ...
@overload
def __init__(self, L: gp_Hypr2d, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: gp_Hypr2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ...
@overload
def __init__(self, L: gp_Hypr2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, L: gp_Parab2d) -> None: ...
@overload
def __init__(self, L: gp_Parab2d, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: gp_Parab2d, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ...
@overload
def __init__(self, L: gp_Parab2d, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, L: Geom2d_Curve) -> None: ...
@overload
def __init__(self, L: Geom2d_Curve, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ...
@overload
def __init__(self, L: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, L: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d, p1: float, p2: float) -> None: ...
@overload
def __init__(self, L: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ...
def Edge(self) -> TopoDS_Edge: ...
def Error(self) -> BRepLib_EdgeError: ...
@overload
def Init(self, C: Geom2d_Curve) -> None: ...
@overload
def Init(self, C: Geom2d_Curve, p1: float, p2: float) -> None: ...
@overload
def Init(self, C: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ...
@overload
def Init(self, C: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def Init(self, C: Geom2d_Curve, P1: gp_Pnt2d, P2: gp_Pnt2d, p1: float, p2: float) -> None: ...
@overload
def Init(self, C: Geom2d_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: float, p2: float) -> None: ...
def Vertex1(self) -> TopoDS_Vertex: ...
def Vertex2(self) -> TopoDS_Vertex: ...
class BRepLib_MakeFace(BRepLib_MakeShape):
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, F: TopoDS_Face) -> None: ...
@overload
def __init__(self, P: gp_Pln) -> None: ...
@overload
def __init__(self, C: gp_Cylinder) -> None: ...
@overload
def __init__(self, C: gp_Cone) -> None: ...
@overload
def __init__(self, S: gp_Sphere) -> None: ...
@overload
def __init__(self, C: gp_Torus) -> None: ...
@overload
def __init__(self, S: Geom_Surface, TolDegen: float) -> None: ...
@overload
def __init__(self, P: gp_Pln, UMin: float, UMax: float, VMin: float, VMax: float) -> None: ...
@overload
def __init__(self, C: gp_Cylinder, UMin: float, UMax: float, VMin: float, VMax: float) -> None: ...
@overload
def __init__(self, C: gp_Cone, UMin: float, UMax: float, VMin: float, VMax: float) -> None: ...
@overload
def __init__(self, S: gp_Sphere, UMin: float, UMax: float, VMin: float, VMax: float) -> None: ...
@overload
def __init__(self, C: gp_Torus, UMin: float, UMax: float, VMin: float, VMax: float) -> None: ...
@overload
def __init__(self, S: Geom_Surface, UMin: float, UMax: float, VMin: float, VMax: float, TolDegen: float) -> None: ...
@overload
def __init__(self, W: TopoDS_Wire, OnlyPlane: Optional[bool] = False) -> None: ...
@overload
def __init__(self, P: gp_Pln, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ...
@overload
def __init__(self, C: gp_Cylinder, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ...
@overload
def __init__(self, C: gp_Cone, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ...
@overload
def __init__(self, S: gp_Sphere, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ...
@overload
def __init__(self, C: gp_Torus, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ...
@overload
def __init__(self, S: Geom_Surface, W: TopoDS_Wire, Inside: Optional[bool] = True) -> None: ...
@overload
def __init__(self, F: TopoDS_Face, W: TopoDS_Wire) -> None: ...
def Add(self, W: TopoDS_Wire) -> None: ...
def Error(self) -> BRepLib_FaceError: ...
def Face(self) -> TopoDS_Face: ...
@overload
def Init(self, F: TopoDS_Face) -> None: ...
@overload
def Init(self, S: Geom_Surface, Bound: bool, TolDegen: float) -> None: ...
@overload
def Init(self, S: Geom_Surface, UMin: float, UMax: float, VMin: float, VMax: float, TolDegen: float) -> None: ...
@staticmethod
def IsDegenerated(theCurve: Geom_Curve, theMaxTol: float) -> Tuple[bool, float]: ...
class BRepLib_MakePolygon(BRepLib_MakeShape):
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ...
@overload
def __init__(self, P1: gp_Pnt, P2: gp_Pnt, P3: gp_Pnt, Close: Optional[bool] = False) -> None: ...
@overload
def __init__(self, P1: gp_Pnt, P2: gp_Pnt, P3: gp_Pnt, P4: gp_Pnt, Close: Optional[bool] = False) -> None: ...
@overload
def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> None: ...
@overload
def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex, V3: TopoDS_Vertex, Close: Optional[bool] = False) -> None: ...
@overload
def __init__(self, V1: TopoDS_Vertex, V2: TopoDS_Vertex, V3: TopoDS_Vertex, V4: TopoDS_Vertex, Close: Optional[bool] = False) -> None: ...
@overload
def Add(self, P: gp_Pnt) -> None: ...
@overload
def Add(self, V: TopoDS_Vertex) -> None: ...
def Added(self) -> bool: ...
def Close(self) -> None: ...
def Edge(self) -> TopoDS_Edge: ...
def FirstVertex(self) -> TopoDS_Vertex: ...
def LastVertex(self) -> TopoDS_Vertex: ...
def Wire(self) -> TopoDS_Wire: ...
class BRepLib_MakeShell(BRepLib_MakeShape):
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, S: Geom_Surface, Segment: Optional[bool] = False) -> None: ...
@overload
def __init__(self, S: Geom_Surface, UMin: float, UMax: float, VMin: float, VMax: float, Segment: Optional[bool] = False) -> None: ...
def Error(self) -> BRepLib_ShellError: ...
def Init(self, S: Geom_Surface, UMin: float, UMax: float, VMin: float, VMax: float, Segment: Optional[bool] = False) -> None: ...
def Shell(self) -> TopoDS_Shell: ...
class BRepLib_MakeSolid(BRepLib_MakeShape):
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, S: TopoDS_CompSolid) -> None: ...
@overload
def __init__(self, S: TopoDS_Shell) -> None: ...
@overload
def __init__(self, S1: TopoDS_Shell, S2: TopoDS_Shell) -> None: ...
@overload
def __init__(self, S1: TopoDS_Shell, S2: TopoDS_Shell, S3: TopoDS_Shell) -> None: ...
@overload
def __init__(self, So: TopoDS_Solid) -> None: ...
@overload
def __init__(self, So: TopoDS_Solid, S: TopoDS_Shell) -> None: ...
def Add(self, S: TopoDS_Shell) -> None: ...
def FaceStatus(self, F: TopoDS_Face) -> BRepLib_ShapeModification: ...
def Solid(self) -> TopoDS_Solid: ...
class BRepLib_MakeVertex(BRepLib_MakeShape):
@overload
def __init__(self, P: gp_Pnt) -> None: ...
def Vertex(self) -> TopoDS_Vertex: ...
class BRepLib_MakeWire(BRepLib_MakeShape):
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, E: TopoDS_Edge) -> None: ...
@overload
def __init__(self, E1: TopoDS_Edge, E2: TopoDS_Edge) -> None: ...
@overload
def __init__(self, E1: TopoDS_Edge, E2: TopoDS_Edge, E3: TopoDS_Edge) -> None: ...
@overload
def __init__(self, E1: TopoDS_Edge, E2: TopoDS_Edge, E3: TopoDS_Edge, E4: TopoDS_Edge) -> None: ...
@overload
def __init__(self, W: TopoDS_Wire) -> None: ...
@overload
def __init__(self, W: TopoDS_Wire, E: TopoDS_Edge) -> None: ...
@overload
def Add(self, E: TopoDS_Edge) -> None: ...
@overload
def Add(self, W: TopoDS_Wire) -> None: ...
@overload
def Add(self, L: TopTools_ListOfShape) -> None: ...
def Edge(self) -> TopoDS_Edge: ...
def Error(self) -> BRepLib_WireError: ...
def Vertex(self) -> TopoDS_Vertex: ...
def Wire(self) -> TopoDS_Wire: ...
# harray1 classes
# harray2 classes
# hsequence classes
breplib_BoundingVertex = breplib.BoundingVertex
breplib_BuildCurve3d = breplib.BuildCurve3d
breplib_BuildCurves3d = breplib.BuildCurves3d
breplib_BuildCurves3d = breplib.BuildCurves3d
breplib_BuildPCurveForEdgeOnPlane = breplib.BuildPCurveForEdgeOnPlane
breplib_BuildPCurveForEdgeOnPlane = breplib.BuildPCurveForEdgeOnPlane
breplib_CheckSameRange = breplib.CheckSameRange
breplib_EncodeRegularity = breplib.EncodeRegularity
breplib_EncodeRegularity = breplib.EncodeRegularity
breplib_EncodeRegularity = breplib.EncodeRegularity
breplib_EnsureNormalConsistency = breplib.EnsureNormalConsistency
breplib_ExtendFace = breplib.ExtendFace
breplib_FindValidRange = breplib.FindValidRange
breplib_FindValidRange = breplib.FindValidRange
breplib_OrientClosedSolid = breplib.OrientClosedSolid
breplib_Plane = breplib.Plane
breplib_Plane = breplib.Plane
breplib_Precision = breplib.Precision
breplib_Precision = breplib.Precision
breplib_ReverseSortFaces = breplib.ReverseSortFaces
breplib_SameParameter = breplib.SameParameter
breplib_SameParameter = breplib.SameParameter
breplib_SameParameter = breplib.SameParameter
breplib_SameParameter = breplib.SameParameter
breplib_SameRange = breplib.SameRange
breplib_SortFaces = breplib.SortFaces
breplib_UpdateEdgeTol = breplib.UpdateEdgeTol
breplib_UpdateEdgeTolerance = breplib.UpdateEdgeTolerance
breplib_UpdateInnerTolerances = breplib.UpdateInnerTolerances
breplib_UpdateTolerances = breplib.UpdateTolerances
breplib_UpdateTolerances = breplib.UpdateTolerances
BRepLib_MakeFace_IsDegenerated = BRepLib_MakeFace.IsDegenerated