diff --git a/src/SWIG_files/headers/NCollection_module.hxx b/src/SWIG_files/headers/NCollection_module.hxx index bf02f31d0..0d329bfd5 100644 --- a/src/SWIG_files/headers/NCollection_module.hxx +++ b/src/SWIG_files/headers/NCollection_module.hxx @@ -28,7 +28,9 @@ along with pythonOCC. If not, see . #include #include #include -#include +// occt-800: NCollection_BasePointerVector.hxx was removed; the class is +// %ignore'd in NCollection.i, so drop the include to keep wrappers compiling. +//#include #include #include #include diff --git a/src/SWIG_files/wrapper/AppDef.pyi b/src/SWIG_files/wrapper/AppDef.pyi index 0ddb5470d..c57fd8b8b 100644 --- a/src/SWIG_files/wrapper/AppDef.pyi +++ b/src/SWIG_files/wrapper/AppDef.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -521,9 +521,9 @@ class AppDef_LinearCriteria(AppDef_SmoothCriterion): # harray1 classes -class AppDef_HArray1OfMultiPointConstraint(NCollection_Array1, Standard_Transient): +class AppDef_HArray1OfMultiPointConstraint(AppDef_Array1OfMultiPointConstraint, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> AppDef_Array1OfMultiPointConstraint: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/AppParCurves.pyi b/src/SWIG_files/wrapper/AppParCurves.pyi index 18f7d5639..5eedd7196 100644 --- a/src/SWIG_files/wrapper/AppParCurves.pyi +++ b/src/SWIG_files/wrapper/AppParCurves.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -259,24 +259,24 @@ class AppParCurves_MultiBSpCurve(AppParCurves_MultiCurve): # harray1 classes -class AppParCurves_HArray1OfConstraintCouple(NCollection_Array1, Standard_Transient): +class AppParCurves_HArray1OfConstraintCouple(AppParCurves_Array1OfConstraintCouple, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> AppParCurves_Array1OfConstraintCouple: ... -class AppParCurves_HArray1OfMultiBSpCurve(NCollection_Array1, Standard_Transient): +class AppParCurves_HArray1OfMultiBSpCurve(AppParCurves_Array1OfMultiBSpCurve, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> AppParCurves_Array1OfMultiBSpCurve: ... -class AppParCurves_HArray1OfMultiCurve(NCollection_Array1, Standard_Transient): +class AppParCurves_HArray1OfMultiCurve(AppParCurves_Array1OfMultiCurve, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> AppParCurves_Array1OfMultiCurve: ... -class AppParCurves_HArray1OfMultiPoint(NCollection_Array1, Standard_Transient): +class AppParCurves_HArray1OfMultiPoint(AppParCurves_Array1OfMultiPoint, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> AppParCurves_Array1OfMultiPoint: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/Approx.pyi b/src/SWIG_files/wrapper/Approx.pyi index eba2f2df4..1437d6a09 100644 --- a/src/SWIG_files/wrapper/Approx.pyi +++ b/src/SWIG_files/wrapper/Approx.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -294,14 +294,14 @@ class Approx_SweepFunction(Standard_Transient): # harray1 classes -class Approx_HArray1OfAdHSurface(NCollection_Array1>, Standard_Transient): +class Approx_HArray1OfAdHSurface(Approx_Array1OfAdHSurface, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> Approx_Array1OfAdHSurface: ... -class Approx_HArray1OfGTrsf2d(NCollection_Array1, Standard_Transient): +class Approx_HArray1OfGTrsf2d(Approx_Array1OfGTrsf2d, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Approx_Array1OfGTrsf2d: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/Aspect.pyi b/src/SWIG_files/wrapper/Aspect.pyi index 1a17cb0e8..2a45f8161 100644 --- a/src/SWIG_files/wrapper/Aspect.pyi +++ b/src/SWIG_files/wrapper/Aspect.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/BOPAlgo.pyi b/src/SWIG_files/wrapper/BOPAlgo.pyi index 83b41c4a9..931b81012 100644 --- a/src/SWIG_files/wrapper/BOPAlgo.pyi +++ b/src/SWIG_files/wrapper/BOPAlgo.pyi @@ -157,7 +157,7 @@ class BOPAlgo_SectionAttribute: class BOPAlgo_Tools: @staticmethod - def ClassifyFaces(theFaces: TopTools_ListOfShape, theSolids: TopTools_ListOfShape, theRunParallel: bool, theContext: IntTools_Context, theInParts: TopTools_IndexedDataMapOfShapeListOfShape, theShapeBoxMap: Optional[TopTools_DataMapOfShapeBox] = NCollection_DataMap(), theSolidsIF: Optional[TopTools_DataMapOfShapeListOfShape] = NCollection_DataMap,TopTools_ShapeMapHasher>(), theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... + def ClassifyFaces(theFaces: TopTools_ListOfShape, theSolids: TopTools_ListOfShape, theRunParallel: bool, theContext: IntTools_Context, theInParts: TopTools_IndexedDataMapOfShapeListOfShape, theShapeBoxMap: Optional[TopTools_DataMapOfShapeBox] = TopTools_DataMapOfShapeBox(), theSolidsIF: Optional[TopTools_DataMapOfShapeListOfShape] = TopTools_DataMapOfShapeListOfShape(), theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... @staticmethod def ComputeToleranceOfCB(theCB: BOPDS_CommonBlock, theDS: BOPDS_PDS, theContext: IntTools_Context) -> False: ... @staticmethod diff --git a/src/SWIG_files/wrapper/BOPDS.pyi b/src/SWIG_files/wrapper/BOPDS.pyi index 690336359..1143e33b1 100644 --- a/src/SWIG_files/wrapper/BOPDS.pyi +++ b/src/SWIG_files/wrapper/BOPDS.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/BOPTools.pyi b/src/SWIG_files/wrapper/BOPTools.pyi index 7a6792fc3..5d40c1f38 100644 --- a/src/SWIG_files/wrapper/BOPTools.pyi +++ b/src/SWIG_files/wrapper/BOPTools.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/BRepAdaptor.pyi b/src/SWIG_files/wrapper/BRepAdaptor.pyi index 0640a265f..e65e99d00 100644 --- a/src/SWIG_files/wrapper/BRepAdaptor.pyi +++ b/src/SWIG_files/wrapper/BRepAdaptor.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -120,9 +120,9 @@ class BRepAdaptor_Surface(GeomAdaptor_TransformedSurface): # harray1 classes -class BRepAdaptor_HArray1OfCurve(NCollection_Array1, Standard_Transient): +class BRepAdaptor_HArray1OfCurve(BRepAdaptor_Array1OfCurve, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> BRepAdaptor_Array1OfCurve: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/BRepAlgoAPI.i b/src/SWIG_files/wrapper/BRepAlgoAPI.i index 5b226b39b..84cccc0f1 100644 --- a/src/SWIG_files/wrapper/BRepAlgoAPI.i +++ b/src/SWIG_files/wrapper/BRepAlgoAPI.i @@ -320,6 +320,22 @@ Returns a shape built by the shape construction algorithm. Does not check if the /******************************** * class BRepAlgoAPI_BuilderAlgo * ********************************/ +// occt-800: BRepAlgoAPI_BuilderAlgo gained deleted copy/move members, so the +// generator dropped it into the excluded-classes list. That severed the +// inheritance chain (BooleanOperation/Splitter -> BuilderAlgo -> Algo), hiding +// the inherited Shape() from every boolean operation. Re-wrap it (empty body +// is enough) so Shape() is exposed again. +%nodefaultctor BRepAlgoAPI_BuilderAlgo; +class BRepAlgoAPI_BuilderAlgo : public BRepAlgoAPI_Algo { + public: +}; + +%extend BRepAlgoAPI_BuilderAlgo { + %pythoncode { + __repr__ = _dumps_object + } +}; + /******************************** * class BRepAlgoAPI_Defeaturing * ********************************/ @@ -1475,10 +1491,6 @@ initialize the tool - tool Obsolete. /* python proxy for excluded classes */ %pythoncode { -@classnotwrapped -class BRepAlgoAPI_BuilderAlgo: - pass - } /* end python proxy for excluded classes */ /* harray1 classes */ diff --git a/src/SWIG_files/wrapper/BRepAlgoAPI.pyi b/src/SWIG_files/wrapper/BRepAlgoAPI.pyi index 89e025c38..213387018 100644 --- a/src/SWIG_files/wrapper/BRepAlgoAPI.pyi +++ b/src/SWIG_files/wrapper/BRepAlgoAPI.pyi @@ -138,7 +138,7 @@ class BRepAlgoAPI_Section(BRepAlgoAPI_BooleanOperation): def Init2(self, Sf: Geom_Surface) -> None: ... #classnotwrapped -class BRepAlgoAPI_BuilderAlgo: ... +class BRepAlgoAPI_BuilderAlgo(BRepAlgoAPI_Algo): ... # harray1 classes # harray2 classes diff --git a/src/SWIG_files/wrapper/BRepBuilderAPI.pyi b/src/SWIG_files/wrapper/BRepBuilderAPI.pyi index d2e7bfb56..e5d465ed1 100644 --- a/src/SWIG_files/wrapper/BRepBuilderAPI.pyi +++ b/src/SWIG_files/wrapper/BRepBuilderAPI.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/BRepCheck.pyi b/src/SWIG_files/wrapper/BRepCheck.pyi index 6e402655d..c9c271112 100644 --- a/src/SWIG_files/wrapper/BRepCheck.pyi +++ b/src/SWIG_files/wrapper/BRepCheck.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/BRepFill.pyi b/src/SWIG_files/wrapper/BRepFill.pyi index 5e9806251..ff7d0bf07 100644 --- a/src/SWIG_files/wrapper/BRepFill.pyi +++ b/src/SWIG_files/wrapper/BRepFill.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/BVH.pyi b/src/SWIG_files/wrapper/BVH.pyi index 6ae3634f8..155894f7e 100644 --- a/src/SWIG_files/wrapper/BVH.pyi +++ b/src/SWIG_files/wrapper/BVH.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/BinLDrivers.pyi b/src/SWIG_files/wrapper/BinLDrivers.pyi index c70e1be77..b786e33be 100644 --- a/src/SWIG_files/wrapper/BinLDrivers.pyi +++ b/src/SWIG_files/wrapper/BinLDrivers.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/BinMDF.pyi b/src/SWIG_files/wrapper/BinMDF.pyi index a5d1a28e1..82dcd03c6 100644 --- a/src/SWIG_files/wrapper/BinMDF.pyi +++ b/src/SWIG_files/wrapper/BinMDF.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/BinObjMgt.pyi b/src/SWIG_files/wrapper/BinObjMgt.pyi index 1ab4e646a..09f93820c 100644 --- a/src/SWIG_files/wrapper/BinObjMgt.pyi +++ b/src/SWIG_files/wrapper/BinObjMgt.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/Bnd.pyi b/src/SWIG_files/wrapper/Bnd.pyi index 61405fdbe..7e5555fc4 100644 --- a/src/SWIG_files/wrapper/Bnd.pyi +++ b/src/SWIG_files/wrapper/Bnd.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -337,19 +337,19 @@ class Bnd_Tools: # harray1 classes -class Bnd_HArray1OfBox(NCollection_Array1, Standard_Transient): +class Bnd_HArray1OfBox(Bnd_Array1OfBox, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Bnd_Array1OfBox: ... -class Bnd_HArray1OfBox2d(NCollection_Array1, Standard_Transient): +class Bnd_HArray1OfBox2d(Bnd_Array1OfBox2d, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Bnd_Array1OfBox2d: ... -class Bnd_HArray1OfSphere(NCollection_Array1, Standard_Transient): +class Bnd_HArray1OfSphere(Bnd_Array1OfSphere, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Bnd_Array1OfSphere: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/CDM.pyi b/src/SWIG_files/wrapper/CDM.pyi index 3f994803c..14e243daa 100644 --- a/src/SWIG_files/wrapper/CDM.pyi +++ b/src/SWIG_files/wrapper/CDM.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/ChFiDS.pyi b/src/SWIG_files/wrapper/ChFiDS.pyi index f87d68643..fd5b02699 100644 --- a/src/SWIG_files/wrapper/ChFiDS.pyi +++ b/src/SWIG_files/wrapper/ChFiDS.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -597,19 +597,19 @@ class ChFiDS_FilSpine(ChFiDS_Spine): # harray1 classes -class ChFiDS_SecHArray1(NCollection_Array1, Standard_Transient): +class ChFiDS_SecHArray1(ChFiDS_SecArray1, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> ChFiDS_SecArray1: ... # harray2 classes # hsequence classes -class ChFiDS_HData(NCollection_Sequence>, Standard_Transient): +class ChFiDS_HData(ChFiDS_SequenceOfSurfData, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: ChFiDS_SequenceOfSurfData) -> None: ... + def Sequence(self) -> ChFiDS_SequenceOfSurfData: ... + def Append(self, theSequence: ChFiDS_SequenceOfSurfData) -> None: ... diff --git a/src/SWIG_files/wrapper/Contap.pyi b/src/SWIG_files/wrapper/Contap.pyi index 186a54e53..eb2d186e7 100644 --- a/src/SWIG_files/wrapper/Contap.pyi +++ b/src/SWIG_files/wrapper/Contap.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -456,12 +456,12 @@ class Contap_TheSegmentOfTheSearch: # harray2 classes # hsequence classes -class Contap_TheHSequenceOfPoint(NCollection_Sequence, Standard_Transient): +class Contap_TheHSequenceOfPoint(Contap_TheSequenceOfPoint, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: Contap_TheSequenceOfPoint) -> None: ... + def Sequence(self) -> Contap_TheSequenceOfPoint: ... + def Append(self, theSequence: Contap_TheSequenceOfPoint) -> None: ... diff --git a/src/SWIG_files/wrapper/DE.pyi b/src/SWIG_files/wrapper/DE.pyi index c204ad5d8..6dbeacdc0 100644 --- a/src/SWIG_files/wrapper/DE.pyi +++ b/src/SWIG_files/wrapper/DE.pyi @@ -112,9 +112,9 @@ class DE_Wrapper(Standard_Transient): @overload def Read(self, thePath: str, theShape: TopoDS_Shape, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> bool: ... @overload - def Save(self, theResourcePath: str, theIsRecursive: Optional[bool] = true, theFormats: Optional[TColStd_ListOfAsciiString] = NCollection_List(), theVendors: Optional[TColStd_ListOfAsciiString] = NCollection_List()) -> bool: ... + def Save(self, theResourcePath: str, theIsRecursive: Optional[bool] = true, theFormats: Optional[TColStd_ListOfAsciiString] = TColStd_ListOfAsciiString(), theVendors: Optional[TColStd_ListOfAsciiString] = TColStd_ListOfAsciiString()) -> bool: ... @overload - def Save(self, theIsRecursive: Optional[bool] = true, theFormats: Optional[TColStd_ListOfAsciiString] = NCollection_List(), theVendors: Optional[TColStd_ListOfAsciiString] = NCollection_List()) -> str: ... + def Save(self, theIsRecursive: Optional[bool] = true, theFormats: Optional[TColStd_ListOfAsciiString] = TColStd_ListOfAsciiString(), theVendors: Optional[TColStd_ListOfAsciiString] = TColStd_ListOfAsciiString()) -> str: ... @staticmethod def SetGlobalWrapper(theWrapper: DE_Wrapper) -> None: ... def SetKeepUpdates(self, theToKeepUpdates: bool) -> None: ... diff --git a/src/SWIG_files/wrapper/Draft.pyi b/src/SWIG_files/wrapper/Draft.pyi index 7ab76a2dd..1143b8e35 100644 --- a/src/SWIG_files/wrapper/Draft.pyi +++ b/src/SWIG_files/wrapper/Draft.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/Expr.pyi b/src/SWIG_files/wrapper/Expr.pyi index 02a4111f6..b37fb6c29 100644 --- a/src/SWIG_files/wrapper/Expr.pyi +++ b/src/SWIG_files/wrapper/Expr.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/Extrema.pyi b/src/SWIG_files/wrapper/Extrema.pyi index be6d9b9b1..b7df307ee 100644 --- a/src/SWIG_files/wrapper/Extrema.pyi +++ b/src/SWIG_files/wrapper/Extrema.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -895,44 +895,44 @@ class Extrema_POnSurfParams(Extrema_POnSurf): # harray1 classes -class Extrema_HArray1OfPOnCurv(NCollection_Array1, Standard_Transient): +class Extrema_HArray1OfPOnCurv(Extrema_Array1OfPOnCurv, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Extrema_Array1OfPOnCurv: ... -class Extrema_HArray1OfPOnCurv2d(NCollection_Array1, Standard_Transient): +class Extrema_HArray1OfPOnCurv2d(Extrema_Array1OfPOnCurv2d, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Extrema_Array1OfPOnCurv2d: ... -class Extrema_HArray1OfPOnSurf(NCollection_Array1, Standard_Transient): +class Extrema_HArray1OfPOnSurf(Extrema_Array1OfPOnSurf, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Extrema_Array1OfPOnSurf: ... # harray2 classes -class Extrema_HArray2OfPOnCurv(NCollection_Array2, Standard_Transient): +class Extrema_HArray2OfPOnCurv(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... -class Extrema_HArray2OfPOnCurv2d(NCollection_Array2, Standard_Transient): +class Extrema_HArray2OfPOnCurv2d(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... -class Extrema_HArray2OfPOnSurf(NCollection_Array2, Standard_Transient): +class Extrema_HArray2OfPOnSurf(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... # hsequence classes diff --git a/src/SWIG_files/wrapper/FEmTool.pyi b/src/SWIG_files/wrapper/FEmTool.pyi index fe7c6b229..4a2f91292 100644 --- a/src/SWIG_files/wrapper/FEmTool.pyi +++ b/src/SWIG_files/wrapper/FEmTool.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -69,12 +69,12 @@ class FEmTool_SparseMatrix: ... # harray1 classes # harray2 classes -class FEmTool_HAssemblyTable(NCollection_Array2>, Standard_Transient): +class FEmTool_HAssemblyTable(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2>) -> None: ... - def Array2(self) -> NCollection_Array2>: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... # hsequence classes diff --git a/src/SWIG_files/wrapper/FSD.pyi b/src/SWIG_files/wrapper/FSD.pyi index e08226a3c..219bcb407 100644 --- a/src/SWIG_files/wrapper/FSD.pyi +++ b/src/SWIG_files/wrapper/FSD.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/GCE2d.pyi b/src/SWIG_files/wrapper/GCE2d.pyi index a7caa45d6..52ff16dab 100644 --- a/src/SWIG_files/wrapper/GCE2d.pyi +++ b/src/SWIG_files/wrapper/GCE2d.pyi @@ -5,21 +5,21 @@ from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.GC import * -GCE2d_MakeArcOfCircle = NewType("GCE2d_MakeArcOfCircle", GC_MakeArcOfCircle2d) -GCE2d_MakeArcOfEllipse = NewType("GCE2d_MakeArcOfEllipse", GC_MakeArcOfEllipse2d) -GCE2d_MakeArcOfHyperbola = NewType("GCE2d_MakeArcOfHyperbola", GC_MakeArcOfHyperbola2d) -GCE2d_MakeArcOfParabola = NewType("GCE2d_MakeArcOfParabola", GC_MakeArcOfParabola2d) -GCE2d_MakeCircle = NewType("GCE2d_MakeCircle", GC_MakeCircle2d) -GCE2d_MakeEllipse = NewType("GCE2d_MakeEllipse", GC_MakeEllipse2d) -GCE2d_MakeHyperbola = NewType("GCE2d_MakeHyperbola", GC_MakeHyperbola2d) -GCE2d_MakeLine = NewType("GCE2d_MakeLine", GC_MakeLine2d) -GCE2d_MakeMirror = NewType("GCE2d_MakeMirror", GC_MakeMirror2d) -GCE2d_MakeParabola = NewType("GCE2d_MakeParabola", GC_MakeParabola2d) -GCE2d_MakeRotation = NewType("GCE2d_MakeRotation", GC_MakeRotation2d) -GCE2d_MakeScale = NewType("GCE2d_MakeScale", GC_MakeScale2d) -GCE2d_MakeSegment = NewType("GCE2d_MakeSegment", GC_MakeSegment2d) -GCE2d_MakeTranslation = NewType("GCE2d_MakeTranslation", GC_MakeTranslation2d) -GCE2d_Root = NewType("GCE2d_Root", GC_Root) +GCE2d_MakeArcOfCircle = GC_MakeArcOfCircle2d +GCE2d_MakeArcOfEllipse = GC_MakeArcOfEllipse2d +GCE2d_MakeArcOfHyperbola = GC_MakeArcOfHyperbola2d +GCE2d_MakeArcOfParabola = GC_MakeArcOfParabola2d +GCE2d_MakeCircle = GC_MakeCircle2d +GCE2d_MakeEllipse = GC_MakeEllipse2d +GCE2d_MakeHyperbola = GC_MakeHyperbola2d +GCE2d_MakeLine = GC_MakeLine2d +GCE2d_MakeMirror = GC_MakeMirror2d +GCE2d_MakeParabola = GC_MakeParabola2d +GCE2d_MakeRotation = GC_MakeRotation2d +GCE2d_MakeScale = GC_MakeScale2d +GCE2d_MakeSegment = GC_MakeSegment2d +GCE2d_MakeTranslation = GC_MakeTranslation2d +GCE2d_Root = GC_Root # harray1 classes # harray2 classes diff --git a/src/SWIG_files/wrapper/Geom.pyi b/src/SWIG_files/wrapper/Geom.pyi index 25a9d9877..7411b3abe 100644 --- a/src/SWIG_files/wrapper/Geom.pyi +++ b/src/SWIG_files/wrapper/Geom.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -1239,12 +1239,12 @@ class Geom_TrimmedCurve(Geom_BoundedCurve): # harray2 classes # hsequence classes -class Geom_HSequenceOfBSplineSurface(NCollection_Sequence>, Standard_Transient): +class Geom_HSequenceOfBSplineSurface(Geom_SequenceOfBSplineSurface, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: Geom_SequenceOfBSplineSurface) -> None: ... + def Sequence(self) -> Geom_SequenceOfBSplineSurface: ... + def Append(self, theSequence: Geom_SequenceOfBSplineSurface) -> None: ... diff --git a/src/SWIG_files/wrapper/GeomFill.pyi b/src/SWIG_files/wrapper/GeomFill.pyi index de8d234f1..e10d04a1a 100644 --- a/src/SWIG_files/wrapper/GeomFill.pyi +++ b/src/SWIG_files/wrapper/GeomFill.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -1031,24 +1031,24 @@ class GeomFill_SweepSectionGenerator: ... # harray1 classes -class GeomFill_HArray1OfLocationLaw(NCollection_Array1>, Standard_Transient): +class GeomFill_HArray1OfLocationLaw(GeomFill_Array1OfLocationLaw, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> GeomFill_Array1OfLocationLaw: ... -class GeomFill_HArray1OfSectionLaw(NCollection_Array1>, Standard_Transient): +class GeomFill_HArray1OfSectionLaw(GeomFill_Array1OfSectionLaw, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> GeomFill_Array1OfSectionLaw: ... # harray2 classes # hsequence classes -class GeomFill_HSequenceOfAx2(NCollection_Sequence, Standard_Transient): +class GeomFill_HSequenceOfAx2(GeomFill_SequenceOfAx2, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: GeomFill_SequenceOfAx2) -> None: ... + def Sequence(self) -> GeomFill_SequenceOfAx2: ... + def Append(self, theSequence: GeomFill_SequenceOfAx2) -> None: ... diff --git a/src/SWIG_files/wrapper/GeomInt.pyi b/src/SWIG_files/wrapper/GeomInt.pyi index 0d508dab0..04b1d9881 100644 --- a/src/SWIG_files/wrapper/GeomInt.pyi +++ b/src/SWIG_files/wrapper/GeomInt.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/GeomPlate.pyi b/src/SWIG_files/wrapper/GeomPlate.pyi index 4e740e8ed..420280f3b 100644 --- a/src/SWIG_files/wrapper/GeomPlate.pyi +++ b/src/SWIG_files/wrapper/GeomPlate.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -271,33 +271,33 @@ class GeomPlate_Surface(Geom_Surface): # harray1 classes -class GeomPlate_HArray1OfHCurve(NCollection_Array1>, Standard_Transient): +class GeomPlate_HArray1OfHCurve(GeomPlate_Array1OfHCurve, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> GeomPlate_Array1OfHCurve: ... -class GeomPlate_HArray1OfSequenceOfReal(NCollection_Array1, Standard_Transient): +class GeomPlate_HArray1OfSequenceOfReal(GeomPlate_Array1OfSequenceOfReal, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> GeomPlate_Array1OfSequenceOfReal: ... # harray2 classes # hsequence classes -class GeomPlate_HSequenceOfCurveConstraint(NCollection_Sequence>, Standard_Transient): +class GeomPlate_HSequenceOfCurveConstraint(GeomPlate_SequenceOfCurveConstraint, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: GeomPlate_SequenceOfCurveConstraint) -> None: ... + def Sequence(self) -> GeomPlate_SequenceOfCurveConstraint: ... + def Append(self, theSequence: GeomPlate_SequenceOfCurveConstraint) -> None: ... -class GeomPlate_HSequenceOfPointConstraint(NCollection_Sequence>, Standard_Transient): +class GeomPlate_HSequenceOfPointConstraint(GeomPlate_SequenceOfPointConstraint, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: GeomPlate_SequenceOfPointConstraint) -> None: ... + def Sequence(self) -> GeomPlate_SequenceOfPointConstraint: ... + def Append(self, theSequence: GeomPlate_SequenceOfPointConstraint) -> None: ... diff --git a/src/SWIG_files/wrapper/Graphic3d.pyi b/src/SWIG_files/wrapper/Graphic3d.pyi index 6dbddce6a..9f3137b58 100644 --- a/src/SWIG_files/wrapper/Graphic3d.pyi +++ b/src/SWIG_files/wrapper/Graphic3d.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/HLRAlgo.pyi b/src/SWIG_files/wrapper/HLRAlgo.pyi index 9014aed9f..bf2176e27 100644 --- a/src/SWIG_files/wrapper/HLRAlgo.pyi +++ b/src/SWIG_files/wrapper/HLRAlgo.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -445,24 +445,24 @@ class HLRAlgo_PolyHidingData: ... # harray1 classes -class HLRAlgo_HArray1OfPHDat(NCollection_Array1, Standard_Transient): +class HLRAlgo_HArray1OfPHDat(HLRAlgo_Array1OfPHDat, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> HLRAlgo_Array1OfPHDat: ... -class HLRAlgo_HArray1OfPINod(NCollection_Array1>, Standard_Transient): +class HLRAlgo_HArray1OfPINod(HLRAlgo_Array1OfPINod, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> HLRAlgo_Array1OfPINod: ... -class HLRAlgo_HArray1OfPISeg(NCollection_Array1, Standard_Transient): +class HLRAlgo_HArray1OfPISeg(HLRAlgo_Array1OfPISeg, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> HLRAlgo_Array1OfPISeg: ... -class HLRAlgo_HArray1OfTData(NCollection_Array1, Standard_Transient): +class HLRAlgo_HArray1OfTData(HLRAlgo_Array1OfTData, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> HLRAlgo_Array1OfTData: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/IFSelect.pyi b/src/SWIG_files/wrapper/IFSelect.pyi index 918bd5716..8afdd6e76 100644 --- a/src/SWIG_files/wrapper/IFSelect.pyi +++ b/src/SWIG_files/wrapper/IFSelect.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -1213,12 +1213,12 @@ class IFSelect_SelectType(IFSelect_SelectAnyType): # harray2 classes # hsequence classes -class IFSelect_HSeqOfSelection(NCollection_Sequence>, Standard_Transient): +class IFSelect_HSeqOfSelection(IFSelect_TSeqOfSelection, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: IFSelect_TSeqOfSelection) -> None: ... + def Sequence(self) -> IFSelect_TSeqOfSelection: ... + def Append(self, theSequence: IFSelect_TSeqOfSelection) -> None: ... diff --git a/src/SWIG_files/wrapper/IGESData.pyi b/src/SWIG_files/wrapper/IGESData.pyi index 4c286b4b0..eb11ba5b5 100644 --- a/src/SWIG_files/wrapper/IGESData.pyi +++ b/src/SWIG_files/wrapper/IGESData.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -733,9 +733,9 @@ class IGESData_FreeFormatEntity(IGESData_UndefinedEntity): # harray1 classes -class IGESData_HArray1OfIGESEntity(NCollection_Array1>, Standard_Transient): +class IGESData_HArray1OfIGESEntity(IGESData_Array1OfIGESEntity, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> IGESData_Array1OfIGESEntity: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/IntPolyh.pyi b/src/SWIG_files/wrapper/IntPolyh.pyi index a2ba98ce2..b2493d683 100644 --- a/src/SWIG_files/wrapper/IntPolyh.pyi +++ b/src/SWIG_files/wrapper/IntPolyh.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/IntSurf.pyi b/src/SWIG_files/wrapper/IntSurf.pyi index 29f6baf1d..cfff77256 100644 --- a/src/SWIG_files/wrapper/IntSurf.pyi +++ b/src/SWIG_files/wrapper/IntSurf.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/IntTools.pyi b/src/SWIG_files/wrapper/IntTools.pyi index cfcf1e796..e2ad07f43 100644 --- a/src/SWIG_files/wrapper/IntTools.pyi +++ b/src/SWIG_files/wrapper/IntTools.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/Interface.pyi b/src/SWIG_files/wrapper/Interface.pyi index 7b30972d9..bc9edc966 100644 --- a/src/SWIG_files/wrapper/Interface.pyi +++ b/src/SWIG_files/wrapper/Interface.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -1052,19 +1052,19 @@ class Interface_Static(Interface_TypedValue): # harray1 classes -class Interface_HArray1OfHAsciiString(NCollection_Array1>, Standard_Transient): +class Interface_HArray1OfHAsciiString(Interface_Array1OfHAsciiString, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> Interface_Array1OfHAsciiString: ... # harray2 classes # hsequence classes -class Interface_HSequenceOfCheck(NCollection_Sequence>, Standard_Transient): +class Interface_HSequenceOfCheck(Interface_SequenceOfCheck, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: Interface_SequenceOfCheck) -> None: ... + def Sequence(self) -> Interface_SequenceOfCheck: ... + def Append(self, theSequence: Interface_SequenceOfCheck) -> None: ... diff --git a/src/SWIG_files/wrapper/MAT2d.pyi b/src/SWIG_files/wrapper/MAT2d.pyi index a1739f541..6de88fa73 100644 --- a/src/SWIG_files/wrapper/MAT2d.pyi +++ b/src/SWIG_files/wrapper/MAT2d.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/MeshVS.pyi b/src/SWIG_files/wrapper/MeshVS.pyi index baa97b748..22cef01a2 100644 --- a/src/SWIG_files/wrapper/MeshVS.pyi +++ b/src/SWIG_files/wrapper/MeshVS.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -497,9 +497,9 @@ class MeshVS_VectorPrsBuilder(MeshVS_PrsBuilder): # harray1 classes -class MeshVS_HArray1OfSequenceOfInteger(NCollection_Array1, Standard_Transient): +class MeshVS_HArray1OfSequenceOfInteger(MeshVS_Array1OfSequenceOfInteger, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> MeshVS_Array1OfSequenceOfInteger: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/Message.pyi b/src/SWIG_files/wrapper/Message.pyi index c26bfeb22..43a10ea25 100644 --- a/src/SWIG_files/wrapper/Message.pyi +++ b/src/SWIG_files/wrapper/Message.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -449,7 +449,7 @@ class Message_Algorithm(Standard_Transient): def SetStatus(self, theStat: Message_Status, theMsg: Message_Msg) -> None: ... class Message_Attribute(Standard_Transient): - def __init__(self, theName: Optional[str] = TCollection_AsciiString::EmptyString()) -> None: ... + def __init__(self, theName: Optional[str] = ...) -> None: ... def DumpJson(self, depth: Optional[int]=-1) -> str: ... def GetMessageKey(self) -> str: ... def GetName(self) -> str: ... @@ -507,7 +507,7 @@ class Message_ExecStatus: def TypeOfStatus(theStatus: Message_Status) -> Message_StatusType: ... class Message_Level: - def __init__(self, theName: Optional[str] = TCollection_AsciiString::EmptyString()) -> None: ... + def __init__(self, theName: Optional[str] = ...) -> None: ... def AddAlert(self, theGravity: Message_Gravity, theAlert: Message_Alert) -> bool: ... def RootAlert(self) -> Message_AlertExtended: ... def SetRootAlert(self, theAlert: Message_AlertExtended, isRequiredToStart: bool) -> None: ... @@ -656,7 +656,7 @@ class Message_AlertExtended(Message_Alert): def SupportsMerge(self) -> bool: ... class Message_AttributeMeter(Message_Attribute): - def __init__(self, theName: Optional[str] = TCollection_AsciiString::EmptyString()) -> None: ... + def __init__(self, theName: Optional[str] = ...) -> None: ... def DumpJson(self, depth: Optional[int]=-1) -> str: ... def HasMetric(self, theMetric: Message_MetricType) -> bool: ... def IsMetricValid(self, theMetric: Message_MetricType) -> bool: ... @@ -674,7 +674,7 @@ class Message_AttributeMeter(Message_Attribute): def UndefinedMetricValue() -> False: ... class Message_AttributeObject(Message_Attribute): - def __init__(self, theObject: Standard_Transient, theName: Optional[str] = TCollection_AsciiString::EmptyString()) -> None: ... + def __init__(self, theObject: Standard_Transient, theName: Optional[str] = ...) -> None: ... def DumpJson(self, depth: Optional[int]=-1) -> str: ... def Object(self) -> Standard_Transient: ... def SetObject(self, theObject: Standard_Transient) -> None: ... diff --git a/src/SWIG_files/wrapper/MoniTool.pyi b/src/SWIG_files/wrapper/MoniTool.pyi index 4ba8de49b..8f79610d7 100644 --- a/src/SWIG_files/wrapper/MoniTool.pyi +++ b/src/SWIG_files/wrapper/MoniTool.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -292,12 +292,12 @@ class MoniTool_TransientElem(MoniTool_Element): # harray2 classes # hsequence classes -class MoniTool_HSequenceOfElement(NCollection_Sequence>, Standard_Transient): +class MoniTool_HSequenceOfElement(MoniTool_SequenceOfElement, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: MoniTool_SequenceOfElement) -> None: ... + def Sequence(self) -> MoniTool_SequenceOfElement: ... + def Append(self, theSequence: MoniTool_SequenceOfElement) -> None: ... diff --git a/src/SWIG_files/wrapper/NCollection.pyi b/src/SWIG_files/wrapper/NCollection.pyi index 0481b5ba1..9b8920496 100644 --- a/src/SWIG_files/wrapper/NCollection.pyi +++ b/src/SWIG_files/wrapper/NCollection.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple # the following typedef cannot be wrapped as is diff --git a/src/SWIG_files/wrapper/OSD.pyi b/src/SWIG_files/wrapper/OSD.pyi index 524f9eacd..51a0feca6 100644 --- a/src/SWIG_files/wrapper/OSD.pyi +++ b/src/SWIG_files/wrapper/OSD.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/Plate.pyi b/src/SWIG_files/wrapper/Plate.pyi index 2f4bfc936..3217f18ee 100644 --- a/src/SWIG_files/wrapper/Plate.pyi +++ b/src/SWIG_files/wrapper/Plate.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -218,9 +218,9 @@ class Plate_SampledCurveConstraint: # harray1 classes -class Plate_HArray1OfPinpointConstraint(NCollection_Array1, Standard_Transient): +class Plate_HArray1OfPinpointConstraint(Plate_Array1OfPinpointConstraint, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Plate_Array1OfPinpointConstraint: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/Poly.pyi b/src/SWIG_files/wrapper/Poly.pyi index 82a357159..bd196a8f3 100644 --- a/src/SWIG_files/wrapper/Poly.pyi +++ b/src/SWIG_files/wrapper/Poly.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -423,9 +423,9 @@ class Poly_MakeLoops2D: ... # harray1 classes -class Poly_HArray1OfTriangle(NCollection_Array1, Standard_Transient): +class Poly_HArray1OfTriangle(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/ProjLib.pyi b/src/SWIG_files/wrapper/ProjLib.pyi index b946c0d26..84aa73513 100644 --- a/src/SWIG_files/wrapper/ProjLib.pyi +++ b/src/SWIG_files/wrapper/ProjLib.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -434,12 +434,12 @@ class ProjLib_Torus(ProjLib_Projector): # harray2 classes # hsequence classes -class ProjLib_HSequenceOfHSequenceOfPnt(NCollection_Sequence>, Standard_Transient): +class ProjLib_HSequenceOfHSequenceOfPnt(ProjLib_SequenceOfHSequenceOfPnt, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: ProjLib_SequenceOfHSequenceOfPnt) -> None: ... + def Sequence(self) -> ProjLib_SequenceOfHSequenceOfPnt: ... + def Append(self, theSequence: ProjLib_SequenceOfHSequenceOfPnt) -> None: ... diff --git a/src/SWIG_files/wrapper/Quantity.pyi b/src/SWIG_files/wrapper/Quantity.pyi index 7dd34f39d..8d7fba9e7 100644 --- a/src/SWIG_files/wrapper/Quantity.pyi +++ b/src/SWIG_files/wrapper/Quantity.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -1263,9 +1263,9 @@ class Quantity_Period: # harray1 classes -class Quantity_HArray1OfColor(NCollection_Array1, Standard_Transient): +class Quantity_HArray1OfColor(Quantity_Array1OfColor, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Quantity_Array1OfColor: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/RWGltf.pyi b/src/SWIG_files/wrapper/RWGltf.pyi index a3c157501..8e1393f8d 100644 --- a/src/SWIG_files/wrapper/RWGltf.pyi +++ b/src/SWIG_files/wrapper/RWGltf.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/STEPSelections.pyi b/src/SWIG_files/wrapper/STEPSelections.pyi index bff3ee50d..a7ab95003 100644 --- a/src/SWIG_files/wrapper/STEPSelections.pyi +++ b/src/SWIG_files/wrapper/STEPSelections.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -124,12 +124,12 @@ class STEPSelections_SelectInstances(IFSelect_SelectExplore): # harray2 classes # hsequence classes -class STEPSelections_HSequenceOfAssemblyLink(NCollection_Sequence>, Standard_Transient): +class STEPSelections_HSequenceOfAssemblyLink(STEPSelections_SequenceOfAssemblyLink, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: STEPSelections_SequenceOfAssemblyLink) -> None: ... + def Sequence(self) -> STEPSelections_SequenceOfAssemblyLink: ... + def Append(self, theSequence: STEPSelections_SequenceOfAssemblyLink) -> None: ... diff --git a/src/SWIG_files/wrapper/Select3D.pyi b/src/SWIG_files/wrapper/Select3D.pyi index fd2efe4af..d98116e42 100644 --- a/src/SWIG_files/wrapper/Select3D.pyi +++ b/src/SWIG_files/wrapper/Select3D.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/SelectMgr.pyi b/src/SWIG_files/wrapper/SelectMgr.pyi index e3562abc3..bb10d7bea 100644 --- a/src/SWIG_files/wrapper/SelectMgr.pyi +++ b/src/SWIG_files/wrapper/SelectMgr.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/ShapeAnalysis.pyi b/src/SWIG_files/wrapper/ShapeAnalysis.pyi index 7fe9d6c31..b2fd8dc35 100644 --- a/src/SWIG_files/wrapper/ShapeAnalysis.pyi +++ b/src/SWIG_files/wrapper/ShapeAnalysis.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -539,12 +539,12 @@ class ShapeCustom_ConvertToRevolution: ... # harray2 classes # hsequence classes -class ShapeAnalysis_HSequenceOfFreeBounds(NCollection_Sequence>, Standard_Transient): +class ShapeAnalysis_HSequenceOfFreeBounds(ShapeAnalysis_SequenceOfFreeBounds, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: ShapeAnalysis_SequenceOfFreeBounds) -> None: ... + def Sequence(self) -> ShapeAnalysis_SequenceOfFreeBounds: ... + def Append(self, theSequence: ShapeAnalysis_SequenceOfFreeBounds) -> None: ... diff --git a/src/SWIG_files/wrapper/Standard.pyi b/src/SWIG_files/wrapper/Standard.pyi index 1dc9eec5c..e17f56488 100644 --- a/src/SWIG_files/wrapper/Standard.pyi +++ b/src/SWIG_files/wrapper/Standard.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.NCollection import * @@ -59,7 +59,7 @@ class Standard_Condition: class Standard_ErrorHandler: def __init__(self) -> None: ... def Destroy(self) -> None: ... - def Error(self) -> OSD_SIGBUS,: ... + def Error(self) -> Any: ... @staticmethod def IsInTryBlock() -> bool: ... def Raise(self) -> None: ... diff --git a/src/SWIG_files/wrapper/StdPrs.pyi b/src/SWIG_files/wrapper/StdPrs.pyi index 6b85e55f6..54fec6692 100644 --- a/src/SWIG_files/wrapper/StdPrs.pyi +++ b/src/SWIG_files/wrapper/StdPrs.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/StepAP203.pyi b/src/SWIG_files/wrapper/StepAP203.pyi index 11bb5c530..989d3f3bd 100644 --- a/src/SWIG_files/wrapper/StepAP203.pyi +++ b/src/SWIG_files/wrapper/StepAP203.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -394,54 +394,54 @@ class StepAP203_WorkItem(StepData_SelectType): # harray1 classes -class StepAP203_HArray1OfApprovedItem(NCollection_Array1, Standard_Transient): +class StepAP203_HArray1OfApprovedItem(StepAP203_Array1OfApprovedItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP203_Array1OfApprovedItem: ... -class StepAP203_HArray1OfCertifiedItem(NCollection_Array1, Standard_Transient): +class StepAP203_HArray1OfCertifiedItem(StepAP203_Array1OfCertifiedItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP203_Array1OfCertifiedItem: ... -class StepAP203_HArray1OfChangeRequestItem(NCollection_Array1, Standard_Transient): +class StepAP203_HArray1OfChangeRequestItem(StepAP203_Array1OfChangeRequestItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP203_Array1OfChangeRequestItem: ... -class StepAP203_HArray1OfClassifiedItem(NCollection_Array1, Standard_Transient): +class StepAP203_HArray1OfClassifiedItem(StepAP203_Array1OfClassifiedItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP203_Array1OfClassifiedItem: ... -class StepAP203_HArray1OfContractedItem(NCollection_Array1, Standard_Transient): +class StepAP203_HArray1OfContractedItem(StepAP203_Array1OfContractedItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP203_Array1OfContractedItem: ... -class StepAP203_HArray1OfDateTimeItem(NCollection_Array1, Standard_Transient): +class StepAP203_HArray1OfDateTimeItem(StepAP203_Array1OfDateTimeItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP203_Array1OfDateTimeItem: ... -class StepAP203_HArray1OfPersonOrganizationItem(NCollection_Array1, Standard_Transient): +class StepAP203_HArray1OfPersonOrganizationItem(StepAP203_Array1OfPersonOrganizationItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP203_Array1OfPersonOrganizationItem: ... -class StepAP203_HArray1OfSpecifiedItem(NCollection_Array1, Standard_Transient): +class StepAP203_HArray1OfSpecifiedItem(StepAP203_Array1OfSpecifiedItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP203_Array1OfSpecifiedItem: ... -class StepAP203_HArray1OfStartRequestItem(NCollection_Array1, Standard_Transient): +class StepAP203_HArray1OfStartRequestItem(StepAP203_Array1OfStartRequestItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP203_Array1OfStartRequestItem: ... -class StepAP203_HArray1OfWorkItem(NCollection_Array1, Standard_Transient): +class StepAP203_HArray1OfWorkItem(StepAP203_Array1OfWorkItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP203_Array1OfWorkItem: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/StepAP214.pyi b/src/SWIG_files/wrapper/StepAP214.pyi index 895c3f86b..156cd5bba 100644 --- a/src/SWIG_files/wrapper/StepAP214.pyi +++ b/src/SWIG_files/wrapper/StepAP214.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -840,89 +840,89 @@ class StepAP214_SecurityClassificationItem(StepAP214_ApprovalItem): # harray1 classes -class StepAP214_HArray1OfApprovalItem(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfApprovalItem(StepAP214_Array1OfApprovalItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfApprovalItem: ... -class StepAP214_HArray1OfAutoDesignDateAndPersonItem(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfAutoDesignDateAndPersonItem(StepAP214_Array1OfAutoDesignDateAndPersonItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfAutoDesignDateAndPersonItem: ... -class StepAP214_HArray1OfAutoDesignDateAndTimeItem(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfAutoDesignDateAndTimeItem(StepAP214_Array1OfAutoDesignDateAndTimeItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfAutoDesignDateAndTimeItem: ... -class StepAP214_HArray1OfAutoDesignDatedItem(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfAutoDesignDatedItem(StepAP214_Array1OfAutoDesignDatedItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfAutoDesignDatedItem: ... -class StepAP214_HArray1OfAutoDesignGeneralOrgItem(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfAutoDesignGeneralOrgItem(StepAP214_Array1OfAutoDesignGeneralOrgItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfAutoDesignGeneralOrgItem: ... -class StepAP214_HArray1OfAutoDesignGroupedItem(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfAutoDesignGroupedItem(StepAP214_Array1OfAutoDesignGroupedItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfAutoDesignGroupedItem: ... -class StepAP214_HArray1OfAutoDesignPresentedItemSelect(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfAutoDesignPresentedItemSelect(StepAP214_Array1OfAutoDesignPresentedItemSelect, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfAutoDesignPresentedItemSelect: ... -class StepAP214_HArray1OfAutoDesignReferencingItem(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfAutoDesignReferencingItem(StepAP214_Array1OfAutoDesignReferencingItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfAutoDesignReferencingItem: ... -class StepAP214_HArray1OfDateAndTimeItem(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfDateAndTimeItem(StepAP214_Array1OfDateAndTimeItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfDateAndTimeItem: ... -class StepAP214_HArray1OfDateItem(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfDateItem(StepAP214_Array1OfDateItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfDateItem: ... -class StepAP214_HArray1OfDocumentReferenceItem(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfDocumentReferenceItem(StepAP214_Array1OfDocumentReferenceItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfDocumentReferenceItem: ... -class StepAP214_HArray1OfExternalIdentificationItem(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfExternalIdentificationItem(StepAP214_Array1OfExternalIdentificationItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfExternalIdentificationItem: ... -class StepAP214_HArray1OfGroupItem(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfGroupItem(StepAP214_Array1OfGroupItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfGroupItem: ... -class StepAP214_HArray1OfOrganizationItem(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfOrganizationItem(StepAP214_Array1OfOrganizationItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfOrganizationItem: ... -class StepAP214_HArray1OfPersonAndOrganizationItem(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfPersonAndOrganizationItem(StepAP214_Array1OfPersonAndOrganizationItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfPersonAndOrganizationItem: ... -class StepAP214_HArray1OfPresentedItemSelect(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfPresentedItemSelect(StepAP214_Array1OfPresentedItemSelect, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfPresentedItemSelect: ... -class StepAP214_HArray1OfSecurityClassificationItem(NCollection_Array1, Standard_Transient): +class StepAP214_HArray1OfSecurityClassificationItem(StepAP214_Array1OfSecurityClassificationItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepAP214_Array1OfSecurityClassificationItem: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/StepBasic.pyi b/src/SWIG_files/wrapper/StepBasic.pyi index f279d1905..a553628ba 100644 --- a/src/SWIG_files/wrapper/StepBasic.pyi +++ b/src/SWIG_files/wrapper/StepBasic.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -1520,54 +1520,54 @@ class StepRepr_MakeFromUsageOption: ... # harray1 classes -class StepBasic_HArray1OfApproval(NCollection_Array1>, Standard_Transient): +class StepBasic_HArray1OfApproval(StepBasic_Array1OfApproval, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepBasic_Array1OfApproval: ... -class StepBasic_HArray1OfDerivedUnitElement(NCollection_Array1>, Standard_Transient): +class StepBasic_HArray1OfDerivedUnitElement(StepBasic_Array1OfDerivedUnitElement, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepBasic_Array1OfDerivedUnitElement: ... -class StepBasic_HArray1OfDocument(NCollection_Array1>, Standard_Transient): +class StepBasic_HArray1OfDocument(StepBasic_Array1OfDocument, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepBasic_Array1OfDocument: ... -class StepBasic_HArray1OfNamedUnit(NCollection_Array1>, Standard_Transient): +class StepBasic_HArray1OfNamedUnit(StepBasic_Array1OfNamedUnit, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepBasic_Array1OfNamedUnit: ... -class StepBasic_HArray1OfOrganization(NCollection_Array1>, Standard_Transient): +class StepBasic_HArray1OfOrganization(StepBasic_Array1OfOrganization, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepBasic_Array1OfOrganization: ... -class StepBasic_HArray1OfPerson(NCollection_Array1>, Standard_Transient): +class StepBasic_HArray1OfPerson(StepBasic_Array1OfPerson, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepBasic_Array1OfPerson: ... -class StepBasic_HArray1OfProduct(NCollection_Array1>, Standard_Transient): +class StepBasic_HArray1OfProduct(StepBasic_Array1OfProduct, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepBasic_Array1OfProduct: ... -class StepBasic_HArray1OfProductContext(NCollection_Array1>, Standard_Transient): +class StepBasic_HArray1OfProductContext(StepBasic_Array1OfProductContext, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepBasic_Array1OfProductContext: ... -class StepBasic_HArray1OfProductDefinition(NCollection_Array1>, Standard_Transient): +class StepBasic_HArray1OfProductDefinition(StepBasic_Array1OfProductDefinition, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepBasic_Array1OfProductDefinition: ... -class StepBasic_HArray1OfUncertaintyMeasureWithUnit(NCollection_Array1>, Standard_Transient): +class StepBasic_HArray1OfUncertaintyMeasureWithUnit(StepBasic_Array1OfUncertaintyMeasureWithUnit, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepBasic_Array1OfUncertaintyMeasureWithUnit: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/StepData.pyi b/src/SWIG_files/wrapper/StepData.pyi index 1fd51e874..934c62d5e 100644 --- a/src/SWIG_files/wrapper/StepData.pyi +++ b/src/SWIG_files/wrapper/StepData.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -622,9 +622,9 @@ class StepData_UndefinedEntity: ... # harray1 classes -class StepData_HArray1OfField(NCollection_Array1, Standard_Transient): +class StepData_HArray1OfField(StepData_Array1OfField, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepData_Array1OfField: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/StepDimTol.pyi b/src/SWIG_files/wrapper/StepDimTol.pyi index 4c70731e5..22d808c66 100644 --- a/src/SWIG_files/wrapper/StepDimTol.pyi +++ b/src/SWIG_files/wrapper/StepDimTol.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -675,39 +675,39 @@ class StepDimTol_TotalRunoutTolerance(StepDimTol_GeometricToleranceWithDatumRefe # harray1 classes -class StepDimTol_HArray1OfDatumReference(NCollection_Array1>, Standard_Transient): +class StepDimTol_HArray1OfDatumReference(StepDimTol_Array1OfDatumReference, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepDimTol_Array1OfDatumReference: ... -class StepDimTol_HArray1OfDatumReferenceCompartment(NCollection_Array1>, Standard_Transient): +class StepDimTol_HArray1OfDatumReferenceCompartment(StepDimTol_Array1OfDatumReferenceCompartment, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepDimTol_Array1OfDatumReferenceCompartment: ... -class StepDimTol_HArray1OfDatumReferenceElement(NCollection_Array1>, Standard_Transient): +class StepDimTol_HArray1OfDatumReferenceElement(StepDimTol_Array1OfDatumReferenceElement, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepDimTol_Array1OfDatumReferenceElement: ... -class StepDimTol_HArray1OfDatumReferenceModifier(NCollection_Array1, Standard_Transient): +class StepDimTol_HArray1OfDatumReferenceModifier(StepDimTol_Array1OfDatumReferenceModifier, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepDimTol_Array1OfDatumReferenceModifier: ... -class StepDimTol_HArray1OfDatumSystemOrReference(NCollection_Array1, Standard_Transient): +class StepDimTol_HArray1OfDatumSystemOrReference(StepDimTol_Array1OfDatumSystemOrReference, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepDimTol_Array1OfDatumSystemOrReference: ... -class StepDimTol_HArray1OfGeometricToleranceModifier(NCollection_Array1, Standard_Transient): +class StepDimTol_HArray1OfGeometricToleranceModifier(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... -class StepDimTol_HArray1OfToleranceZoneTarget(NCollection_Array1, Standard_Transient): +class StepDimTol_HArray1OfToleranceZoneTarget(StepDimTol_Array1OfToleranceZoneTarget, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepDimTol_Array1OfToleranceZoneTarget: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/StepElement.pyi b/src/SWIG_files/wrapper/StepElement.pyi index 2ef94e61f..7c4601a1c 100644 --- a/src/SWIG_files/wrapper/StepElement.pyi +++ b/src/SWIG_files/wrapper/StepElement.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -589,95 +589,95 @@ class StepElement_Volume3dElementDescriptor(StepElement_ElementDescriptor): # harray1 classes -class StepElement_HArray1OfCurveElementEndReleasePacket(NCollection_Array1>, Standard_Transient): +class StepElement_HArray1OfCurveElementEndReleasePacket(StepElement_Array1OfCurveElementEndReleasePacket, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepElement_Array1OfCurveElementEndReleasePacket: ... -class StepElement_HArray1OfCurveElementSectionDefinition(NCollection_Array1>, Standard_Transient): +class StepElement_HArray1OfCurveElementSectionDefinition(StepElement_Array1OfCurveElementSectionDefinition, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepElement_Array1OfCurveElementSectionDefinition: ... -class StepElement_HArray1OfMeasureOrUnspecifiedValue(NCollection_Array1, Standard_Transient): +class StepElement_HArray1OfMeasureOrUnspecifiedValue(StepElement_Array1OfMeasureOrUnspecifiedValue, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepElement_Array1OfMeasureOrUnspecifiedValue: ... -class StepElement_HArray1OfSurfaceSection(NCollection_Array1>, Standard_Transient): +class StepElement_HArray1OfSurfaceSection(StepElement_Array1OfSurfaceSection, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepElement_Array1OfSurfaceSection: ... -class StepElement_HArray1OfVolumeElementPurpose(NCollection_Array1, Standard_Transient): +class StepElement_HArray1OfVolumeElementPurpose(StepElement_Array1OfVolumeElementPurpose, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepElement_Array1OfVolumeElementPurpose: ... -class StepElement_HArray1OfVolumeElementPurposeMember(NCollection_Array1>, Standard_Transient): +class StepElement_HArray1OfVolumeElementPurposeMember(StepElement_Array1OfVolumeElementPurposeMember, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepElement_Array1OfVolumeElementPurposeMember: ... # harray2 classes -class StepElement_HArray2OfCurveElementPurposeMember(NCollection_Array2>, Standard_Transient): +class StepElement_HArray2OfCurveElementPurposeMember(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2>) -> None: ... - def Array2(self) -> NCollection_Array2>: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... -class StepElement_HArray2OfSurfaceElementPurpose(NCollection_Array2, Standard_Transient): +class StepElement_HArray2OfSurfaceElementPurpose(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... -class StepElement_HArray2OfSurfaceElementPurposeMember(NCollection_Array2>, Standard_Transient): +class StepElement_HArray2OfSurfaceElementPurposeMember(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2>) -> None: ... - def Array2(self) -> NCollection_Array2>: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... # hsequence classes -class StepElement_HSequenceOfCurveElementPurposeMember(NCollection_Sequence>, Standard_Transient): +class StepElement_HSequenceOfCurveElementPurposeMember(StepElement_SequenceOfCurveElementPurposeMember, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: StepElement_SequenceOfCurveElementPurposeMember) -> None: ... + def Sequence(self) -> StepElement_SequenceOfCurveElementPurposeMember: ... + def Append(self, theSequence: StepElement_SequenceOfCurveElementPurposeMember) -> None: ... -class StepElement_HSequenceOfCurveElementSectionDefinition(NCollection_Sequence>, Standard_Transient): +class StepElement_HSequenceOfCurveElementSectionDefinition(StepElement_SequenceOfCurveElementSectionDefinition, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: StepElement_SequenceOfCurveElementSectionDefinition) -> None: ... + def Sequence(self) -> StepElement_SequenceOfCurveElementSectionDefinition: ... + def Append(self, theSequence: StepElement_SequenceOfCurveElementSectionDefinition) -> None: ... -class StepElement_HSequenceOfElementMaterial(NCollection_Sequence>, Standard_Transient): +class StepElement_HSequenceOfElementMaterial(StepElement_SequenceOfElementMaterial, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: StepElement_SequenceOfElementMaterial) -> None: ... + def Sequence(self) -> StepElement_SequenceOfElementMaterial: ... + def Append(self, theSequence: StepElement_SequenceOfElementMaterial) -> None: ... -class StepElement_HSequenceOfSurfaceElementPurposeMember(NCollection_Sequence>, Standard_Transient): +class StepElement_HSequenceOfSurfaceElementPurposeMember(StepElement_SequenceOfSurfaceElementPurposeMember, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: StepElement_SequenceOfSurfaceElementPurposeMember) -> None: ... + def Sequence(self) -> StepElement_SequenceOfSurfaceElementPurposeMember: ... + def Append(self, theSequence: StepElement_SequenceOfSurfaceElementPurposeMember) -> None: ... diff --git a/src/SWIG_files/wrapper/StepFEA.pyi b/src/SWIG_files/wrapper/StepFEA.pyi index ad2a78f14..a9a158d77 100644 --- a/src/SWIG_files/wrapper/StepFEA.pyi +++ b/src/SWIG_files/wrapper/StepFEA.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -667,71 +667,71 @@ class StepFEA_NodeWithVector(StepFEA_Node): # harray1 classes -class StepFEA_HArray1OfCurveElementEndOffset(NCollection_Array1>, Standard_Transient): +class StepFEA_HArray1OfCurveElementEndOffset(StepFEA_Array1OfCurveElementEndOffset, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepFEA_Array1OfCurveElementEndOffset: ... -class StepFEA_HArray1OfCurveElementEndRelease(NCollection_Array1>, Standard_Transient): +class StepFEA_HArray1OfCurveElementEndRelease(StepFEA_Array1OfCurveElementEndRelease, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepFEA_Array1OfCurveElementEndRelease: ... -class StepFEA_HArray1OfCurveElementInterval(NCollection_Array1>, Standard_Transient): +class StepFEA_HArray1OfCurveElementInterval(StepFEA_Array1OfCurveElementInterval, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepFEA_Array1OfCurveElementInterval: ... -class StepFEA_HArray1OfDegreeOfFreedom(NCollection_Array1, Standard_Transient): +class StepFEA_HArray1OfDegreeOfFreedom(StepFEA_Array1OfDegreeOfFreedom, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepFEA_Array1OfDegreeOfFreedom: ... -class StepFEA_HArray1OfElementRepresentation(NCollection_Array1>, Standard_Transient): +class StepFEA_HArray1OfElementRepresentation(StepFEA_Array1OfElementRepresentation, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepFEA_Array1OfElementRepresentation: ... -class StepFEA_HArray1OfNodeRepresentation(NCollection_Array1>, Standard_Transient): +class StepFEA_HArray1OfNodeRepresentation(StepFEA_Array1OfNodeRepresentation, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepFEA_Array1OfNodeRepresentation: ... # harray2 classes # hsequence classes -class StepFEA_HSequenceOfCurve3dElementProperty(NCollection_Sequence>, Standard_Transient): +class StepFEA_HSequenceOfCurve3dElementProperty(StepFEA_SequenceOfCurve3dElementProperty, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: StepFEA_SequenceOfCurve3dElementProperty) -> None: ... + def Sequence(self) -> StepFEA_SequenceOfCurve3dElementProperty: ... + def Append(self, theSequence: StepFEA_SequenceOfCurve3dElementProperty) -> None: ... -class StepFEA_HSequenceOfElementGeometricRelationship(NCollection_Sequence>, Standard_Transient): +class StepFEA_HSequenceOfElementGeometricRelationship(StepFEA_SequenceOfElementGeometricRelationship, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: StepFEA_SequenceOfElementGeometricRelationship) -> None: ... + def Sequence(self) -> StepFEA_SequenceOfElementGeometricRelationship: ... + def Append(self, theSequence: StepFEA_SequenceOfElementGeometricRelationship) -> None: ... -class StepFEA_HSequenceOfElementRepresentation(NCollection_Sequence>, Standard_Transient): +class StepFEA_HSequenceOfElementRepresentation(StepFEA_SequenceOfElementRepresentation, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: StepFEA_SequenceOfElementRepresentation) -> None: ... + def Sequence(self) -> StepFEA_SequenceOfElementRepresentation: ... + def Append(self, theSequence: StepFEA_SequenceOfElementRepresentation) -> None: ... -class StepFEA_HSequenceOfNodeRepresentation(NCollection_Sequence>, Standard_Transient): +class StepFEA_HSequenceOfNodeRepresentation(StepFEA_SequenceOfNodeRepresentation, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: StepFEA_SequenceOfNodeRepresentation) -> None: ... + def Sequence(self) -> StepFEA_SequenceOfNodeRepresentation: ... + def Append(self, theSequence: StepFEA_SequenceOfNodeRepresentation) -> None: ... diff --git a/src/SWIG_files/wrapper/StepGeom.pyi b/src/SWIG_files/wrapper/StepGeom.pyi index bc760d261..88798cc21 100644 --- a/src/SWIG_files/wrapper/StepGeom.pyi +++ b/src/SWIG_files/wrapper/StepGeom.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -1045,56 +1045,56 @@ class StepGeom_OuterBoundaryCurve(StepGeom_BoundaryCurve): # harray1 classes -class StepGeom_HArray1OfBoundaryCurve(NCollection_Array1>, Standard_Transient): +class StepGeom_HArray1OfBoundaryCurve(StepGeom_Array1OfBoundaryCurve, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepGeom_Array1OfBoundaryCurve: ... -class StepGeom_HArray1OfCartesianPoint(NCollection_Array1>, Standard_Transient): +class StepGeom_HArray1OfCartesianPoint(StepGeom_Array1OfCartesianPoint, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepGeom_Array1OfCartesianPoint: ... -class StepGeom_HArray1OfCompositeCurveSegment(NCollection_Array1>, Standard_Transient): +class StepGeom_HArray1OfCompositeCurveSegment(StepGeom_Array1OfCompositeCurveSegment, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepGeom_Array1OfCompositeCurveSegment: ... -class StepGeom_HArray1OfCurve(NCollection_Array1>, Standard_Transient): +class StepGeom_HArray1OfCurve(StepGeom_Array1OfCurve, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepGeom_Array1OfCurve: ... -class StepGeom_HArray1OfPcurveOrSurface(NCollection_Array1, Standard_Transient): +class StepGeom_HArray1OfPcurveOrSurface(StepGeom_Array1OfPcurveOrSurface, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepGeom_Array1OfPcurveOrSurface: ... -class StepGeom_HArray1OfSurfaceBoundary(NCollection_Array1, Standard_Transient): +class StepGeom_HArray1OfSurfaceBoundary(StepGeom_Array1OfSurfaceBoundary, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepGeom_Array1OfSurfaceBoundary: ... -class StepGeom_HArray1OfTrimmingSelect(NCollection_Array1, Standard_Transient): +class StepGeom_HArray1OfTrimmingSelect(StepGeom_Array1OfTrimmingSelect, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepGeom_Array1OfTrimmingSelect: ... # harray2 classes -class StepGeom_HArray2OfCartesianPoint(NCollection_Array2>, Standard_Transient): +class StepGeom_HArray2OfCartesianPoint(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2>) -> None: ... - def Array2(self) -> NCollection_Array2>: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... -class StepGeom_HArray2OfSurfacePatch(NCollection_Array2>, Standard_Transient): +class StepGeom_HArray2OfSurfacePatch(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2>) -> None: ... - def Array2(self) -> NCollection_Array2>: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... # hsequence classes diff --git a/src/SWIG_files/wrapper/StepRepr.pyi b/src/SWIG_files/wrapper/StepRepr.pyi index 30c5f2322..28bf43578 100644 --- a/src/SWIG_files/wrapper/StepRepr.pyi +++ b/src/SWIG_files/wrapper/StepRepr.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -662,43 +662,43 @@ class StepRepr_ReprItemAndMeasureWithUnitAndQRI: ... # harray1 classes -class StepRepr_HArray1OfMaterialPropertyRepresentation(NCollection_Array1>, Standard_Transient): +class StepRepr_HArray1OfMaterialPropertyRepresentation(StepRepr_Array1OfMaterialPropertyRepresentation, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepRepr_Array1OfMaterialPropertyRepresentation: ... -class StepRepr_HArray1OfPropertyDefinitionRepresentation(NCollection_Array1>, Standard_Transient): +class StepRepr_HArray1OfPropertyDefinitionRepresentation(StepRepr_Array1OfPropertyDefinitionRepresentation, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepRepr_Array1OfPropertyDefinitionRepresentation: ... -class StepRepr_HArray1OfRepresentationItem(NCollection_Array1>, Standard_Transient): +class StepRepr_HArray1OfRepresentationItem(StepRepr_Array1OfRepresentationItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepRepr_Array1OfRepresentationItem: ... -class StepRepr_HArray1OfShapeAspect(NCollection_Array1>, Standard_Transient): +class StepRepr_HArray1OfShapeAspect(StepRepr_Array1OfShapeAspect, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepRepr_Array1OfShapeAspect: ... # harray2 classes # hsequence classes -class StepRepr_HSequenceOfMaterialPropertyRepresentation(NCollection_Sequence>, Standard_Transient): +class StepRepr_HSequenceOfMaterialPropertyRepresentation(StepRepr_SequenceOfMaterialPropertyRepresentation, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: StepRepr_SequenceOfMaterialPropertyRepresentation) -> None: ... + def Sequence(self) -> StepRepr_SequenceOfMaterialPropertyRepresentation: ... + def Append(self, theSequence: StepRepr_SequenceOfMaterialPropertyRepresentation) -> None: ... -class StepRepr_HSequenceOfRepresentationItem(NCollection_Sequence>, Standard_Transient): +class StepRepr_HSequenceOfRepresentationItem(StepRepr_SequenceOfRepresentationItem, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: StepRepr_SequenceOfRepresentationItem) -> None: ... + def Sequence(self) -> StepRepr_SequenceOfRepresentationItem: ... + def Append(self, theSequence: StepRepr_SequenceOfRepresentationItem) -> None: ... diff --git a/src/SWIG_files/wrapper/StepShape.pyi b/src/SWIG_files/wrapper/StepShape.pyi index 5d917432e..101fdd5c7 100644 --- a/src/SWIG_files/wrapper/StepShape.pyi +++ b/src/SWIG_files/wrapper/StepShape.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -991,59 +991,59 @@ class StepShape_SeamEdge(StepShape_OrientedEdge): # harray1 classes -class StepShape_HArray1OfConnectedEdgeSet(NCollection_Array1>, Standard_Transient): +class StepShape_HArray1OfConnectedEdgeSet(StepShape_Array1OfConnectedEdgeSet, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepShape_Array1OfConnectedEdgeSet: ... -class StepShape_HArray1OfConnectedFaceSet(NCollection_Array1>, Standard_Transient): +class StepShape_HArray1OfConnectedFaceSet(StepShape_Array1OfConnectedFaceSet, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepShape_Array1OfConnectedFaceSet: ... -class StepShape_HArray1OfEdge(NCollection_Array1>, Standard_Transient): +class StepShape_HArray1OfEdge(StepShape_Array1OfEdge, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepShape_Array1OfEdge: ... -class StepShape_HArray1OfFace(NCollection_Array1>, Standard_Transient): +class StepShape_HArray1OfFace(StepShape_Array1OfFace, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepShape_Array1OfFace: ... -class StepShape_HArray1OfFaceBound(NCollection_Array1>, Standard_Transient): +class StepShape_HArray1OfFaceBound(StepShape_Array1OfFaceBound, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepShape_Array1OfFaceBound: ... -class StepShape_HArray1OfGeometricSetSelect(NCollection_Array1, Standard_Transient): +class StepShape_HArray1OfGeometricSetSelect(StepShape_Array1OfGeometricSetSelect, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepShape_Array1OfGeometricSetSelect: ... -class StepShape_HArray1OfOrientedClosedShell(NCollection_Array1>, Standard_Transient): +class StepShape_HArray1OfOrientedClosedShell(StepShape_Array1OfOrientedClosedShell, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepShape_Array1OfOrientedClosedShell: ... -class StepShape_HArray1OfOrientedEdge(NCollection_Array1>, Standard_Transient): +class StepShape_HArray1OfOrientedEdge(StepShape_Array1OfOrientedEdge, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepShape_Array1OfOrientedEdge: ... -class StepShape_HArray1OfShapeDimensionRepresentationItem(NCollection_Array1, Standard_Transient): +class StepShape_HArray1OfShapeDimensionRepresentationItem(StepShape_Array1OfShapeDimensionRepresentationItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepShape_Array1OfShapeDimensionRepresentationItem: ... -class StepShape_HArray1OfShell(NCollection_Array1, Standard_Transient): +class StepShape_HArray1OfShell(StepShape_Array1OfShell, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepShape_Array1OfShell: ... -class StepShape_HArray1OfValueQualifier(NCollection_Array1, Standard_Transient): +class StepShape_HArray1OfValueQualifier(StepShape_Array1OfValueQualifier, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepShape_Array1OfValueQualifier: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/StepVisual.pyi b/src/SWIG_files/wrapper/StepVisual.pyi index 86967b992..bcbcf7e37 100644 --- a/src/SWIG_files/wrapper/StepVisual.pyi +++ b/src/SWIG_files/wrapper/StepVisual.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -1434,94 +1434,94 @@ class StepVisual_TriangulatedFace(StepVisual_TessellatedFace): # harray1 classes -class StepVisual_HArray1OfAnnotationPlaneElement(NCollection_Array1, Standard_Transient): +class StepVisual_HArray1OfAnnotationPlaneElement(StepVisual_Array1OfAnnotationPlaneElement, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepVisual_Array1OfAnnotationPlaneElement: ... -class StepVisual_HArray1OfBoxCharacteristicSelect(NCollection_Array1, Standard_Transient): +class StepVisual_HArray1OfBoxCharacteristicSelect(StepVisual_Array1OfBoxCharacteristicSelect, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepVisual_Array1OfBoxCharacteristicSelect: ... -class StepVisual_HArray1OfCameraModelD3MultiClippingInterectionSelect(NCollection_Array1, Standard_Transient): +class StepVisual_HArray1OfCameraModelD3MultiClippingInterectionSelect(StepVisual_Array1OfCameraModelD3MultiClippingInterectionSelect, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepVisual_Array1OfCameraModelD3MultiClippingInterectionSelect: ... -class StepVisual_HArray1OfCameraModelD3MultiClippingUnionSelect(NCollection_Array1, Standard_Transient): +class StepVisual_HArray1OfCameraModelD3MultiClippingUnionSelect(StepVisual_Array1OfCameraModelD3MultiClippingUnionSelect, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepVisual_Array1OfCameraModelD3MultiClippingUnionSelect: ... -class StepVisual_HArray1OfCurveStyleFontPattern(NCollection_Array1>, Standard_Transient): +class StepVisual_HArray1OfCurveStyleFontPattern(StepVisual_Array1OfCurveStyleFontPattern, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepVisual_Array1OfCurveStyleFontPattern: ... -class StepVisual_HArray1OfDirectionCountSelect(NCollection_Array1, Standard_Transient): +class StepVisual_HArray1OfDirectionCountSelect(StepVisual_Array1OfDirectionCountSelect, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepVisual_Array1OfDirectionCountSelect: ... -class StepVisual_HArray1OfDraughtingCalloutElement(NCollection_Array1, Standard_Transient): +class StepVisual_HArray1OfDraughtingCalloutElement(StepVisual_Array1OfDraughtingCalloutElement, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepVisual_Array1OfDraughtingCalloutElement: ... -class StepVisual_HArray1OfFillStyleSelect(NCollection_Array1, Standard_Transient): +class StepVisual_HArray1OfFillStyleSelect(StepVisual_Array1OfFillStyleSelect, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepVisual_Array1OfFillStyleSelect: ... -class StepVisual_HArray1OfInvisibleItem(NCollection_Array1, Standard_Transient): +class StepVisual_HArray1OfInvisibleItem(StepVisual_Array1OfInvisibleItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepVisual_Array1OfInvisibleItem: ... -class StepVisual_HArray1OfLayeredItem(NCollection_Array1, Standard_Transient): +class StepVisual_HArray1OfLayeredItem(StepVisual_Array1OfLayeredItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepVisual_Array1OfLayeredItem: ... -class StepVisual_HArray1OfPresentationStyleAssignment(NCollection_Array1>, Standard_Transient): +class StepVisual_HArray1OfPresentationStyleAssignment(StepVisual_Array1OfPresentationStyleAssignment, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepVisual_Array1OfPresentationStyleAssignment: ... -class StepVisual_HArray1OfPresentationStyleSelect(NCollection_Array1, Standard_Transient): +class StepVisual_HArray1OfPresentationStyleSelect(StepVisual_Array1OfPresentationStyleSelect, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepVisual_Array1OfPresentationStyleSelect: ... -class StepVisual_HArray1OfRenderingPropertiesSelect(NCollection_Array1, Standard_Transient): +class StepVisual_HArray1OfRenderingPropertiesSelect(StepVisual_Array1OfRenderingPropertiesSelect, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepVisual_Array1OfRenderingPropertiesSelect: ... -class StepVisual_HArray1OfStyleContextSelect(NCollection_Array1, Standard_Transient): +class StepVisual_HArray1OfStyleContextSelect(StepVisual_Array1OfStyleContextSelect, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepVisual_Array1OfStyleContextSelect: ... -class StepVisual_HArray1OfSurfaceStyleElementSelect(NCollection_Array1, Standard_Transient): +class StepVisual_HArray1OfSurfaceStyleElementSelect(StepVisual_Array1OfSurfaceStyleElementSelect, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepVisual_Array1OfSurfaceStyleElementSelect: ... -class StepVisual_HArray1OfTessellatedEdgeOrVertex(NCollection_Array1, Standard_Transient): +class StepVisual_HArray1OfTessellatedEdgeOrVertex(StepVisual_Array1OfTessellatedEdgeOrVertex, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepVisual_Array1OfTessellatedEdgeOrVertex: ... -class StepVisual_HArray1OfTessellatedStructuredItem(NCollection_Array1>, Standard_Transient): +class StepVisual_HArray1OfTessellatedStructuredItem(StepVisual_Array1OfTessellatedStructuredItem, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> StepVisual_Array1OfTessellatedStructuredItem: ... -class StepVisual_HArray1OfTextOrCharacter(NCollection_Array1, Standard_Transient): +class StepVisual_HArray1OfTextOrCharacter(StepVisual_Array1OfTextOrCharacter, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> StepVisual_Array1OfTextOrCharacter: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/Storage.pyi b/src/SWIG_files/wrapper/Storage.pyi index 557534e8a..dd34c8278 100644 --- a/src/SWIG_files/wrapper/Storage.pyi +++ b/src/SWIG_files/wrapper/Storage.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -153,29 +153,29 @@ class Storage_TypedCallBack: ... # harray1 classes -class Storage_HArrayOfCallBack(NCollection_Array1>, Standard_Transient): +class Storage_HArrayOfCallBack(Storage_ArrayOfCallBack, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> Storage_ArrayOfCallBack: ... -class Storage_HArrayOfSchema(NCollection_Array1>, Standard_Transient): +class Storage_HArrayOfSchema(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> Any: ... -class Storage_HPArray(NCollection_Array1>, Standard_Transient): +class Storage_HPArray(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> Any: ... # harray2 classes # hsequence classes -class Storage_HSeqOfRoot(NCollection_Sequence>, Standard_Transient): +class Storage_HSeqOfRoot(Storage_SeqOfRoot, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: Storage_SeqOfRoot) -> None: ... + def Sequence(self) -> Storage_SeqOfRoot: ... + def Append(self, theSequence: Storage_SeqOfRoot) -> None: ... diff --git a/src/SWIG_files/wrapper/TColGeom.pyi b/src/SWIG_files/wrapper/TColGeom.pyi index 5ad235817..ddf1ab7ef 100644 --- a/src/SWIG_files/wrapper/TColGeom.pyi +++ b/src/SWIG_files/wrapper/TColGeom.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -167,51 +167,51 @@ class TColGeom_SequenceOfSurface: # harray1 classes -class TColGeom_HArray1OfSurface(NCollection_Array1>, Standard_Transient): +class TColGeom_HArray1OfSurface(TColGeom_Array1OfSurface, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> TColGeom_Array1OfSurface: ... -class TColGeom_HArray1OfBezierCurve(NCollection_Array1>, Standard_Transient): +class TColGeom_HArray1OfBezierCurve(TColGeom_Array1OfBezierCurve, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> TColGeom_Array1OfBezierCurve: ... -class TColGeom_HArray1OfCurve(NCollection_Array1>, Standard_Transient): +class TColGeom_HArray1OfCurve(TColGeom_Array1OfCurve, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> TColGeom_Array1OfCurve: ... -class TColGeom_HArray1OfBSplineCurve(NCollection_Array1>, Standard_Transient): +class TColGeom_HArray1OfBSplineCurve(TColGeom_Array1OfBSplineCurve, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> TColGeom_Array1OfBSplineCurve: ... # harray2 classes -class TColGeom_HArray2OfSurface(NCollection_Array2>, Standard_Transient): +class TColGeom_HArray2OfSurface(TColGeom_Array2OfSurface, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2>) -> None: ... - def Array2(self) -> NCollection_Array2>: ... + def __init__(self, theOther: TColGeom_Array2OfSurface) -> None: ... + def Array2(self) -> TColGeom_Array2OfSurface: ... # hsequence classes -class TColGeom_HSequenceOfBoundedCurve(NCollection_Sequence>, Standard_Transient): +class TColGeom_HSequenceOfBoundedCurve(TColGeom_SequenceOfBoundedCurve, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: TColGeom_SequenceOfBoundedCurve) -> None: ... + def Sequence(self) -> TColGeom_SequenceOfBoundedCurve: ... + def Append(self, theSequence: TColGeom_SequenceOfBoundedCurve) -> None: ... -class TColGeom_HSequenceOfCurve(NCollection_Sequence>, Standard_Transient): +class TColGeom_HSequenceOfCurve(TColGeom_SequenceOfCurve, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: TColGeom_SequenceOfCurve) -> None: ... + def Sequence(self) -> TColGeom_SequenceOfCurve: ... + def Append(self, theSequence: TColGeom_SequenceOfCurve) -> None: ... diff --git a/src/SWIG_files/wrapper/TColGeom2d.pyi b/src/SWIG_files/wrapper/TColGeom2d.pyi index dddde7d50..d1026c823 100644 --- a/src/SWIG_files/wrapper/TColGeom2d.pyi +++ b/src/SWIG_files/wrapper/TColGeom2d.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -135,38 +135,38 @@ class TColGeom2d_SequenceOfGeometry: # harray1 classes -class TColGeom2d_HArray1OfBSplineCurve(NCollection_Array1>, Standard_Transient): +class TColGeom2d_HArray1OfBSplineCurve(TColGeom2d_Array1OfBSplineCurve, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> TColGeom2d_Array1OfBSplineCurve: ... -class TColGeom2d_HArray1OfBezierCurve(NCollection_Array1>, Standard_Transient): +class TColGeom2d_HArray1OfBezierCurve(TColGeom2d_Array1OfBezierCurve, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> TColGeom2d_Array1OfBezierCurve: ... -class TColGeom2d_HArray1OfCurve(NCollection_Array1>, Standard_Transient): +class TColGeom2d_HArray1OfCurve(TColGeom2d_Array1OfCurve, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> TColGeom2d_Array1OfCurve: ... # harray2 classes # hsequence classes -class TColGeom2d_HSequenceOfBoundedCurve(NCollection_Sequence>, Standard_Transient): +class TColGeom2d_HSequenceOfBoundedCurve(TColGeom2d_SequenceOfBoundedCurve, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: TColGeom2d_SequenceOfBoundedCurve) -> None: ... + def Sequence(self) -> TColGeom2d_SequenceOfBoundedCurve: ... + def Append(self, theSequence: TColGeom2d_SequenceOfBoundedCurve) -> None: ... -class TColGeom2d_HSequenceOfCurve(NCollection_Sequence>, Standard_Transient): +class TColGeom2d_HSequenceOfCurve(TColGeom2d_SequenceOfCurve, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: TColGeom2d_SequenceOfCurve) -> None: ... + def Sequence(self) -> TColGeom2d_SequenceOfCurve: ... + def Append(self, theSequence: TColGeom2d_SequenceOfCurve) -> None: ... diff --git a/src/SWIG_files/wrapper/TColStd.pyi b/src/SWIG_files/wrapper/TColStd.pyi index 8aca4611e..0b83ca5a8 100644 --- a/src/SWIG_files/wrapper/TColStd.pyi +++ b/src/SWIG_files/wrapper/TColStd.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -481,153 +481,153 @@ class TColStd_HPackedMapOfInteger(Standard_Transient): # harray1 classes -class TColStd_HArray1OfCharacter(NCollection_Array1, Standard_Transient): +class TColStd_HArray1OfCharacter(TColStd_Array1OfCharacter, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> TColStd_Array1OfCharacter: ... -class TColStd_HArray1OfReal(NCollection_Array1, Standard_Transient): +class TColStd_HArray1OfReal(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... -class TColStd_HArray1OfByte(NCollection_Array1, Standard_Transient): +class TColStd_HArray1OfByte(TColStd_Array1OfByte, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> TColStd_Array1OfByte: ... -class TColStd_HArray1OfBoolean(NCollection_Array1, Standard_Transient): +class TColStd_HArray1OfBoolean(TColStd_Array1OfBoolean, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> TColStd_Array1OfBoolean: ... -class TColStd_HArray1OfInteger(NCollection_Array1, Standard_Transient): +class TColStd_HArray1OfInteger(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... -class TColStd_HArray1OfAsciiString(NCollection_Array1, Standard_Transient): +class TColStd_HArray1OfAsciiString(TColStd_Array1OfAsciiString, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> TColStd_Array1OfAsciiString: ... -class TColStd_HArray1OfTransient(NCollection_Array1>, Standard_Transient): +class TColStd_HArray1OfTransient(TColStd_Array1OfTransient, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> TColStd_Array1OfTransient: ... -class TColStd_HArray1OfListOfInteger(NCollection_Array1, Standard_Transient): +class TColStd_HArray1OfListOfInteger(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... -class TColStd_HArray1OfExtendedString(NCollection_Array1, Standard_Transient): +class TColStd_HArray1OfExtendedString(TColStd_Array1OfExtendedString, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> TColStd_Array1OfExtendedString: ... # harray2 classes -class TColStd_HArray2OfReal(NCollection_Array2, Standard_Transient): +class TColStd_HArray2OfReal(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... -class TColStd_HArray2OfInteger(NCollection_Array2, Standard_Transient): +class TColStd_HArray2OfInteger(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... -class TColStd_HArray2OfTransient(NCollection_Array2>, Standard_Transient): +class TColStd_HArray2OfTransient(TColStd_Array2OfTransient, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2>) -> None: ... - def Array2(self) -> NCollection_Array2>: ... + def __init__(self, theOther: TColStd_Array2OfTransient) -> None: ... + def Array2(self) -> TColStd_Array2OfTransient: ... -class TColStd_HArray2OfBoolean(NCollection_Array2, Standard_Transient): +class TColStd_HArray2OfBoolean(TColStd_Array2OfBoolean, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: TColStd_Array2OfBoolean) -> None: ... + def Array2(self) -> TColStd_Array2OfBoolean: ... -class TColStd_HArray2OfCharacter(NCollection_Array2, Standard_Transient): +class TColStd_HArray2OfCharacter(TColStd_Array2OfCharacter, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: TColStd_Array2OfCharacter) -> None: ... + def Array2(self) -> TColStd_Array2OfCharacter: ... # hsequence classes -class TColStd_HSequenceOfReal(NCollection_Sequence, Standard_Transient): +class TColStd_HSequenceOfReal(TColStd_SequenceOfReal, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: TColStd_SequenceOfReal) -> None: ... + def Sequence(self) -> TColStd_SequenceOfReal: ... + def Append(self, theSequence: TColStd_SequenceOfReal) -> None: ... -class TColStd_HSequenceOfTransient(NCollection_Sequence>, Standard_Transient): +class TColStd_HSequenceOfTransient(TColStd_SequenceOfTransient, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: TColStd_SequenceOfTransient) -> None: ... + def Sequence(self) -> TColStd_SequenceOfTransient: ... + def Append(self, theSequence: TColStd_SequenceOfTransient) -> None: ... -class TColStd_HSequenceOfInteger(NCollection_Sequence, Standard_Transient): +class TColStd_HSequenceOfInteger(TColStd_SequenceOfInteger, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: TColStd_SequenceOfInteger) -> None: ... + def Sequence(self) -> TColStd_SequenceOfInteger: ... + def Append(self, theSequence: TColStd_SequenceOfInteger) -> None: ... -class TColStd_HSequenceOfExtendedString(NCollection_Sequence, Standard_Transient): +class TColStd_HSequenceOfExtendedString(TColStd_SequenceOfExtendedString, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: TColStd_SequenceOfExtendedString) -> None: ... + def Sequence(self) -> TColStd_SequenceOfExtendedString: ... + def Append(self, theSequence: TColStd_SequenceOfExtendedString) -> None: ... -class TColStd_HSequenceOfHAsciiString(NCollection_Sequence>, Standard_Transient): +class TColStd_HSequenceOfHAsciiString(TColStd_SequenceOfHAsciiString, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: TColStd_SequenceOfHAsciiString) -> None: ... + def Sequence(self) -> TColStd_SequenceOfHAsciiString: ... + def Append(self, theSequence: TColStd_SequenceOfHAsciiString) -> None: ... -class TColStd_HSequenceOfHExtendedString(NCollection_Sequence>, Standard_Transient): +class TColStd_HSequenceOfHExtendedString(TColStd_SequenceOfHExtendedString, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: TColStd_SequenceOfHExtendedString) -> None: ... + def Sequence(self) -> TColStd_SequenceOfHExtendedString: ... + def Append(self, theSequence: TColStd_SequenceOfHExtendedString) -> None: ... -class TColStd_HSequenceOfAsciiString(NCollection_Sequence, Standard_Transient): +class TColStd_HSequenceOfAsciiString(TColStd_SequenceOfAsciiString, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: TColStd_SequenceOfAsciiString) -> None: ... + def Sequence(self) -> TColStd_SequenceOfAsciiString: ... + def Append(self, theSequence: TColStd_SequenceOfAsciiString) -> None: ... diff --git a/src/SWIG_files/wrapper/TColgp.pyi b/src/SWIG_files/wrapper/TColgp.pyi index 459a0d80e..02a6ac3d0 100644 --- a/src/SWIG_files/wrapper/TColgp.pyi +++ b/src/SWIG_files/wrapper/TColgp.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -473,207 +473,207 @@ class TColgp_SequenceOfXYZ: # harray1 classes -class TColgp_HArray1OfLin2d(NCollection_Array1, Standard_Transient): +class TColgp_HArray1OfLin2d(TColgp_Array1OfLin2d, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> TColgp_Array1OfLin2d: ... -class TColgp_HArray1OfVec2d(NCollection_Array1, Standard_Transient): +class TColgp_HArray1OfVec2d(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... -class TColgp_HArray1OfXY(NCollection_Array1, Standard_Transient): +class TColgp_HArray1OfXY(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... -class TColgp_HArray1OfPnt(NCollection_Array1, Standard_Transient): +class TColgp_HArray1OfPnt(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... -class TColgp_HArray1OfXYZ(NCollection_Array1, Standard_Transient): +class TColgp_HArray1OfXYZ(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... -class TColgp_HArray1OfDir2d(NCollection_Array1, Standard_Transient): +class TColgp_HArray1OfDir2d(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... -class TColgp_HArray1OfVec(NCollection_Array1, Standard_Transient): +class TColgp_HArray1OfVec(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... -class TColgp_HArray1OfDir(NCollection_Array1, Standard_Transient): +class TColgp_HArray1OfDir(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... -class TColgp_HArray1OfPnt2d(NCollection_Array1, Standard_Transient): +class TColgp_HArray1OfPnt2d(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... -class TColgp_HArray1OfCirc2d(NCollection_Array1, Standard_Transient): +class TColgp_HArray1OfCirc2d(TColgp_Array1OfCirc2d, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> TColgp_Array1OfCirc2d: ... # harray2 classes -class TColgp_HArray2OfDir2d(NCollection_Array2, Standard_Transient): +class TColgp_HArray2OfDir2d(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... -class TColgp_HArray2OfVec2d(NCollection_Array2, Standard_Transient): +class TColgp_HArray2OfVec2d(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... -class TColgp_HArray2OfVec(NCollection_Array2, Standard_Transient): +class TColgp_HArray2OfVec(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... -class TColgp_HArray2OfPnt2d(NCollection_Array2, Standard_Transient): +class TColgp_HArray2OfPnt2d(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... -class TColgp_HArray2OfPnt(NCollection_Array2, Standard_Transient): +class TColgp_HArray2OfPnt(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... -class TColgp_HArray2OfXYZ(NCollection_Array2, Standard_Transient): +class TColgp_HArray2OfXYZ(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... -class TColgp_HArray2OfLin2d(NCollection_Array2, Standard_Transient): +class TColgp_HArray2OfLin2d(TColgp_Array2OfLin2d, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: TColgp_Array2OfLin2d) -> None: ... + def Array2(self) -> TColgp_Array2OfLin2d: ... -class TColgp_HArray2OfXY(NCollection_Array2, Standard_Transient): +class TColgp_HArray2OfXY(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... -class TColgp_HArray2OfDir(NCollection_Array2, Standard_Transient): +class TColgp_HArray2OfDir(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... -class TColgp_HArray2OfCirc2d(NCollection_Array2, Standard_Transient): +class TColgp_HArray2OfCirc2d(TColgp_Array2OfCirc2d, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: TColgp_Array2OfCirc2d) -> None: ... + def Array2(self) -> TColgp_Array2OfCirc2d: ... # hsequence classes -class TColgp_HSequenceOfXY(NCollection_Sequence, Standard_Transient): +class TColgp_HSequenceOfXY(TColgp_SequenceOfXY, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: TColgp_SequenceOfXY) -> None: ... + def Sequence(self) -> TColgp_SequenceOfXY: ... + def Append(self, theSequence: TColgp_SequenceOfXY) -> None: ... -class TColgp_HSequenceOfPnt2d(NCollection_Sequence, Standard_Transient): +class TColgp_HSequenceOfPnt2d(TColgp_SequenceOfPnt2d, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: TColgp_SequenceOfPnt2d) -> None: ... + def Sequence(self) -> TColgp_SequenceOfPnt2d: ... + def Append(self, theSequence: TColgp_SequenceOfPnt2d) -> None: ... -class TColgp_HSequenceOfDir2d(NCollection_Sequence, Standard_Transient): +class TColgp_HSequenceOfDir2d(TColgp_SequenceOfDir2d, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: TColgp_SequenceOfDir2d) -> None: ... + def Sequence(self) -> TColgp_SequenceOfDir2d: ... + def Append(self, theSequence: TColgp_SequenceOfDir2d) -> None: ... -class TColgp_HSequenceOfPnt(NCollection_Sequence, Standard_Transient): +class TColgp_HSequenceOfPnt(TColgp_SequenceOfPnt, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: TColgp_SequenceOfPnt) -> None: ... + def Sequence(self) -> TColgp_SequenceOfPnt: ... + def Append(self, theSequence: TColgp_SequenceOfPnt) -> None: ... -class TColgp_HSequenceOfVec(NCollection_Sequence, Standard_Transient): +class TColgp_HSequenceOfVec(TColgp_SequenceOfVec, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: TColgp_SequenceOfVec) -> None: ... + def Sequence(self) -> TColgp_SequenceOfVec: ... + def Append(self, theSequence: TColgp_SequenceOfVec) -> None: ... -class TColgp_HSequenceOfXYZ(NCollection_Sequence, Standard_Transient): +class TColgp_HSequenceOfXYZ(TColgp_SequenceOfXYZ, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: TColgp_SequenceOfXYZ) -> None: ... + def Sequence(self) -> TColgp_SequenceOfXYZ: ... + def Append(self, theSequence: TColgp_SequenceOfXYZ) -> None: ... -class TColgp_HSequenceOfDir(NCollection_Sequence, Standard_Transient): +class TColgp_HSequenceOfDir(TColgp_SequenceOfDir, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: TColgp_SequenceOfDir) -> None: ... + def Sequence(self) -> TColgp_SequenceOfDir: ... + def Append(self, theSequence: TColgp_SequenceOfDir) -> None: ... -class TColgp_HSequenceOfVec2d(NCollection_Sequence, Standard_Transient): +class TColgp_HSequenceOfVec2d(TColgp_SequenceOfVec2d, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: TColgp_SequenceOfVec2d) -> None: ... + def Sequence(self) -> TColgp_SequenceOfVec2d: ... + def Append(self, theSequence: TColgp_SequenceOfVec2d) -> None: ... diff --git a/src/SWIG_files/wrapper/TCollection.i b/src/SWIG_files/wrapper/TCollection.i index 2ed7defe5..5caf1e7b4 100644 --- a/src/SWIG_files/wrapper/TCollection.i +++ b/src/SWIG_files/wrapper/TCollection.i @@ -3487,7 +3487,11 @@ Description Initializes an ExtendedString from a std::u16string_view. Input parameter: theStringView the string view to copy. ") TCollection_ExtendedString; - TCollection_ExtendedString(const std::u16string_view & theStringView); + // occt-800: the std::u16string_view ctor is inline and calls the private, + // non-exported allocate(), which breaks the Windows link (LNK2019). It is + // also unreachable from Python (no u16string_view typemap); str is built + // via the char16_t*/wchar_t* ctors. Skip it. + // TCollection_ExtendedString(const std::u16string_view & theStringView); /****** TCollection_ExtendedString::u16string_view ******/ /****** md5 signature: 2c5272a7bc3d3e18c7d49843bb69015c ******/ @@ -3655,7 +3659,9 @@ Description Appends the std::u16string_view to this extended string. Input parameter: theStringView the string view to append. ") AssignCat; - void AssignCat(const std::u16string_view & theStringView); + // occt-800: inline AssignCat(u16string_view) calls the private, non-exported + // reallocate() (Windows LNK2019); the char16_t* overload covers it. Skip it. + // void AssignCat(const std::u16string_view & theStringView); /****** TCollection_ExtendedString::Capitalize ******/ /****** md5 signature: dbcb7ca2711d8c69ac14d5c2510a8e32 ******/ @@ -5362,7 +5368,9 @@ def __iadd__(self, right): %extend{ void __iadd_wrapper__(const std::u16string_view other) { - *self += other; + // occt-800: avoid operator+=(u16string_view) -> inline reallocate (Windows LNK2019); + // use the Standard_EXPORT AssignCat(char16_t*, int) overload instead. + self->AssignCat(other.data(), static_cast(other.size())); } } %pythoncode { diff --git a/src/SWIG_files/wrapper/TDF.pyi b/src/SWIG_files/wrapper/TDF.pyi index fcc008919..47c778aaf 100644 --- a/src/SWIG_files/wrapper/TDF.pyi +++ b/src/SWIG_files/wrapper/TDF.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -617,9 +617,9 @@ class TDF_DerivedAttribute: ... # harray1 classes -class TDF_HAttributeArray1(NCollection_Array1>, Standard_Transient): +class TDF_HAttributeArray1(TDF_AttributeArray1, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1>: ... + def Array1(self) -> TDF_AttributeArray1: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/TDataStd.pyi b/src/SWIG_files/wrapper/TDataStd.pyi index 659d4ec94..2bbde667c 100644 --- a/src/SWIG_files/wrapper/TDataStd.pyi +++ b/src/SWIG_files/wrapper/TDataStd.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -920,9 +920,9 @@ class TDataStd_GenericExtString: ... # harray1 classes -class TDataStd_HLabelArray1(NCollection_Array1, Standard_Transient): +class TDataStd_HLabelArray1(TDataStd_LabelArray1, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> TDataStd_LabelArray1: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/TDataXtd.pyi b/src/SWIG_files/wrapper/TDataXtd.pyi index c9efc3673..506d30a43 100644 --- a/src/SWIG_files/wrapper/TDataXtd.pyi +++ b/src/SWIG_files/wrapper/TDataXtd.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -462,9 +462,9 @@ class TDataXtd_PatternStd(TDataXtd_Pattern): # harray1 classes -class TDataXtd_HArray1OfTrsf(NCollection_Array1, Standard_Transient): +class TDataXtd_HArray1OfTrsf(TDataXtd_Array1OfTrsf, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> TDataXtd_Array1OfTrsf: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/TFunction.pyi b/src/SWIG_files/wrapper/TFunction.pyi index a3bc3db8e..d1346b26d 100644 --- a/src/SWIG_files/wrapper/TFunction.pyi +++ b/src/SWIG_files/wrapper/TFunction.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -209,9 +209,9 @@ class TFunction_Scope(TDF_Attribute): # harray1 classes -class TFunction_HArray1OfDataMapOfGUIDDriver(NCollection_Array1, Standard_Transient): +class TFunction_HArray1OfDataMapOfGUIDDriver(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/TNaming.pyi b/src/SWIG_files/wrapper/TNaming.pyi index 06d434134..6e642a528 100644 --- a/src/SWIG_files/wrapper/TNaming.pyi +++ b/src/SWIG_files/wrapper/TNaming.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/TShort.pyi b/src/SWIG_files/wrapper/TShort.pyi index 619cefd1a..5061801d1 100644 --- a/src/SWIG_files/wrapper/TShort.pyi +++ b/src/SWIG_files/wrapper/TShort.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -54,27 +54,27 @@ class TShort_SequenceOfShortReal: # harray1 classes -class TShort_HArray1OfShortReal(NCollection_Array1, Standard_Transient): +class TShort_HArray1OfShortReal(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... # harray2 classes -class TShort_HArray2OfShortReal(NCollection_Array2, Standard_Transient): +class TShort_HArray2OfShortReal(Any, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: Any) -> None: ... + def Array2(self) -> Any: ... # hsequence classes -class TShort_HSequenceOfShortReal(NCollection_Sequence, Standard_Transient): +class TShort_HSequenceOfShortReal(TShort_SequenceOfShortReal, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: TShort_SequenceOfShortReal) -> None: ... + def Sequence(self) -> TShort_SequenceOfShortReal: ... + def Append(self, theSequence: TShort_SequenceOfShortReal) -> None: ... diff --git a/src/SWIG_files/wrapper/TopLoc.pyi b/src/SWIG_files/wrapper/TopLoc.pyi index c923e395b..10cb2e312 100644 --- a/src/SWIG_files/wrapper/TopLoc.pyi +++ b/src/SWIG_files/wrapper/TopLoc.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/TopOpeBRep.pyi b/src/SWIG_files/wrapper/TopOpeBRep.pyi index c4e0cd6e6..aaeeb888d 100644 --- a/src/SWIG_files/wrapper/TopOpeBRep.pyi +++ b/src/SWIG_files/wrapper/TopOpeBRep.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -635,14 +635,14 @@ class TopOpeBRep_traceSIFF: ... # harray1 classes -class TopOpeBRep_HArray1OfLineInter(NCollection_Array1, Standard_Transient): +class TopOpeBRep_HArray1OfLineInter(TopOpeBRep_Array1OfLineInter, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> TopOpeBRep_Array1OfLineInter: ... -class TopOpeBRep_HArray1OfVPointInter(NCollection_Array1, Standard_Transient): +class TopOpeBRep_HArray1OfVPointInter(TopOpeBRep_Array1OfVPointInter, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> TopOpeBRep_Array1OfVPointInter: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/TopOpeBRepBuild.pyi b/src/SWIG_files/wrapper/TopOpeBRepBuild.pyi index 101a23148..7a0972a18 100644 --- a/src/SWIG_files/wrapper/TopOpeBRepBuild.pyi +++ b/src/SWIG_files/wrapper/TopOpeBRepBuild.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/TopOpeBRepDS.pyi b/src/SWIG_files/wrapper/TopOpeBRepDS.pyi index 17c8988e9..350a75a60 100644 --- a/src/SWIG_files/wrapper/TopOpeBRepDS.pyi +++ b/src/SWIG_files/wrapper/TopOpeBRepDS.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -875,9 +875,9 @@ class TopOpeBRepDS_HDataStructure: ... # harray1 classes -class TopOpeBRepDS_HArray1OfDataMapOfIntegerListOfInterference(NCollection_Array1, Standard_Transient): +class TopOpeBRepDS_HArray1OfDataMapOfIntegerListOfInterference(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/TopOpeBRepTool.pyi b/src/SWIG_files/wrapper/TopOpeBRepTool.pyi index e67d37446..fb4a2924b 100644 --- a/src/SWIG_files/wrapper/TopOpeBRepTool.pyi +++ b/src/SWIG_files/wrapper/TopOpeBRepTool.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/TopTools.pyi b/src/SWIG_files/wrapper/TopTools.pyi index 9f2dcda75..c18f8e94c 100644 --- a/src/SWIG_files/wrapper/TopTools.pyi +++ b/src/SWIG_files/wrapper/TopTools.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -183,32 +183,32 @@ class TopTools_ShapeSet: # harray1 classes -class TopTools_HArray1OfShape(NCollection_Array1, Standard_Transient): +class TopTools_HArray1OfShape(TopTools_Array1OfShape, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> TopTools_Array1OfShape: ... -class TopTools_HArray1OfListOfShape(NCollection_Array1, Standard_Transient): +class TopTools_HArray1OfListOfShape(Any, Standard_Transient): def __init__(self, theLower: int, theUpper: int) -> None: ... - def Array1(self) -> NCollection_Array1: ... + def Array1(self) -> Any: ... # harray2 classes -class TopTools_HArray2OfShape(NCollection_Array2, Standard_Transient): +class TopTools_HArray2OfShape(TopTools_Array2OfShape, Standard_Transient): @overload def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... @overload - def __init__(self, theOther: NCollection_Array2) -> None: ... - def Array2(self) -> NCollection_Array2: ... + def __init__(self, theOther: TopTools_Array2OfShape) -> None: ... + def Array2(self) -> TopTools_Array2OfShape: ... # hsequence classes -class TopTools_HSequenceOfShape(NCollection_Sequence, Standard_Transient): +class TopTools_HSequenceOfShape(TopTools_SequenceOfShape, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence) -> None: ... - def Sequence(self) -> NCollection_Sequence: ... - def Append(self, theSequence: NCollection_Sequence) -> None: ... + def __init__(self, other: TopTools_SequenceOfShape) -> None: ... + def Sequence(self) -> TopTools_SequenceOfShape: ... + def Append(self, theSequence: TopTools_SequenceOfShape) -> None: ... diff --git a/src/SWIG_files/wrapper/TopTrans.pyi b/src/SWIG_files/wrapper/TopTrans.pyi index 96bdb646e..205f3aec0 100644 --- a/src/SWIG_files/wrapper/TopTrans.pyi +++ b/src/SWIG_files/wrapper/TopTrans.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/TopoDS.pyi b/src/SWIG_files/wrapper/TopoDS.pyi index ce8dd5de3..10581fcf5 100644 --- a/src/SWIG_files/wrapper/TopoDS.pyi +++ b/src/SWIG_files/wrapper/TopoDS.pyi @@ -10,7 +10,7 @@ from OCC.Core.TopLoc import * class TopoDS_AlertAttribute(Message_AttributeStream): - def __init__(self, theShape: TopoDS_Shape, theName: Optional[str] = TCollection_AsciiString::EmptyString()) -> None: ... + def __init__(self, theShape: TopoDS_Shape, theName: Optional[str] = ...) -> None: ... def DumpJson(self, depth: Optional[int]=-1) -> str: ... def GetShape(self) -> TopoDS_Shape: ... @staticmethod diff --git a/src/SWIG_files/wrapper/Transfer.pyi b/src/SWIG_files/wrapper/Transfer.pyi index dc94e5da5..4ae5dbd5b 100644 --- a/src/SWIG_files/wrapper/Transfer.pyi +++ b/src/SWIG_files/wrapper/Transfer.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -468,21 +468,21 @@ class Transfer_ProcessForFinder: ... # harray2 classes # hsequence classes -class Transfer_HSequenceOfBinder(NCollection_Sequence>, Standard_Transient): +class Transfer_HSequenceOfBinder(Transfer_SequenceOfBinder, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: Transfer_SequenceOfBinder) -> None: ... + def Sequence(self) -> Transfer_SequenceOfBinder: ... + def Append(self, theSequence: Transfer_SequenceOfBinder) -> None: ... -class Transfer_HSequenceOfFinder(NCollection_Sequence>, Standard_Transient): +class Transfer_HSequenceOfFinder(Transfer_SequenceOfFinder, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: Transfer_SequenceOfFinder) -> None: ... + def Sequence(self) -> Transfer_SequenceOfFinder: ... + def Append(self, theSequence: Transfer_SequenceOfFinder) -> None: ... diff --git a/src/SWIG_files/wrapper/TransferBRep.pyi b/src/SWIG_files/wrapper/TransferBRep.pyi index ef034cba2..32e1aa542 100644 --- a/src/SWIG_files/wrapper/TransferBRep.pyi +++ b/src/SWIG_files/wrapper/TransferBRep.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -178,12 +178,12 @@ class TransferBRep_ShapeBinder(TransferBRep_BinderOfShape): # harray2 classes # hsequence classes -class TransferBRep_HSequenceOfTransferResultInfo(NCollection_Sequence>, Standard_Transient): +class TransferBRep_HSequenceOfTransferResultInfo(TransferBRep_SequenceOfTransferResultInfo, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: TransferBRep_SequenceOfTransferResultInfo) -> None: ... + def Sequence(self) -> TransferBRep_SequenceOfTransferResultInfo: ... + def Append(self, theSequence: TransferBRep_SequenceOfTransferResultInfo) -> None: ... diff --git a/src/SWIG_files/wrapper/Units.pyi b/src/SWIG_files/wrapper/Units.pyi index 2278df225..27bcf6c11 100644 --- a/src/SWIG_files/wrapper/Units.pyi +++ b/src/SWIG_files/wrapper/Units.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * @@ -357,30 +357,30 @@ class Units_UnitsLexicon(Units_Lexicon): # harray2 classes # hsequence classes -class Units_QuantitiesSequence(NCollection_Sequence>, Standard_Transient): +class Units_QuantitiesSequence(Units_QtsSequence, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: Units_QtsSequence) -> None: ... + def Sequence(self) -> Units_QtsSequence: ... + def Append(self, theSequence: Units_QtsSequence) -> None: ... -class Units_TokensSequence(NCollection_Sequence>, Standard_Transient): +class Units_TokensSequence(Units_TksSequence, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: Units_TksSequence) -> None: ... + def Sequence(self) -> Units_TksSequence: ... + def Append(self, theSequence: Units_TksSequence) -> None: ... -class Units_UnitsSequence(NCollection_Sequence>, Standard_Transient): +class Units_UnitsSequence(Units_UtsSequence, Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, other: NCollection_Sequence>) -> None: ... - def Sequence(self) -> NCollection_Sequence>: ... - def Append(self, theSequence: NCollection_Sequence>) -> None: ... + def __init__(self, other: Units_UtsSequence) -> None: ... + def Sequence(self) -> Units_UtsSequence: ... + def Append(self, theSequence: Units_UtsSequence) -> None: ... diff --git a/src/SWIG_files/wrapper/VrmlData.pyi b/src/SWIG_files/wrapper/VrmlData.pyi index 86b42512b..8f747bbf1 100644 --- a/src/SWIG_files/wrapper/VrmlData.pyi +++ b/src/SWIG_files/wrapper/VrmlData.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/XCAFPrs.pyi b/src/SWIG_files/wrapper/XCAFPrs.pyi index cf21e7ba9..9ed2649fa 100644 --- a/src/SWIG_files/wrapper/XCAFPrs.pyi +++ b/src/SWIG_files/wrapper/XCAFPrs.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * diff --git a/src/SWIG_files/wrapper/gp.pyi b/src/SWIG_files/wrapper/gp.pyi index 81c4f9543..03d0cf878 100644 --- a/src/SWIG_files/wrapper/gp.pyi +++ b/src/SWIG_files/wrapper/gp.pyi @@ -1,5 +1,5 @@ from enum import IntEnum -from typing import overload, NewType, Optional, Tuple +from typing import Any, overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import *