fix: correct OCP API usage for mesh, bounding box, and volume

- Fix BRep_Tool.Triangulation_s to use TopoDS.Face_s for face casting
- Fix BRepBndLib.AddClose_s import and usage
- Fix BRepGProp.VolumeProperties_s and SurfaceProperties_s imports
- Fix _get_shape to handle Workplane objects stored in shape attribute
- Fix OCCSketchEntity to properly inherit from SketchEntity
- Update pyproject.toml dependency versions
This commit is contained in:
bklronin
2026-03-14 08:52:45 +01:00
parent fe23ca610c
commit 8c6a413137
3 changed files with 81 additions and 109 deletions
+6 -6
View File
@@ -27,12 +27,12 @@ classifiers = [
dependencies = [
"cadquery>=2.4",
"ocp>=7.9.3",
"pygfx>=0.7.0",
"wgpu>=0.19.0",
"PySide6>=6.9.0",
"numpy>=2.2.0",
"scipy>=1.15.0",
"pygfx>=0.1.0",
"wgpu>=0.1.0",
"PySide6>=6.4.0",
"numpy>=1.24.0",
"scipy>=1.10.0",
"pillow>=10.0.0",
]
[project.optional-dependencies]