Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
ca2c0e5
Adding OCCT8RC3 headers
adam-urbanczyk Feb 7, 2026
6628a6b
Initial conf update
adam-urbanczyk Feb 7, 2026
6851cfa
Wrapping utils fix
adam-urbanczyk Feb 7, 2026
fa6ddfc
Update pywrap
adam-urbanczyk Feb 7, 2026
659d48d
Split into 3 stages
adam-urbanczyk Feb 16, 2026
a14e793
Update pywrap
adam-urbanczyk Feb 20, 2026
1878271
Update pywrap
adam-urbanczyk Feb 27, 2026
bd2800a
Update conf
adam-urbanczyk Feb 27, 2026
a7d6f93
Update pywrap
adam-urbanczyk Feb 28, 2026
f413db0
Use fixed pystreambuf
adam-urbanczyk Feb 28, 2026
250016b
Update CMakeLists
adam-urbanczyk Feb 28, 2026
939afda
Update ocp.toml
adam-urbanczyk Feb 28, 2026
fe55a46
Add correct headers
adam-urbanczyk Mar 2, 2026
7297f79
Update pywrap
adam-urbanczyk Mar 2, 2026
0e7b1a4
Use less confusing name
adam-urbanczyk Apr 25, 2026
2bd6879
Update pywrap
adam-urbanczyk Apr 25, 2026
e12f7e4
Add collection pattern
adam-urbanczyk Apr 26, 2026
34fc062
Cleanup collection excludes
adam-urbanczyk Apr 26, 2026
847e868
Merge branch 'master' into ocp8
adam-urbanczyk May 24, 2026
e144f78
Use the latest OCP
adam-urbanczyk May 24, 2026
95ee4dd
Update headers
adam-urbanczyk May 24, 2026
f0b6e96
Do not cache anything
adam-urbanczyk May 24, 2026
f5c5a0c
Update headers again
adam-urbanczyk May 24, 2026
bb33287
Ignore some NCollection methods
adam-urbanczyk Jun 5, 2026
7501a22
Update pywrap
adam-urbanczyk Jun 5, 2026
40f74bc
Ignore problematic/incorrect headers
adam-urbanczyk Jun 5, 2026
4d3943c
More faulty headers
adam-urbanczyk Jun 5, 2026
b0a14eb
More fixes
adam-urbanczyk Jun 6, 2026
13dc51d
ExtendedString related fixes
adam-urbanczyk Jun 7, 2026
7c48aa2
Fix exclusion
adam-urbanczyk Jun 8, 2026
59705a2
Update pywrap
adam-urbanczyk Jun 8, 2026
170f51c
Update constructor exlcusions due to pywrap update
adam-urbanczyk Jun 8, 2026
9816691
Update pywrap
adam-urbanczyk Jun 10, 2026
39f4200
Update pywrap
adam-urbanczyk Jun 12, 2026
a10d661
Exclude the string_view based constructor
adam-urbanczyk Jun 12, 2026
cae374c
Exclude ItemsView
Jun 13, 2026
879947f
Fix missing include for collections
adam-urbanczyk Jun 14, 2026
2423056
Update pywrap
adam-urbanczyk Jun 14, 2026
b89e02b
Merge branch 'ocp8' of https://github.com/CadQuery/OCP into ocp8
adam-urbanczyk Jun 14, 2026
baf57ec
Exclude OpenGl_ShaderProgram.hxx
adam-urbanczyk Jun 14, 2026
28c514b
Exclude depracated typedefs
adam-urbanczyk Jul 17, 2026
3473c80
Update pywrap
adam-urbanczyk Jul 17, 2026
f24b249
Use newer exception registration mechanism
adam-urbanczyk Jul 17, 2026
3d75b69
Update pywrap
adam-urbanczyk Jul 19, 2026
c2ee6f0
Disable azure
adam-urbanczyk Jul 19, 2026
52aa00d
Update OCCT version in meta.yaml
adam-urbanczyk Jul 24, 2026
faebd13
Merge branch 'master' of https://github.com/CadQuery/OCP into ocp8
adam-urbanczyk Jul 24, 2026
cd316b1
Update pywrap
adam-urbanczyk Jul 25, 2026
0a0f9b7
CI cleanup
adam-urbanczyk Jul 26, 2026
2b1ec4e
Merge branch 'master' into ocp8
adam-urbanczyk Jul 26, 2026
9e1a3c0
Set default shell + cleanup
adam-urbanczyk Jul 26, 2026
22c99f8
Merge branch 'ocp8' of https://github.com/CadQuery/OCP into ocp8
adam-urbanczyk Jul 26, 2026
c4178dc
Use bash -l {0} as default
adam-urbanczyk Jul 26, 2026
437996e
Add tests
adam-urbanczyk Jul 27, 2026
d031b5b
Another cleanup
adam-urbanczyk Jul 27, 2026
413c96c
Merge branch 'ocp8' of https://github.com/CadQuery/OCP into ocp8
adam-urbanczyk Jul 27, 2026
4155fe8
Change name in the devenv file
adam-urbanczyk Jul 27, 2026
a37464a
Fix version and reformat
adam-urbanczyk Jul 27, 2026
8e4bd47
Tweak micromamba action
adam-urbanczyk Jul 27, 2026
12955d1
Add pytest to the devenv
adam-urbanczyk Jul 27, 2026
052c193
Dummy change of runner for debugging
adam-urbanczyk Jul 28, 2026
2af8ac5
Tweak micromamba install
adam-urbanczyk Jul 28, 2026
17a6138
Do not copy
adam-urbanczyk Jul 28, 2026
393d711
Debug win failure
adam-urbanczyk Jul 28, 2026
a1bc5d1
Dinit outside of mac
adam-urbanczyk Jul 28, 2026
5e2886a
Install on mamba/micromamba on win using choco
adam-urbanczyk Jul 30, 2026
64a5e32
Add explicit shell
adam-urbanczyk Jul 30, 2026
db386dd
Add to path on win
adam-urbanczyk Jul 30, 2026
0f91853
Syntax fix
adam-urbanczyk Jul 30, 2026
3f67b5d
Add to path via choco
adam-urbanczyk Jul 30, 2026
76e6650
Try installing with explicit mamba path
adam-urbanczyk Jul 30, 2026
099d18c
Try cmd
adam-urbanczyk Jul 30, 2026
2f9f777
Fix path
adam-urbanczyk Jul 30, 2026
6c3ba00
Change shell settings
adam-urbanczyk Jul 31, 2026
65c7a5e
Add micromamba to path on win
adam-urbanczyk Jul 31, 2026
8cdc4ef
Use unix path
adam-urbanczyk Jul 31, 2026
933390f
Do not use mamba.bat
adam-urbanczyk Jul 31, 2026
b65ae8a
Back to mamba.bat
adam-urbanczyk Jul 31, 2026
0178ede
Back to x-generation for win
adam-urbanczyk Jul 31, 2026
1cb9fc1
Add path on powershell too
adam-urbanczyk Jul 31, 2026
f141d06
Check powershell only on windows
adam-urbanczyk Jul 31, 2026
d885d5c
Back to x-generation again
adam-urbanczyk Jul 31, 2026
1bd895e
Back to no x-generation
adam-urbanczyk Jul 31, 2026
8f7c04e
Faster micromamba install on win
adam-urbanczyk Jul 31, 2026
1cff7dc
Revert, use choco after all
adam-urbanczyk Jul 31, 2026
9d87069
Save symbols too
adam-urbanczyk Aug 2, 2026
de7e9a2
Back to ubuntu
adam-urbanczyk Aug 2, 2026
dad4818
Use correct occt version for symbols dumping on windows
adam-urbanczyk Aug 3, 2026
9d39cf3
Merge branch 'master' into ocp8
adam-urbanczyk Aug 3, 2026
968e4f2
Reenable VTK
adam-urbanczyk Aug 4, 2026
6661e2d
Try to fix VTK issues
adam-urbanczyk Aug 4, 2026
3102874
Handle different arities of C++ operators
adam-urbanczyk Aug 5, 2026
df521dd
Update pywrap
adam-urbanczyk Aug 6, 2026
052e39b
Update pywrap
adam-urbanczyk Aug 7, 2026
decc7df
Add missing modules
adam-urbanczyk Aug 7, 2026
64b12b9
Update pywrap
adam-urbanczyk Aug 7, 2026
3e16e5d
Update pywrap and tests
adam-urbanczyk Aug 9, 2026
5322221
Merge branch 'master' into ocp8
adam-urbanczyk Aug 9, 2026
63dcdf6
Update tests
adam-urbanczyk Aug 9, 2026
15ff0b3
Exclude problematic collections
adam-urbanczyk Aug 10, 2026
97abaec
Update pywrap
adam-urbanczyk Aug 10, 2026
436cd74
Exclude problematic collection for now
adam-urbanczyk Aug 11, 2026
0487ea2
Update pywrap
adam-urbanczyk Aug 15, 2026
84ddb92
Fix compilation (add more excludes) and tests
adam-urbanczyk Aug 15, 2026
0700004
Merge branch 'master' into ocp8
adam-urbanczyk Aug 15, 2026
2d4216d
Update pywrap
adam-urbanczyk Aug 15, 2026
dd2194e
Forward define OpenGl_ShaderProgram in collections
adam-urbanczyk Aug 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions ocp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1367,12 +1367,21 @@ exclude_collection = [
"List_IVtk_PointId",
"ForwardRangeIterator_TopExp_Explorer",
"ForwardRangeIterator_TopoDS_Iterator",
"IndexedMap_const Graphic3d_CStructure"
"IndexedMap_const Graphic3d_CStructure",
"Array1_SelectMgr_BVHThreadPool :: BVHThread",
"DynamicArray_IntPatch_BVHTraversal :: TrianglePair",
"List_Poly_CoherentTriangulation :: TwoIntegers",
"DataMap_TopoDS_Shape_TNaming_PtrRefShape",
"IndexedMap_Graphic3d_CView",
"IndexedDataMap_TCollection_AsciiString_Aspect_XRAction"
]

collection_pattern = "NCollection"
collection_include_header_pre = """#include <BRepExtrema_ProximityDistTool.hxx>
#include <gp_XYZ.hxx>"""
collection_include_header_pre_top = """#include <BRepExtrema_ProximityDistTool.hxx>
#include <gp_XYZ.hxx>

class OpenGl_ShaderProgram;
"""

module_mapping = "lambda x: Path(x).splitpath()[-1].split('.')[0].split('_')[0]"

Expand Down
4 changes: 2 additions & 2 deletions tests/test_ocp.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from OCP.BRepPrimAPI import BRepPrimAPI_MakeBox
from OCP.TopoDS import TopoDS_Shape
from OCP import List_TopoDS_Shape
from OCP.collections import List_TopoDS_Shape

# %% TopoDS_Shape

Expand Down Expand Up @@ -134,7 +134,7 @@ def test_roundtrip():

from OCP.BRepBuilderAPI import BRepBuilderAPI_MakeEdge
from OCP.ShapeAnalysis import ShapeAnalysis_FreeBounds
from OCP import HSequence_TopoDS_Shape
from OCP.collections import HSequence_TopoDS_Shape
from OCP.gp import gp_Pnt


Expand Down
Loading