├── .gitmodules ├── src ├── Display │ ├── __init__.py │ ├── py.typed │ ├── WebGl │ │ ├── __init__.py │ │ └── simple_server.pyi │ ├── icons │ │ ├── cursor-pan.png │ │ ├── cursor-rotate.png │ │ ├── cursor-magnify.png │ │ └── cursor-magnify-area.png │ ├── tkDisplay.pyi │ ├── backend.pyi │ └── SimpleGui.pyi ├── Extend │ ├── __init__.py │ └── py.typed ├── PkgBase │ └── py.typed ├── Wrapper │ └── __init__.py └── SWIG_files │ ├── wrapper │ ├── IVtk.pyi │ ├── IVtkOCC.pyi │ ├── IVtkTools.pyi │ ├── IVtkVTK.pyi │ ├── RWStepAP203.pyi │ ├── RWStepAP214.pyi │ ├── RWStepAP242.pyi │ ├── RWStepBasic.pyi │ ├── RWStepFEA.pyi │ ├── RWStepGeom.pyi │ ├── RWStepRepr.pyi │ ├── RWStepShape.pyi │ ├── StdFail.pyi │ ├── TopClass.pyi │ ├── DEBRepCascade.pyi │ ├── DEXCAFCascade.pyi │ ├── InterfaceGraphic.pyi │ ├── RWStepDimTol.pyi │ ├── RWStepElement.pyi │ ├── RWStepKinematics.pyi │ ├── RWStepVisual.pyi │ ├── TColQuantity.pyi │ ├── Plugin.pyi │ ├── IntStart.pyi │ ├── AppStd.pyi │ ├── AppStdL.pyi │ ├── XBRepMesh.pyi │ ├── XCAFApp.pyi │ ├── FSD.pyi │ ├── BRepProj.pyi │ ├── ShapeAlgo.pyi │ ├── IntImp.pyi │ ├── HLRAppli.pyi │ ├── TopCnx.pyi │ ├── Hermit.pyi │ ├── AppCont.pyi │ ├── StlAPI.pyi │ ├── ShapeProcessAPI.pyi │ ├── BRepBndLib.pyi │ ├── XCAFNoteObjects.pyi │ ├── BinMDocStd.pyi │ ├── XmlXCAFDrivers.pyi │ ├── XmlMDocStd.pyi │ └── BinXCAFDrivers.pyi │ ├── headers │ ├── IVtk_module.hxx │ ├── IVtkOCC_module.hxx │ ├── IVtkVTK_module.hxx │ ├── TopClass_module.hxx │ ├── IVtkTools_module.hxx │ ├── RWStepFEA_module.hxx │ ├── UTL_module.hxx │ ├── RWStepGeom_module.hxx │ ├── RWStepRepr_module.hxx │ ├── RWStepAP203_module.hxx │ ├── RWStepAP214_module.hxx │ ├── RWStepAP242_module.hxx │ ├── RWStepBasic_module.hxx │ ├── RWStepShape_module.hxx │ ├── ElCLib_module.hxx │ ├── ElSLib_module.hxx │ ├── Hermit_module.hxx │ ├── RWStepDimTol_module.hxx │ ├── RWStepElement_module.hxx │ ├── RWStepVisual_module.hxx │ ├── TColQuantity_module.hxx │ ├── AppStd_module.hxx │ ├── AppBlend_module.hxx │ ├── AppStdL_module.hxx │ ├── InterfaceGraphic_module.hxx │ ├── Precision_module.hxx │ ├── RWStepKinematics_module.hxx │ ├── XBRepMesh_module.hxx │ ├── XCAFApp_module.hxx │ ├── BRepBndLib_module.hxx │ ├── BRepProj_module.hxx │ ├── IntStart_module.hxx │ ├── StepToGeom_module.hxx │ ├── TopCnx_module.hxx │ ├── GeomProjLib_module.hxx │ ├── HLRAppli_module.hxx │ ├── StepAP209_module.hxx │ ├── UnitsAPI_module.hxx │ ├── XCAFNoteObjects_module.hxx │ ├── BinMDocStd_module.hxx │ ├── IntImp_module.hxx │ ├── ShapeProcessAPI_module.hxx │ ├── XCAFView_module.hxx │ ├── XmlMDocStd_module.hxx │ ├── ApproxInt_module.hxx │ ├── StlAPI_module.hxx │ ├── TopExp_module.hxx │ ├── BRepIntCurveSurface_module.hxx │ ├── Geom2dAdaptor_module.hxx │ ├── UnitsMethods_module.hxx │ ├── STEPEdit_module.hxx │ ├── Sweep_module.hxx │ ├── BSplSLib_module.hxx │ ├── AppCont_module.hxx │ ├── DEBRepCascade_module.hxx │ ├── DEXCAFCascade_module.hxx │ ├── IntCurvesFace_module.hxx │ ├── Adaptor2d_module.hxx │ ├── ShapeAlgo_module.hxx │ ├── IntImpParGen_module.hxx │ ├── RWStl_module.hxx │ ├── TopAbs_module.hxx │ ├── APIHeaderSection_module.hxx │ ├── BinMNaming_module.hxx │ ├── BndLib_module.hxx │ ├── Intrv_module.hxx │ ├── BiTgte_module.hxx │ ├── TopTrans_module.hxx │ ├── LProp3d_module.hxx │ ├── RWPly_module.hxx │ ├── VrmlAPI_module.hxx │ ├── XmlDrivers_module.hxx │ ├── IntAna2d_module.hxx │ ├── ShapeBuild_module.hxx │ ├── TopBas_module.hxx │ ├── Geom2dEvaluator_module.hxx │ ├── CSLib_module.hxx │ ├── PLib_module.hxx │ ├── XmlMNaming_module.hxx │ ├── BinXCAFDrivers_module.hxx │ ├── XmlXCAFDrivers_module.hxx │ ├── BinDrivers_module.hxx │ ├── Plugin_module.hxx │ ├── BRepLProp_module.hxx │ ├── BinMFunction_module.hxx │ ├── CPnts_module.hxx │ ├── GeomLProp_module.hxx │ ├── XmlMFunction_module.hxx │ ├── FSD_module.hxx │ ├── BRepFilletAPI_module.hxx │ ├── GeomTools_module.hxx │ ├── Hatch_module.hxx │ ├── LocalAnalysis_module.hxx │ ├── StdFail_module.hxx │ ├── ShapeConstruct_module.hxx │ ├── GccEnt_module.hxx │ ├── IntWalk_module.hxx │ ├── BRepAlgo_module.hxx │ ├── FilletSurf_module.hxx │ ├── GeomAbs_module.hxx │ ├── TCollection_module.hxx │ ├── GeomAdaptor_module.hxx │ ├── HeaderSection_module.hxx │ ├── Geom2dAPI_module.hxx │ ├── IGESCAFControl_module.hxx │ ├── BSplCLib_module.hxx │ ├── ChFi3d_module.hxx │ ├── SelectBasics_module.hxx │ ├── BRepMeshData_module.hxx │ ├── DE_module.hxx │ ├── LProp_module.hxx │ ├── ChFi2d_module.hxx │ ├── XmlLDrivers_module.hxx │ ├── GccInt_module.hxx │ ├── BRepAdaptor_module.hxx │ ├── STEPControl_module.hxx │ ├── TShort_module.hxx │ ├── Geom2dLProp_module.hxx │ ├── BinLDrivers_module.hxx │ ├── AdvApprox_module.hxx │ ├── GeomEvaluator_module.hxx │ ├── Media_module.hxx │ ├── ShapeProcess_module.hxx │ ├── BRepClass_module.hxx │ ├── IGESControl_module.hxx │ ├── RWHeaderSection_module.hxx │ ├── Adaptor3d_module.hxx │ ├── BinMDataXtd_module.hxx │ ├── XmlMDataXtd_module.hxx │ ├── TopLoc_module.hxx │ ├── StepAP242_module.hxx │ ├── BRepSweep_module.hxx │ ├── BRepTopAdaptor_module.hxx │ ├── XmlObjMgt_module.hxx │ ├── Draft_module.hxx │ ├── IntCurve_module.hxx │ ├── Resource_module.hxx │ ├── GProp_module.hxx │ ├── IntAna_module.hxx │ ├── HatchGen_module.hxx │ ├── BRepMAT2d_module.hxx │ ├── BinObjMgt_module.hxx │ ├── Bisector_module.hxx │ ├── BRepPrim_module.hxx │ ├── Law_module.hxx │ ├── Quantity_module.hxx │ ├── BRepAlgoAPI_module.hxx │ ├── XmlMDF_module.hxx │ └── BinTObjDrivers_module.hxx │ └── common │ ├── Operators.i │ └── StandardTemplateLibrary.i ├── bandit.yml ├── debian ├── source │ ├── format │ └── options ├── patches │ └── series ├── pythonocc-core-docs.docs ├── README.Debian ├── changelog ├── README.source ├── python3-pythonocc-core.install ├── salsa-ci.yml.ex ├── rules └── copyright ├── .github └── FUNDING.yml ├── test ├── test_io │ ├── Duck.glb │ ├── Duck0.bin │ ├── DuckCM.png │ ├── cube_binary.stl │ └── 2CylinderEngine.glb └── core_display_tkinter_unittest.py ├── ci └── conda │ ├── run_test.sh │ ├── run_test.bat │ ├── bld.bat │ ├── build.sh │ └── meta.yaml ├── AUTHORS └── .gitignore /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Display/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Display/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Extend/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Extend/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/PkgBase/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Wrapper/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bandit.yml: -------------------------------------------------------------------------------- 1 | skips: ['B101'] -------------------------------------------------------------------------------- /src/Display/WebGl/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | open_collective: pythonocc-core 2 | -------------------------------------------------------------------------------- /debian/source/options: -------------------------------------------------------------------------------- 1 | extend-diff-ignore = "^[^/]*[.]egg-info/" 2 | -------------------------------------------------------------------------------- /debian/patches/series: -------------------------------------------------------------------------------- 1 | FTBS-7.4.1.patch 2 | add-missing-stpfile.patch 3 | -------------------------------------------------------------------------------- /debian/pythonocc-core-docs.docs: -------------------------------------------------------------------------------- 1 | README.Debian 2 | README.source 3 | 4 | -------------------------------------------------------------------------------- /test/test_io/Duck.glb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpaviot/pythonocc-core/HEAD/test/test_io/Duck.glb -------------------------------------------------------------------------------- /test/test_io/Duck0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpaviot/pythonocc-core/HEAD/test/test_io/Duck0.bin -------------------------------------------------------------------------------- /test/test_io/DuckCM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpaviot/pythonocc-core/HEAD/test/test_io/DuckCM.png -------------------------------------------------------------------------------- /test/test_io/cube_binary.stl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpaviot/pythonocc-core/HEAD/test/test_io/cube_binary.stl -------------------------------------------------------------------------------- /src/Display/icons/cursor-pan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpaviot/pythonocc-core/HEAD/src/Display/icons/cursor-pan.png -------------------------------------------------------------------------------- /test/test_io/2CylinderEngine.glb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpaviot/pythonocc-core/HEAD/test/test_io/2CylinderEngine.glb -------------------------------------------------------------------------------- /src/Display/icons/cursor-rotate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpaviot/pythonocc-core/HEAD/src/Display/icons/cursor-rotate.png -------------------------------------------------------------------------------- /src/Display/icons/cursor-magnify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpaviot/pythonocc-core/HEAD/src/Display/icons/cursor-magnify.png -------------------------------------------------------------------------------- /src/Display/icons/cursor-magnify-area.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tpaviot/pythonocc-core/HEAD/src/Display/icons/cursor-magnify-area.png -------------------------------------------------------------------------------- /ci/conda/run_test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ "$(uname)" == "Linux" ]; then 3 | cd ../work/test 4 | pytest -sv 5 | mypy test_mypy_classic_occ_bottle.py 6 | fi 7 | -------------------------------------------------------------------------------- /debian/README.Debian: -------------------------------------------------------------------------------- 1 | pythonocc-core for Debian 2 | ------------------------ 3 | 4 | 5 | 6 | -- Christophe Trophime Mon, 14 Sep 2020 10:57:01 +0200 7 | -------------------------------------------------------------------------------- /debian/changelog: -------------------------------------------------------------------------------- 1 | pythonocc-core (7.4.0-1) unstable; urgency=medium 2 | 3 | * Initial release (Closes: #nnnn) 4 | 5 | -- Christophe Trophime Mon, 14 Sep 2020 10:57:01 +0200 6 | -------------------------------------------------------------------------------- /ci/conda/run_test.bat: -------------------------------------------------------------------------------- 1 | cd ..\work\test 2 | pytest -sv 3 | mypy test_mypy_classic_occ_bottle.py 4 | python core_display_tkinter_unittest.py 5 | python core_display_pyqt5_unittest.py 6 | python core_display_pyside6_unittest.py 7 | python core_display_wx_unittest.py 8 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/IVtk.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/IVtkOCC.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/IVtkTools.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/IVtkVTK.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/RWStepAP203.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/RWStepAP214.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/RWStepAP242.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/RWStepBasic.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/RWStepFEA.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/RWStepGeom.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/RWStepRepr.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/RWStepShape.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/StdFail.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/TopClass.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/DEBRepCascade.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/DEXCAFCascade.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/InterfaceGraphic.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/RWStepDimTol.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/RWStepElement.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/RWStepKinematics.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/RWStepVisual.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/TColQuantity.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # harray1 classes 8 | # harray2 classes 9 | # hsequence classes 10 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/Plugin.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | # classnotwrapped 8 | class Plugin: ... 9 | 10 | # harray1 classes 11 | # harray2 classes 12 | # hsequence classes 13 | -------------------------------------------------------------------------------- /src/Display/WebGl/simple_server.pyi: -------------------------------------------------------------------------------- 1 | import socket 2 | 3 | def get_available_port(port: int) -> int: ... 4 | def get_interface_ip(family: socket.AddressFamily) -> str: ... 5 | def start_server( 6 | addr: str = "127.0.0.1", 7 | port: int = 8080, 8 | x3d_path: str = ".", 9 | open_webbrowser: bool = False, 10 | ) -> None: ... 11 | -------------------------------------------------------------------------------- /debian/README.source: -------------------------------------------------------------------------------- 1 | pythonocc-core for Debian 2 | ------------------------ 3 | 4 | 6 | 7 | 8 | 9 | -- Christophe Trophime Mon, 14 Sep 2020 10:57:01 +0200 10 | 11 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/IntStart.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.gp import * 7 | from OCC.Core.TopAbs import * 8 | 9 | class IntStart_SITopolTool(Standard_Transient): 10 | def Classify(self, P: gp_Pnt2d, Tol: float) -> TopAbs_State: ... 11 | 12 | # harray1 classes 13 | # harray2 classes 14 | # hsequence classes 15 | -------------------------------------------------------------------------------- /src/Display/tkDisplay.pyi: -------------------------------------------------------------------------------- 1 | import tkinter as tk 2 | from typing import Any 3 | 4 | class tkViewer3d(tk.Frame): 5 | def __init__(self, parent: Any, default: str = "") -> None: ... 6 | def LeftDown(self, event: Any) -> None: ... 7 | def Rotate(self, event: Any) -> None: ... 8 | def Pan(self, event: Any) -> None: ... 9 | def Zoom(self, event: Any) -> None: ... 10 | def Resize(self, event: Any) -> None: ... 11 | def Map(self, event: Any) -> None: ... 12 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/AppStd.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.TDocStd import * 7 | 8 | class AppStd_Application(TDocStd_Application): 9 | def DumpJson(self, depth: Optional[int] = -1) -> str: ... 10 | def ResourcesName(self) -> str: ... 11 | 12 | # harray1 classes 13 | # harray2 classes 14 | # hsequence classes 15 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/AppStdL.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.TDocStd import * 7 | 8 | class AppStdL_Application(TDocStd_Application): 9 | def DumpJson(self, depth: Optional[int] = -1) -> str: ... 10 | def ResourcesName(self) -> str: ... 11 | 12 | # harray1 classes 13 | # harray2 classes 14 | # hsequence classes 15 | -------------------------------------------------------------------------------- /src/Display/backend.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any, Optional, Tuple 2 | 3 | def qt6_force_xcb_on_linux() -> None: ... 4 | def load_pyqt5() -> bool: ... 5 | def load_pyside2() -> bool: ... 6 | def load_pyqt6() -> bool: ... 7 | def load_pyside6() -> bool: ... 8 | def load_wx() -> bool: ... 9 | def loaded_backend() -> bool: ... 10 | def get_loaded_backend() -> str: ... 11 | def load_any_qt_backend() -> bool: ... 12 | def load_backend(backend_str: Optional[str] = None) -> str: ... 13 | def get_qt_modules() -> Tuple[Any, Any, Any, Any]: ... 14 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | pythonOCC is developed and maintained by Thomas Paviot (tpaviot@gmail.com). 2 | 3 | The pythonocc-core package contains contributions from (alphabetical sort): 4 | 5 | Adam Urbańczyk 6 | François Granade 7 | Hinko Kočevar 8 | Jelle Feringa 9 | Jeremy Wright 10 | Johannes Verherstraeten 11 | Kristoffer Andersen 12 | Martin Siggel 13 | Matthis Thorade 14 | Tanneguy de Villemagne 15 | Thomas Severin 16 | Thomas Krijnen 17 | Trevor Laughlin 18 | nxsofsys 19 | Rafael Senties Martinelli 20 | Simon Klein 21 | 22 | Please report any missing name 23 | -------------------------------------------------------------------------------- /debian/python3-pythonocc-core.install: -------------------------------------------------------------------------------- 1 | usr/lib/python*/dist-packages/OCC/LICENSE 2 | usr/lib/python*/dist-packages/OCC/AUTHORS 3 | usr/lib/python*/dist-packages/OCC/*.py 4 | 5 | usr/lib/python*/dist-packages/OCC/Core/_*.so 6 | usr/lib/python*/dist-packages/OCC/Core/*.py 7 | 8 | usr/lib/python*/dist-packages/OCC/Display/*.py 9 | usr/lib/python*/dist-packages/OCC/Display/WebGl/*.py 10 | usr/lib/python*/dist-packages/OCC/Display/icons/*.png 11 | 12 | usr/lib/python*/dist-packages/OCC/Extend/*.py 13 | 14 | usr/lib/python*/dist-packages/OCC/Wrapper/*.py 15 | -------------------------------------------------------------------------------- /src/Display/SimpleGui.pyi: -------------------------------------------------------------------------------- 1 | from typing import Callable, List, Optional, Tuple 2 | 3 | from OCC.Display.OCCViewer import Viewer3d 4 | 5 | def check_callable(_callable: Callable) -> None: ... 6 | def init_display( 7 | backend_str: Optional[str] = None, 8 | size: Optional[Tuple[int, int]] = (1024, 768), 9 | display_triedron: Optional[bool] = True, 10 | background_gradient_color1: Optional[List[int]] = [206, 215, 222], 11 | background_gradient_color2: Optional[List[int]] = [128, 128, 128], 12 | ) -> Tuple[Viewer3d, Callable, Callable, Callable]: ... 13 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/XBRepMesh.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.TopoDS import * 7 | from OCC.Core.BRepMesh import * 8 | 9 | class xbrepmesh: 10 | @staticmethod 11 | def Discret( 12 | theShape: TopoDS_Shape, 13 | theDeflection: float, 14 | theAngle: float, 15 | theAlgo: BRepMesh_DiscretRoot, 16 | ) -> int: ... 17 | 18 | # harray1 classes 19 | # harray2 classes 20 | # hsequence classes 21 | -------------------------------------------------------------------------------- /debian/salsa-ci.yml.ex: -------------------------------------------------------------------------------- 1 | # For more information on what jobs are run see: 2 | # https://salsa.debian.org/salsa-ci-team/pipeline 3 | # 4 | # To enable the jobs, go to your repository (at salsa.debian.org) 5 | # and click over Settings > CI/CD > Expand (in General pipelines). 6 | # In "Custom CI config path" write debian/salsa-ci.yml and click 7 | # in "Save Changes". The CI tests will run after the next commit. 8 | --- 9 | include: 10 | - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml 11 | - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml 12 | -------------------------------------------------------------------------------- /ci/conda/bld.bat: -------------------------------------------------------------------------------- 1 | mkdir build 2 | cd build 3 | 4 | REM Configure step 5 | cmake -G "Ninja" ^ 6 | -DCMAKE_BUILD_TYPE=Release ^ 7 | -DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" ^ 8 | -DCMAKE_LIBRARY_PATH="%LIBRARY_LIB%" ^ 9 | -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^ 10 | -DCMAKE_SYSTEM_PREFIX_PATH="%LIBRARY_PREFIX%" ^ 11 | -DPython3_FIND_STRATEGY=LOCATION ^ 12 | -DPython3_FIND_REGISTRY=NEVER ^ 13 | -DSWIG_HIDE_WARNINGS=ON ^ 14 | -DPYTHONOCC_MESHDS_NUMPY=ON ^ 15 | .. 16 | if errorlevel 1 exit 1 17 | 18 | REM Build step 19 | ninja 20 | if errorlevel 1 exit 1 21 | 22 | REM Install step 23 | ninja install 24 | if errorlevel 1 exit 1 25 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/XCAFApp.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.TDocStd import * 7 | from OCC.Core.CDM import * 8 | 9 | class XCAFApp_Application(TDocStd_Application): 10 | def DumpJson(self, depth: Optional[int] = -1) -> str: ... 11 | @staticmethod 12 | def GetApplication() -> XCAFApp_Application: ... 13 | def InitDocument(self, aDoc: CDM_Document) -> None: ... 14 | def ResourcesName(self) -> str: ... 15 | 16 | # harray1 classes 17 | # harray2 classes 18 | # hsequence classes 19 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/FSD.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | FSD_BStream = NewType("FSD_BStream", FILE) 8 | # the following typedef cannot be wrapped as is 9 | FSD_FStream = NewType("FSD_FStream", Any) 10 | 11 | # classnotwrapped 12 | class FSD_Base64: ... 13 | 14 | # classnotwrapped 15 | class FSD_BinaryFile: ... 16 | 17 | # classnotwrapped 18 | class FSD_CmpFile: ... 19 | 20 | # classnotwrapped 21 | class FSD_File: ... 22 | 23 | # classnotwrapped 24 | class FSD_FileHeader: ... 25 | 26 | # harray1 classes 27 | # harray2 classes 28 | # hsequence classes 29 | -------------------------------------------------------------------------------- /ci/conda/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # make an in source build do to some problems with install 3 | 4 | # Configure step 5 | cmake -G Ninja \ 6 | -DCMAKE_BUILD_TYPE=Release \ 7 | -DCMAKE_PREFIX_PATH=$PREFIX \ 8 | -DCMAKE_LIBRARY_PATH:FILEPATH="$PREFIX/lib" \ 9 | -DCMAKE_INSTALL_PREFIX:FILEPATH=$PREFIX \ 10 | -DCMAKE_SYSTEM_PREFIX_PATH=$PREFIX \ 11 | ${CMAKE_PLATFORM_FLAGS[@]} \ 12 | -DPython3_FIND_STRATEGY=LOCATION \ 13 | -DPython3_FIND_FRAMEWORK=NEVER \ 14 | -DSWIG_HIDE_WARNINGS=ON \ 15 | -DPYTHONOCC_MESHDS_NUMPY=ON 16 | 17 | # Build step 18 | ninja 19 | 20 | # Install step 21 | ninja install 22 | 23 | # fix rpaths 24 | #if [ $(uname) == Darwin ]; then 25 | # for lib in $(ls $SP_DIR/OCC/_*.so); do 26 | # install_name_tool -rpath $PREFIX/lib @loader_path/../../../ $lib 27 | # done 28 | #fi 29 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/BRepProj.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.TopoDS import * 7 | from OCC.Core.gp import * 8 | 9 | class BRepProj_Projection: 10 | @overload 11 | def __init__(self, Wire: TopoDS_Shape, Shape: TopoDS_Shape, D: gp_Dir) -> None: ... 12 | @overload 13 | def __init__(self, Wire: TopoDS_Shape, Shape: TopoDS_Shape, P: gp_Pnt) -> None: ... 14 | def Current(self) -> TopoDS_Wire: ... 15 | def Init(self) -> None: ... 16 | def IsDone(self) -> bool: ... 17 | def More(self) -> bool: ... 18 | def Next(self) -> None: ... 19 | def Shape(self) -> TopoDS_Compound: ... 20 | 21 | # harray1 classes 22 | # harray2 classes 23 | # hsequence classes 24 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/ShapeAlgo.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.ShapeFix import * 7 | 8 | class shapealgo: 9 | @staticmethod 10 | def AlgoContainer() -> ShapeAlgo_AlgoContainer: ... 11 | @staticmethod 12 | def Init() -> None: ... 13 | @staticmethod 14 | def SetAlgoContainer(aContainer: ShapeAlgo_AlgoContainer) -> None: ... 15 | 16 | class ShapeAlgo_ToolContainer(Standard_Transient): 17 | def __init__(self) -> None: ... 18 | def EdgeProjAux(self) -> ShapeFix_EdgeProjAux: ... 19 | def FixShape(self) -> ShapeFix_Shape: ... 20 | 21 | # classnotwrapped 22 | class ShapeAlgo_AlgoContainer: ... 23 | 24 | # harray1 classes 25 | # harray2 classes 26 | # hsequence classes 27 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/IntImp.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | 7 | class IntImp_ConstIsoparametric(IntEnum): 8 | IntImp_UIsoparametricOnCaro1: int = ... 9 | IntImp_VIsoparametricOnCaro1: int = ... 10 | IntImp_UIsoparametricOnCaro2: int = ... 11 | IntImp_VIsoparametricOnCaro2: int = ... 12 | 13 | IntImp_UIsoparametricOnCaro1 = IntImp_ConstIsoparametric.IntImp_UIsoparametricOnCaro1 14 | IntImp_VIsoparametricOnCaro1 = IntImp_ConstIsoparametric.IntImp_VIsoparametricOnCaro1 15 | IntImp_UIsoparametricOnCaro2 = IntImp_ConstIsoparametric.IntImp_UIsoparametricOnCaro2 16 | IntImp_VIsoparametricOnCaro2 = IntImp_ConstIsoparametric.IntImp_VIsoparametricOnCaro2 17 | 18 | # harray1 classes 19 | # harray2 classes 20 | # hsequence classes 21 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/IVtk_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef IVTK_HXX 19 | #define IVTK_HXX 20 | 21 | 22 | 23 | #endif // IVTK_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/IVtkOCC_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef IVTKOCC_HXX 19 | #define IVTKOCC_HXX 20 | 21 | 22 | 23 | #endif // IVTKOCC_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/IVtkVTK_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef IVTKVTK_HXX 19 | #define IVTKVTK_HXX 20 | 21 | 22 | 23 | #endif // IVTKVTK_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/TopClass_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef TOPCLASS_HXX 19 | #define TOPCLASS_HXX 20 | 21 | 22 | 23 | #endif // TOPCLASS_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/common/Operators.i: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 2008-2014 Thomas Paviot (tpaviot@gmail.com) 4 | 5 | This file is part of pythonOCC. 6 | 7 | pythonOCC is free software: you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation, either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | pythonOCC is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with pythonOCC. If not, see . 19 | 20 | */ 21 | 22 | /* 23 | Renaming operator = that can't be wrapped in Python 24 | */ 25 | %rename(Set) *::operator=; 26 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/IVtkTools_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef IVTKTOOLS_HXX 19 | #define IVTKTOOLS_HXX 20 | 21 | 22 | 23 | #endif // IVTKTOOLS_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/RWStepFEA_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RWSTEPFEA_HXX 19 | #define RWSTEPFEA_HXX 20 | 21 | 22 | 23 | #endif // RWSTEPFEA_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/UTL_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef UTL_HXX 19 | #define UTL_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // UTL_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/RWStepGeom_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RWSTEPGEOM_HXX 19 | #define RWSTEPGEOM_HXX 20 | 21 | 22 | 23 | #endif // RWSTEPGEOM_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/RWStepRepr_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RWSTEPREPR_HXX 19 | #define RWSTEPREPR_HXX 20 | 21 | 22 | 23 | #endif // RWSTEPREPR_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/RWStepAP203_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RWSTEPAP203_HXX 19 | #define RWSTEPAP203_HXX 20 | 21 | 22 | 23 | #endif // RWSTEPAP203_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/RWStepAP214_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RWSTEPAP214_HXX 19 | #define RWSTEPAP214_HXX 20 | 21 | 22 | 23 | #endif // RWSTEPAP214_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/RWStepAP242_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RWSTEPAP242_HXX 19 | #define RWSTEPAP242_HXX 20 | 21 | 22 | 23 | #endif // RWSTEPAP242_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/RWStepBasic_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RWSTEPBASIC_HXX 19 | #define RWSTEPBASIC_HXX 20 | 21 | 22 | 23 | #endif // RWSTEPBASIC_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/RWStepShape_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RWSTEPSHAPE_HXX 19 | #define RWSTEPSHAPE_HXX 20 | 21 | 22 | 23 | #endif // RWSTEPSHAPE_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/ElCLib_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef ELCLIB_HXX 19 | #define ELCLIB_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // ELCLIB_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/ElSLib_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef ELSLIB_HXX 19 | #define ELSLIB_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // ELSLIB_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Hermit_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef HERMIT_HXX 19 | #define HERMIT_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // HERMIT_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/RWStepDimTol_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RWSTEPDIMTOL_HXX 19 | #define RWSTEPDIMTOL_HXX 20 | 21 | 22 | 23 | #endif // RWSTEPDIMTOL_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/RWStepElement_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RWSTEPELEMENT_HXX 19 | #define RWSTEPELEMENT_HXX 20 | 21 | 22 | 23 | #endif // RWSTEPELEMENT_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/RWStepVisual_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RWSTEPVISUAL_HXX 19 | #define RWSTEPVISUAL_HXX 20 | 21 | 22 | 23 | #endif // RWSTEPVISUAL_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/TColQuantity_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef TCOLQUANTITY_HXX 19 | #define TCOLQUANTITY_HXX 20 | 21 | 22 | 23 | #endif // TCOLQUANTITY_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/AppStd_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef APPSTD_HXX 19 | #define APPSTD_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // APPSTD_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/AppBlend_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef APPBLEND_HXX 19 | #define APPBLEND_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // APPBLEND_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/AppStdL_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef APPSTDL_HXX 19 | #define APPSTDL_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // APPSTDL_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/InterfaceGraphic_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef INTERFACEGRAPHIC_HXX 19 | #define INTERFACEGRAPHIC_HXX 20 | 21 | 22 | 23 | #endif // INTERFACEGRAPHIC_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Precision_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef PRECISION_HXX 19 | #define PRECISION_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // PRECISION_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/RWStepKinematics_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RWSTEPKINEMATICS_HXX 19 | #define RWSTEPKINEMATICS_HXX 20 | 21 | 22 | 23 | #endif // RWSTEPKINEMATICS_HXX 24 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/XBRepMesh_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef XBREPMESH_HXX 19 | #define XBREPMESH_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // XBREPMESH_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/XCAFApp_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef XCAFAPP_HXX 19 | #define XCAFAPP_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // XCAFAPP_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BRepBndLib_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BREPBNDLIB_HXX 19 | #define BREPBNDLIB_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // BREPBNDLIB_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BRepProj_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BREPPROJ_HXX 19 | #define BREPPROJ_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // BREPPROJ_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/IntStart_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef INTSTART_HXX 19 | #define INTSTART_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // INTSTART_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/StepToGeom_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef STEPTOGEOM_HXX 19 | #define STEPTOGEOM_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // STEPTOGEOM_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/TopCnx_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef TOPCNX_HXX 19 | #define TOPCNX_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // TOPCNX_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/HLRAppli.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.TopoDS import * 7 | from OCC.Core.HLRBRep import * 8 | 9 | class HLRAppli_ReflectLines: 10 | def __init__(self, aShape: TopoDS_Shape) -> None: ... 11 | def GetCompoundOf3dEdges( 12 | self, type: HLRBRep_TypeOfResultingEdge, visible: bool, In3d: bool 13 | ) -> TopoDS_Shape: ... 14 | def GetResult(self) -> TopoDS_Shape: ... 15 | def Perform(self) -> None: ... 16 | def SetAxes( 17 | self, 18 | Nx: float, 19 | Ny: float, 20 | Nz: float, 21 | XAt: float, 22 | YAt: float, 23 | ZAt: float, 24 | XUp: float, 25 | YUp: float, 26 | ZUp: float, 27 | ) -> None: ... 28 | 29 | # harray1 classes 30 | # harray2 classes 31 | # hsequence classes 32 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/GeomProjLib_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef GEOMPROJLIB_HXX 19 | #define GEOMPROJLIB_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // GEOMPROJLIB_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/HLRAppli_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef HLRAPPLI_HXX 19 | #define HLRAPPLI_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // HLRAPPLI_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/StepAP209_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef STEPAP209_HXX 19 | #define STEPAP209_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // STEPAP209_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/UnitsAPI_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef UNITSAPI_HXX 19 | #define UNITSAPI_HXX 20 | 21 | 22 | #include 23 | #include 24 | 25 | #endif // UNITSAPI_HXX 26 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/XCAFNoteObjects_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef XCAFNOTEOBJECTS_HXX 19 | #define XCAFNOTEOBJECTS_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // XCAFNOTEOBJECTS_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/TopCnx.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.gp import * 7 | from OCC.Core.TopAbs import * 8 | 9 | class TopCnx_EdgeFaceTransition: 10 | def __init__(self) -> None: ... 11 | def AddInterference( 12 | self, 13 | Tole: float, 14 | Tang: gp_Dir, 15 | Norm: gp_Dir, 16 | Curv: float, 17 | Or: TopAbs_Orientation, 18 | Tr: TopAbs_Orientation, 19 | BTr: TopAbs_Orientation, 20 | ) -> None: ... 21 | def BoundaryTransition(self) -> TopAbs_Orientation: ... 22 | @overload 23 | def Reset(self, Tgt: gp_Dir, Norm: gp_Dir, Curv: float) -> None: ... 24 | @overload 25 | def Reset(self, Tgt: gp_Dir) -> None: ... 26 | def Transition(self) -> TopAbs_Orientation: ... 27 | 28 | # harray1 classes 29 | # harray2 classes 30 | # hsequence classes 31 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BinMDocStd_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BINMDOCSTD_HXX 19 | #define BINMDOCSTD_HXX 20 | 21 | 22 | #include 23 | #include 24 | 25 | #endif // BINMDOCSTD_HXX 26 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/IntImp_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef INTIMP_HXX 19 | #define INTIMP_HXX 20 | 21 | 22 | #include 23 | #include 24 | 25 | #endif // INTIMP_HXX 26 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/ShapeProcessAPI_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef SHAPEPROCESSAPI_HXX 19 | #define SHAPEPROCESSAPI_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // SHAPEPROCESSAPI_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/XCAFView_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef XCAFVIEW_HXX 19 | #define XCAFVIEW_HXX 20 | 21 | 22 | #include 23 | #include 24 | 25 | #endif // XCAFVIEW_HXX 26 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/XmlMDocStd_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef XMLMDOCSTD_HXX 19 | #define XMLMDOCSTD_HXX 20 | 21 | 22 | #include 23 | #include 24 | 25 | #endif // XMLMDOCSTD_HXX 26 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/ApproxInt_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef APPROXINT_HXX 19 | #define APPROXINT_HXX 20 | 21 | 22 | #include 23 | #include 24 | 25 | #endif // APPROXINT_HXX 26 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/StlAPI_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef STLAPI_HXX 19 | #define STLAPI_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // STLAPI_HXX 27 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/TopExp_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef TOPEXP_HXX 19 | #define TOPEXP_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // TOPEXP_HXX 27 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | 5 | # C extensions 6 | *.so 7 | 8 | # Distribution / packaging 9 | .Python 10 | env/ 11 | bin/ 12 | build/ 13 | cmake-build/ 14 | develop-eggs/ 15 | dist/ 16 | eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | *.egg-info/ 23 | .installed.cfg 24 | *.egg 25 | 26 | # Installer logs 27 | pip-log.txt 28 | pip-delete-this-directory.txt 29 | 30 | # Unit test / coverage reports 31 | htmlcov/ 32 | .tox/ 33 | .coverage 34 | .cache 35 | nosetests.xml 36 | coverage.xml 37 | 38 | # Translations 39 | *.mo 40 | 41 | # Mr Developer and other IDE stuff 42 | .mr.developer.cfg 43 | .project 44 | .pydevproject 45 | .idea/ 46 | .vs/ 47 | workspace.xml 48 | 49 | # Rope 50 | .ropeproject 51 | 52 | # Django stuff: 53 | *.log 54 | *.pot 55 | 56 | # Sphinx documentation 57 | _build/ 58 | 59 | # OS generated files 60 | .DS_Store 61 | .DS_Store? 62 | ._* 63 | .Spotlight-V100 64 | .Trashes 65 | ehthumbs.db 66 | Thumbs.db 67 | -------------------------------------------------------------------------------- /debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | # See debhelper(7) (uncomment to enable) 3 | # output every command that modifies files on the build system. 4 | #export DH_VERBOSE = 1 5 | 6 | export PYBUILD_NAME=pythonocc-core 7 | 8 | %: 9 | dh $@ --with python3 --buildsystem=cmake 10 | 11 | 12 | # If you need to rebuild the Sphinx documentation 13 | # Add sphinxdoc to the dh --with line 14 | # 15 | # And uncomment the following lines 16 | #override_dh_auto_build: export http_proxy=127.0.0.1:9 17 | #override_dh_auto_build: export https_proxy=127.0.0.1:9 18 | #override_dh_auto_build: 19 | # dh_auto_build 20 | # PYTHONPATH=. python3 -m sphinx -N -bhtml \ 21 | # docs/ build/html # HTML generator 22 | # PYTHONPATH=. python3 -m sphinx -N -bman \ 23 | # docs/ build/man # Manpage generator 24 | 25 | # test segfaut in pdebuild but run smoothly when launch from shell?? 26 | # override_dh_auto_test: 27 | # dh_auto_install 28 | # cd test && PYTHONPATH=../debian/tmp/usr/lib/python3/dist-packages python3 run_tests.py 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BRepIntCurveSurface_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BREPINTCURVESURFACE_HXX 19 | #define BREPINTCURVESURFACE_HXX 20 | 21 | 22 | #include 23 | 24 | #endif // BREPINTCURVESURFACE_HXX 25 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Geom2dAdaptor_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef GEOM2DADAPTOR_HXX 19 | #define GEOM2DADAPTOR_HXX 20 | 21 | 22 | #include 23 | #include 24 | 25 | #endif // GEOM2DADAPTOR_HXX 26 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/UnitsMethods_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef UNITSMETHODS_HXX 19 | #define UNITSMETHODS_HXX 20 | 21 | 22 | #include 23 | #include 24 | 25 | #endif // UNITSMETHODS_HXX 26 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/STEPEdit_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef STEPEDIT_HXX 19 | #define STEPEDIT_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // STEPEDIT_HXX 27 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Sweep_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef SWEEP_HXX 19 | #define SWEEP_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // SWEEP_HXX 27 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BSplSLib_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BSPLSLIB_HXX 19 | #define BSPLSLIB_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // BSPLSLIB_HXX 27 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/AppCont_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef APPCONT_HXX 19 | #define APPCONT_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // APPCONT_HXX 27 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/DEBRepCascade_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef DEBREPCASCADE_HXX 19 | #define DEBREPCASCADE_HXX 20 | 21 | 22 | #include 23 | #include 24 | 25 | #endif // DEBREPCASCADE_HXX 26 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/DEXCAFCascade_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef DEXCAFCASCADE_HXX 19 | #define DEXCAFCASCADE_HXX 20 | 21 | 22 | #include 23 | #include 24 | 25 | #endif // DEXCAFCASCADE_HXX 26 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/IntCurvesFace_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef INTCURVESFACE_HXX 19 | #define INTCURVESFACE_HXX 20 | 21 | 22 | #include 23 | #include 24 | 25 | #endif // INTCURVESFACE_HXX 26 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Adaptor2d_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef ADAPTOR2D_HXX 19 | #define ADAPTOR2D_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // ADAPTOR2D_HXX 27 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/ShapeAlgo_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef SHAPEALGO_HXX 19 | #define SHAPEALGO_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // SHAPEALGO_HXX 27 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/IntImpParGen_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef INTIMPPARGEN_HXX 19 | #define INTIMPPARGEN_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // INTIMPPARGEN_HXX 27 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/RWStl_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RWSTL_HXX 19 | #define RWSTL_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // RWSTL_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/TopAbs_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef TOPABS_HXX 19 | #define TOPABS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // TOPABS_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/APIHeaderSection_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef APIHEADERSECTION_HXX 19 | #define APIHEADERSECTION_HXX 20 | 21 | 22 | #include 23 | #include 24 | 25 | #endif // APIHEADERSECTION_HXX 26 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BinMNaming_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BINMNAMING_HXX 19 | #define BINMNAMING_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // BINMNAMING_HXX 27 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BndLib_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BNDLIB_HXX 19 | #define BNDLIB_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // BNDLIB_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Intrv_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef INTRV_HXX 19 | #define INTRV_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // INTRV_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BiTgte_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BITGTE_HXX 19 | #define BITGTE_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // BITGTE_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/TopTrans_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef TOPTRANS_HXX 19 | #define TOPTRANS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // TOPTRANS_HXX 27 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/LProp3d_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef LPROP3D_HXX 19 | #define LPROP3D_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // LPROP3D_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/RWPly_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RWPLY_HXX 19 | #define RWPLY_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // RWPLY_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/VrmlAPI_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef VRMLAPI_HXX 19 | #define VRMLAPI_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // VRMLAPI_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/XmlDrivers_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef XMLDRIVERS_HXX 19 | #define XMLDRIVERS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // XMLDRIVERS_HXX 27 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/Hermit.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.Geom import * 7 | from OCC.Core.Geom2d import * 8 | 9 | class hermit: 10 | @overload 11 | @staticmethod 12 | def Solution( 13 | BS: Geom_BSplineCurve, 14 | TolPoles: Optional[float] = 0.000001, 15 | TolKnots: Optional[float] = 0.000001, 16 | ) -> Geom2d_BSplineCurve: ... 17 | @overload 18 | @staticmethod 19 | def Solution( 20 | BS: Geom2d_BSplineCurve, 21 | TolPoles: Optional[float] = 0.000001, 22 | TolKnots: Optional[float] = 0.000001, 23 | ) -> Geom2d_BSplineCurve: ... 24 | @staticmethod 25 | def Solutionbis( 26 | BS: Geom_BSplineCurve, 27 | TolPoles: Optional[float] = 0.000001, 28 | TolKnots: Optional[float] = 0.000001, 29 | ) -> Tuple[float, float]: ... 30 | 31 | # harray1 classes 32 | # harray2 classes 33 | # hsequence classes 34 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/IntAna2d_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef INTANA2D_HXX 19 | #define INTANA2D_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // INTANA2D_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/ShapeBuild_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef SHAPEBUILD_HXX 19 | #define SHAPEBUILD_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // SHAPEBUILD_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/TopBas_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef TOPBAS_HXX 19 | #define TOPBAS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // TOPBAS_HXX 27 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Geom2dEvaluator_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef GEOM2DEVALUATOR_HXX 19 | #define GEOM2DEVALUATOR_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // GEOM2DEVALUATOR_HXX 27 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/AppCont.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.AppParCurves import * 7 | 8 | class AppCont_Function: 9 | def FirstParameter(self) -> float: ... 10 | def GetNbOf2dPoints(self) -> int: ... 11 | def GetNbOf3dPoints(self) -> int: ... 12 | def GetNumberOfPoints(self) -> Tuple[int, int]: ... 13 | def LastParameter(self) -> float: ... 14 | 15 | class AppCont_LeastSquare: 16 | def __init__( 17 | self, 18 | SSP: AppCont_Function, 19 | U0: float, 20 | U1: float, 21 | FirstCons: AppParCurves_Constraint, 22 | LastCons: AppParCurves_Constraint, 23 | Deg: int, 24 | NbPoints: int, 25 | ) -> None: ... 26 | def Error(self) -> Tuple[float, float, float]: ... 27 | def IsDone(self) -> bool: ... 28 | def Value(self) -> AppParCurves_MultiCurve: ... 29 | 30 | # harray1 classes 31 | # harray2 classes 32 | # hsequence classes 33 | -------------------------------------------------------------------------------- /src/SWIG_files/common/StandardTemplateLibrary.i: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 2010-2014 Thomas Paviot (tpaviot@gmail.com) 4 | 5 | This file is part of pythonOCC. 6 | 7 | pythonOCC is free software: you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation, either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | pythonOCC is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with pythonOCC. If not, see . 19 | 20 | */ 21 | 22 | %include 23 | 24 | // Define IntVector and DoubleVector to handle std::vector and std::vector 25 | 26 | namespace std { 27 | %template(IntVector) vector; 28 | %template(DoubleVector) vector; 29 | } 30 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/CSLib_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef CSLIB_HXX 19 | #define CSLIB_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // CSLIB_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/PLib_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef PLIB_HXX 19 | #define PLIB_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // PLIB_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/XmlMNaming_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef XMLMNAMING_HXX 19 | #define XMLMNAMING_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // XMLMNAMING_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BinXCAFDrivers_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BINXCAFDRIVERS_HXX 19 | #define BINXCAFDRIVERS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // BINXCAFDRIVERS_HXX 27 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/XmlXCAFDrivers_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef XMLXCAFDRIVERS_HXX 19 | #define XMLXCAFDRIVERS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #endif // XMLXCAFDRIVERS_HXX 27 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BinDrivers_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BINDRIVERS_HXX 19 | #define BINDRIVERS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // BINDRIVERS_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Plugin_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef PLUGIN_HXX 19 | #define PLUGIN_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // PLUGIN_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/StlAPI.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.TopoDS import * 7 | from OCC.Core.Message import * 8 | 9 | class stlapi: 10 | @staticmethod 11 | def Read(theShape: TopoDS_Shape, aFile: str) -> bool: ... 12 | @staticmethod 13 | def Write( 14 | theShape: TopoDS_Shape, theFile: str, theAsciiMode: Optional[bool] = True 15 | ) -> bool: ... 16 | 17 | class StlAPI_Reader: 18 | def Read(self, theShape: TopoDS_Shape, theFileName: str) -> bool: ... 19 | 20 | class StlAPI_Writer: 21 | def __init__(self) -> None: ... 22 | def GetASCIIMode(self) -> bool: ... 23 | def SetASCIIMode(self, value: bool) -> None: ... 24 | def Write( 25 | self, 26 | theShape: TopoDS_Shape, 27 | theFileName: str, 28 | theProgress: Optional[Message_ProgressRange] = Message_ProgressRange(), 29 | ) -> bool: ... 30 | 31 | # harray1 classes 32 | # harray2 classes 33 | # hsequence classes 34 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BRepLProp_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BREPLPROP_HXX 19 | #define BREPLPROP_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // BREPLPROP_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BinMFunction_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BINMFUNCTION_HXX 19 | #define BINMFUNCTION_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // BINMFUNCTION_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/CPnts_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef CPNTS_HXX 19 | #define CPNTS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // CPNTS_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/GeomLProp_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef GEOMLPROP_HXX 19 | #define GEOMLPROP_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // GEOMLPROP_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/XmlMFunction_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef XMLMFUNCTION_HXX 19 | #define XMLMFUNCTION_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // XMLMFUNCTION_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/ShapeProcessAPI.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.ShapeProcess import * 7 | from OCC.Core.TopTools import * 8 | from OCC.Core.TopoDS import * 9 | from OCC.Core.TopAbs import * 10 | from OCC.Core.Message import * 11 | 12 | class ShapeProcessAPI_ApplySequence: 13 | def __init__(self, rscName: str, seqName: Optional[str] = "") -> None: ... 14 | def ClearMap(self) -> None: ... 15 | def Context(self) -> ShapeProcess_ShapeContext: ... 16 | def Map(self) -> TopTools_DataMapOfShapeShape: ... 17 | def PrepareShape( 18 | self, 19 | shape: TopoDS_Shape, 20 | fillmap: Optional[bool] = False, 21 | until: Optional[TopAbs_ShapeEnum] = TopAbs_SHAPE, 22 | theProgress: Optional[Message_ProgressRange] = Message_ProgressRange(), 23 | ) -> TopoDS_Shape: ... 24 | def PrintPreparationResult(self) -> None: ... 25 | 26 | # harray1 classes 27 | # harray2 classes 28 | # hsequence classes 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/FSD_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef FSD_HXX 19 | #define FSD_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #endif // FSD_HXX 31 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BRepFilletAPI_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BREPFILLETAPI_HXX 19 | #define BREPFILLETAPI_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // BREPFILLETAPI_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/GeomTools_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef GEOMTOOLS_HXX 19 | #define GEOMTOOLS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // GEOMTOOLS_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Hatch_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef HATCH_HXX 19 | #define HATCH_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | 29 | #endif // HATCH_HXX 30 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/LocalAnalysis_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef LOCALANALYSIS_HXX 19 | #define LOCALANALYSIS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // LOCALANALYSIS_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/StdFail_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef STDFAIL_HXX 19 | #define STDFAIL_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // STDFAIL_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/ShapeConstruct_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef SHAPECONSTRUCT_HXX 19 | #define SHAPECONSTRUCT_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #endif // SHAPECONSTRUCT_HXX 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/GccEnt_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef GCCENT_HXX 19 | #define GCCENT_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | 29 | #endif // GCCENT_HXX 30 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/IntWalk_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef INTWALK_HXX 19 | #define INTWALK_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // INTWALK_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/BRepBndLib.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.TopoDS import * 7 | from OCC.Core.Bnd import * 8 | 9 | class brepbndlib: 10 | @staticmethod 11 | def Add( 12 | S: TopoDS_Shape, B: Bnd_Box, useTriangulation: Optional[bool] = True 13 | ) -> None: ... 14 | @staticmethod 15 | def AddClose(S: TopoDS_Shape, B: Bnd_Box) -> None: ... 16 | @staticmethod 17 | def AddOBB( 18 | theS: TopoDS_Shape, 19 | theOBB: Bnd_OBB, 20 | theIsTriangulationUsed: Optional[bool] = True, 21 | theIsOptimal: Optional[bool] = False, 22 | theIsShapeToleranceUsed: Optional[bool] = True, 23 | ) -> None: ... 24 | @staticmethod 25 | def AddOptimal( 26 | S: TopoDS_Shape, 27 | B: Bnd_Box, 28 | useTriangulation: Optional[bool] = True, 29 | useShapeTolerance: Optional[bool] = False, 30 | ) -> None: ... 31 | 32 | # harray1 classes 33 | # harray2 classes 34 | # hsequence classes 35 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BRepAlgo_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BREPALGO_HXX 19 | #define BREPALGO_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | 29 | #endif // BREPALGO_HXX 30 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/FilletSurf_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef FILLETSURF_HXX 19 | #define FILLETSURF_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // FILLETSURF_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/GeomAbs_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef GEOMABS_HXX 19 | #define GEOMABS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | 29 | #endif // GEOMABS_HXX 30 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/TCollection_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef TCOLLECTION_HXX 19 | #define TCOLLECTION_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // TCOLLECTION_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/GeomAdaptor_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef GEOMADAPTOR_HXX 19 | #define GEOMADAPTOR_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // GEOMADAPTOR_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/HeaderSection_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef HEADERSECTION_HXX 19 | #define HEADERSECTION_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // HEADERSECTION_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Geom2dAPI_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef GEOM2DAPI_HXX 19 | #define GEOM2DAPI_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // GEOM2DAPI_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/IGESCAFControl_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef IGESCAFCONTROL_HXX 19 | #define IGESCAFCONTROL_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // IGESCAFCONTROL_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BSplCLib_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BSPLCLIB_HXX 19 | #define BSPLCLIB_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | 29 | #endif // BSPLCLIB_HXX 30 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/ChFi3d_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef CHFI3D_HXX 19 | #define CHFI3D_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #endif // CHFI3D_HXX 31 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/SelectBasics_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef SELECTBASICS_HXX 19 | #define SELECTBASICS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // SELECTBASICS_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BRepMeshData_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BREPMESHDATA_HXX 19 | #define BREPMESHDATA_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | 29 | #endif // BREPMESHDATA_HXX 30 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/DE_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef DE_HXX 19 | #define DE_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #endif // DE_HXX 31 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/LProp_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef LPROP_HXX 19 | #define LPROP_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #endif // LPROP_HXX 31 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/ChFi2d_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef CHFI2D_HXX 19 | #define CHFI2D_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #endif // CHFI2D_HXX 31 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/XmlLDrivers_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef XMLLDRIVERS_HXX 19 | #define XMLLDRIVERS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #endif // XMLLDRIVERS_HXX 29 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/XCAFNoteObjects.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.gp import * 7 | from OCC.Core.TopoDS import * 8 | 9 | class XCAFNoteObjects_NoteObject(Standard_Transient): 10 | @overload 11 | def __init__(self) -> None: ... 12 | @overload 13 | def __init__(self, theObj: XCAFNoteObjects_NoteObject) -> None: ... 14 | def GetPlane(self) -> gp_Ax2: ... 15 | def GetPoint(self) -> gp_Pnt: ... 16 | def GetPointText(self) -> gp_Pnt: ... 17 | def GetPresentation(self) -> TopoDS_Shape: ... 18 | def HasPlane(self) -> bool: ... 19 | def HasPoint(self) -> bool: ... 20 | def HasPointText(self) -> bool: ... 21 | def Reset(self) -> None: ... 22 | def SetPlane(self, thePlane: gp_Ax2) -> None: ... 23 | def SetPoint(self, thePnt: gp_Pnt) -> None: ... 24 | def SetPointText(self, thePnt: gp_Pnt) -> None: ... 25 | def SetPresentation(self, thePresentation: TopoDS_Shape) -> None: ... 26 | 27 | # harray1 classes 28 | # harray2 classes 29 | # hsequence classes 30 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/GccInt_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef GCCINT_HXX 19 | #define GCCINT_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | 31 | #endif // GCCINT_HXX 32 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BRepAdaptor_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BREPADAPTOR_HXX 19 | #define BREPADAPTOR_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | 29 | #endif // BREPADAPTOR_HXX 30 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/STEPControl_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef STEPCONTROL_HXX 19 | #define STEPCONTROL_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | 29 | #endif // STEPCONTROL_HXX 30 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/TShort_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef TSHORT_HXX 19 | #define TSHORT_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | 29 | #endif // TSHORT_HXX 30 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Geom2dLProp_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef GEOM2DLPROP_HXX 19 | #define GEOM2DLPROP_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | 29 | #endif // GEOM2DLPROP_HXX 30 | -------------------------------------------------------------------------------- /ci/conda/meta.yaml: -------------------------------------------------------------------------------- 1 | {% set version = "7.9.1" %} 2 | 3 | package: 4 | name: pythonocc-core 5 | version: {{ version }} 6 | 7 | source: 8 | path: ../.. 9 | 10 | 11 | build: 12 | number: {{ GIT_DESCRIBE_NUMBER }} 13 | binary_relocation: false [osx] 14 | 15 | requirements: 16 | build: 17 | - {{ compiler('c') }} 18 | - {{ compiler('cxx') }} 19 | - {{ cdt('libx11-devel') }} # [linux] 20 | - {{ cdt('xorg-x11-proto-devel') }} # [linux] 21 | - {{ cdt('mesa-libgl-devel') }} # [linux] 22 | - {{ cdt('libxi-devel') }} # [linux] 23 | - ninja 24 | - cmake 25 | - swig ==4.3.1 26 | 27 | host: 28 | - python {{ python }} 29 | - occt ==7.9.1 30 | - numpy >=1.17 31 | 32 | run: 33 | - occt ==7.9.1 34 | - numpy >=1.17 35 | 36 | test: 37 | imports: 38 | - OCC 39 | - OCC.Core.BRepPrimAPI 40 | - OCC.Core.Tesselator 41 | requires: 42 | - pyqt >=5 43 | - mypy 44 | - pytest 45 | - svgwrite 46 | - wxpython >=4 47 | - pyside6 48 | 49 | about: 50 | home: https://github.com/tpaviot/pythonocc-core 51 | license: LGPL 52 | summary: Python package for 3D geometry CAD/BIM/CAM 53 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/BinMDocStd.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.BinMDF import * 7 | from OCC.Core.Message import * 8 | from OCC.Core.TDF import * 9 | from OCC.Core.BinObjMgt import * 10 | 11 | class binmdocstd: 12 | @staticmethod 13 | def AddDrivers( 14 | theDriverTable: BinMDF_ADriverTable, aMsgDrv: Message_Messenger 15 | ) -> None: ... 16 | 17 | class BinMDocStd_XLinkDriver(BinMDF_ADriver): 18 | def __init__(self, theMessageDriver: Message_Messenger) -> None: ... 19 | def NewEmpty(self) -> TDF_Attribute: ... 20 | @overload 21 | def Paste( 22 | self, 23 | Source: BinObjMgt_Persistent, 24 | Target: TDF_Attribute, 25 | RelocTable: BinObjMgt_RRelocationTable, 26 | ) -> bool: ... 27 | @overload 28 | def Paste( 29 | self, 30 | Source: TDF_Attribute, 31 | Target: BinObjMgt_Persistent, 32 | RelocTable: BinObjMgt_SRelocationTable, 33 | ) -> None: ... 34 | 35 | # harray1 classes 36 | # harray2 classes 37 | # hsequence classes 38 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/XmlXCAFDrivers.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.TDocStd import * 7 | from OCC.Core.XmlDrivers import * 8 | from OCC.Core.Message import * 9 | from OCC.Core.XmlMDF import * 10 | from OCC.Core.TCollection import * 11 | 12 | class xmlxcafdrivers: 13 | @staticmethod 14 | def DefineFormat(theApp: TDocStd_Application) -> None: ... 15 | @staticmethod 16 | def Factory(aGUID: Standard_GUID) -> Standard_Transient: ... 17 | 18 | class XmlXCAFDrivers_DocumentRetrievalDriver(XmlDrivers_DocumentRetrievalDriver): 19 | def __init__(self) -> None: ... 20 | def AttributeDrivers( 21 | self, theMsgDriver: Message_Messenger 22 | ) -> XmlMDF_ADriverTable: ... 23 | 24 | class XmlXCAFDrivers_DocumentStorageDriver(XmlDrivers_DocumentStorageDriver): 25 | def __init__(self, theCopyright: str) -> None: ... 26 | def AttributeDrivers( 27 | self, theMsgDriver: Message_Messenger 28 | ) -> XmlMDF_ADriverTable: ... 29 | 30 | # harray1 classes 31 | # harray2 classes 32 | # hsequence classes 33 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/XmlMDocStd.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.XmlMDF import * 7 | from OCC.Core.Message import * 8 | from OCC.Core.TDF import * 9 | from OCC.Core.XmlObjMgt import * 10 | 11 | class xmlmdocstd: 12 | @staticmethod 13 | def AddDrivers( 14 | aDriverTable: XmlMDF_ADriverTable, theMessageDriver: Message_Messenger 15 | ) -> None: ... 16 | 17 | class XmlMDocStd_XLinkDriver(XmlMDF_ADriver): 18 | def __init__(self, theMessageDriver: Message_Messenger) -> None: ... 19 | def NewEmpty(self) -> TDF_Attribute: ... 20 | @overload 21 | def Paste( 22 | self, 23 | Source: XmlObjMgt_Persistent, 24 | Target: TDF_Attribute, 25 | RelocTable: XmlObjMgt_RRelocationTable, 26 | ) -> bool: ... 27 | @overload 28 | def Paste( 29 | self, 30 | Source: TDF_Attribute, 31 | Target: XmlObjMgt_Persistent, 32 | RelocTable: XmlObjMgt_SRelocationTable, 33 | ) -> None: ... 34 | 35 | # harray1 classes 36 | # harray2 classes 37 | # hsequence classes 38 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BinLDrivers_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BINLDRIVERS_HXX 19 | #define BINLDRIVERS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | 29 | #endif // BINLDRIVERS_HXX 30 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/AdvApprox_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef ADVAPPROX_HXX 19 | #define ADVAPPROX_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #endif // ADVAPPROX_HXX 31 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/GeomEvaluator_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef GEOMEVALUATOR_HXX 19 | #define GEOMEVALUATOR_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | 29 | #endif // GEOMEVALUATOR_HXX 30 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Media_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef MEDIA_HXX 19 | #define MEDIA_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | 32 | #endif // MEDIA_HXX 33 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/ShapeProcess_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef SHAPEPROCESS_HXX 19 | #define SHAPEPROCESS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #endif // SHAPEPROCESS_HXX 31 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BRepClass_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BREPCLASS_HXX 19 | #define BREPCLASS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #endif // BREPCLASS_HXX 31 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/IGESControl_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef IGESCONTROL_HXX 19 | #define IGESCONTROL_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #endif // IGESCONTROL_HXX 31 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/RWHeaderSection_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RWHEADERSECTION_HXX 19 | #define RWHEADERSECTION_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | 29 | #endif // RWHEADERSECTION_HXX 30 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Adaptor3d_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef ADAPTOR3D_HXX 19 | #define ADAPTOR3D_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | 31 | #endif // ADAPTOR3D_HXX 32 | -------------------------------------------------------------------------------- /src/SWIG_files/wrapper/BinXCAFDrivers.pyi: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | from typing import overload, NewType, Optional, Tuple 3 | 4 | from OCC.Core.Standard import * 5 | from OCC.Core.NCollection import * 6 | from OCC.Core.Message import * 7 | from OCC.Core.BinMDF import * 8 | from OCC.Core.TDocStd import * 9 | from OCC.Core.BinDrivers import * 10 | 11 | class binxcafdrivers: 12 | @staticmethod 13 | def AttributeDrivers(MsgDrv: Message_Messenger) -> BinMDF_ADriverTable: ... 14 | @staticmethod 15 | def DefineFormat(theApp: TDocStd_Application) -> None: ... 16 | @staticmethod 17 | def Factory(theGUID: Standard_GUID) -> Standard_Transient: ... 18 | 19 | class BinXCAFDrivers_DocumentRetrievalDriver(BinDrivers_DocumentRetrievalDriver): 20 | def __init__(self) -> None: ... 21 | def AttributeDrivers( 22 | self, theMsgDriver: Message_Messenger 23 | ) -> BinMDF_ADriverTable: ... 24 | 25 | class BinXCAFDrivers_DocumentStorageDriver(BinDrivers_DocumentStorageDriver): 26 | def __init__(self) -> None: ... 27 | def AttributeDrivers( 28 | self, theMsgDriver: Message_Messenger 29 | ) -> BinMDF_ADriverTable: ... 30 | 31 | # harray1 classes 32 | # harray2 classes 33 | # hsequence classes 34 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BinMDataXtd_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BINMDATAXTD_HXX 19 | #define BINMDATAXTD_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #endif // BINMDATAXTD_HXX 31 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/XmlMDataXtd_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef XMLMDATAXTD_HXX 19 | #define XMLMDATAXTD_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #endif // XMLMDATAXTD_HXX 31 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/TopLoc_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef TOPLOC_HXX 19 | #define TOPLOC_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | 31 | #endif // TOPLOC_HXX 32 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/StepAP242_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef STEPAP242_HXX 19 | #define STEPAP242_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | 29 | #endif // STEPAP242_HXX 30 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BRepSweep_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BREPSWEEP_HXX 19 | #define BREPSWEEP_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | 32 | #endif // BREPSWEEP_HXX 33 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BRepTopAdaptor_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BREPTOPADAPTOR_HXX 19 | #define BREPTOPADAPTOR_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #endif // BREPTOPADAPTOR_HXX 31 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/XmlObjMgt_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef XMLOBJMGT_HXX 19 | #define XMLOBJMGT_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | 32 | #endif // XMLOBJMGT_HXX 33 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Draft_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef DRAFT_HXX 19 | #define DRAFT_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | 32 | #endif // DRAFT_HXX 33 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/IntCurve_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef INTCURVE_HXX 19 | #define INTCURVE_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | 31 | #endif // INTCURVE_HXX 32 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Resource_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef RESOURCE_HXX 19 | #define RESOURCE_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | 31 | #endif // RESOURCE_HXX 32 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/GProp_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef GPROP_HXX 19 | #define GPROP_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | #include 33 | 34 | #endif // GPROP_HXX 35 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/IntAna_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef INTANA_HXX 19 | #define INTANA_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | 33 | #endif // INTANA_HXX 34 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/HatchGen_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef HATCHGEN_HXX 19 | #define HATCHGEN_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | 32 | #endif // HATCHGEN_HXX 33 | -------------------------------------------------------------------------------- /test/core_display_tkinter_unittest.py: -------------------------------------------------------------------------------- 1 | ##Copyright 2010-2023 Thomas Paviot (tpaviot@gmail.com) 2 | ## 3 | ##This file is part of pythonOCC. 4 | ## 5 | ##pythonOCC is free software: you can redistribute it and/or modify 6 | ##it under the terms of the GNU Lesser General Public License as published by 7 | ##the Free Software Foundation, either version 3 of the License, or 8 | ##(at your option) any later version. 9 | ## 10 | ##pythonOCC is distributed in the hope that it will be useful, 11 | ##but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | ##MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | ##GNU Lesser General Public License for more details. 14 | ## 15 | ##You should have received a copy of the GNU Lesser General Public License 16 | ##along with pythonOCC. If not, see . 17 | 18 | import sys 19 | 20 | from OCC.Display.backend import load_pyqt6 21 | from OCC.Display.SimpleGui import init_display 22 | from OCC.Core.BRepPrimAPI import BRepPrimAPI_MakeBox 23 | 24 | print("tkinter test running ...") 25 | tkinter_display, start_display, add_menu, add_function_to_menu = init_display("tk") 26 | my_box = BRepPrimAPI_MakeBox(10.0, 20.0, 30.0).Shape() 27 | tkinter_display.DisplayShape(my_box, update=True) 28 | print("tkinter test ok.") 29 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BRepMAT2d_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BREPMAT2D_HXX 19 | #define BREPMAT2D_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #endif // BREPMAT2D_HXX 31 | -------------------------------------------------------------------------------- /debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | Upstream-Name: pythonocc-core 3 | Upstream-Contact: 4 | Source: https://github.com/tpaviot/pythonocc-core 5 | 6 | Files: * 7 | Copyright: 2016-2020 Thomas Paviot 8 | License: LGPL-v3 9 | 10 | Files: debian/* 11 | Copyright: 2020 Christophe Trophime 12 | License: GPL-2+ 13 | This package is free software; you can redistribute it and/or modify 14 | it under the terms of the GNU General Public License as published by 15 | the Free Software Foundation; either version 2 of the License, or 16 | (at your option) any later version. 17 | . 18 | This package is distributed in the hope that it will be useful, 19 | but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 | GNU General Public License for more details. 22 | . 23 | You should have received a copy of the GNU General Public License 24 | along with this program. If not, see 25 | . 26 | On Debian systems, the complete text of the GNU General 27 | Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". 28 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BinObjMgt_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BINOBJMGT_HXX 19 | #define BINOBJMGT_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | 33 | #endif // BINOBJMGT_HXX 34 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Bisector_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BISECTOR_HXX 19 | #define BISECTOR_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | #include 33 | 34 | #endif // BISECTOR_HXX 35 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BRepPrim_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BREPPRIM_HXX 19 | #define BREPPRIM_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | #include 33 | 34 | #endif // BREPPRIM_HXX 35 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Law_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef LAW_HXX 19 | #define LAW_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | 36 | #endif // LAW_HXX 37 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/Quantity_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef QUANTITY_HXX 19 | #define QUANTITY_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | 33 | #endif // QUANTITY_HXX 34 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BRepAlgoAPI_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BREPALGOAPI_HXX 19 | #define BREPALGOAPI_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | 33 | #endif // BREPALGOAPI_HXX 34 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/XmlMDF_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef XMLMDF_HXX 19 | #define XMLMDF_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | 33 | #endif // XMLMDF_HXX 34 | -------------------------------------------------------------------------------- /src/SWIG_files/headers/BinTObjDrivers_module.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com) 3 | 4 | This file is part of pythonOCC. 5 | pythonOCC is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | pythonOCC is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with pythonOCC. If not, see . 17 | */ 18 | #ifndef BINTOBJDRIVERS_HXX 19 | #define BINTOBJDRIVERS_HXX 20 | 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | 31 | #endif // BINTOBJDRIVERS_HXX 32 | --------------------------------------------------------------------------------