Skip to content

Commit dd28694

Browse files
Merge branch 'main' into release/0.4
2 parents abfc7c2 + 3d0ae2a commit dd28694

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121

2222
- name: Setup Python
23-
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
23+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2424
with:
2525
python-version: ${{ env.MAIN_PYTHON_VERSION }}
2626

@@ -66,13 +66,13 @@ jobs:
6666
contents: write
6767
steps:
6868
- name: "Download the library artifacts from build-library step"
69-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
69+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
7070
with:
7171
name: ansys-api-geometry-artifacts
7272
path: ansys-api-geometry-artifacts
7373

7474
- name: Release
75-
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
75+
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2.2.2
7676
with:
7777
generate_release_notes: true
7878
files: |
@@ -91,7 +91,7 @@ jobs:
9191
contents: write
9292
steps:
9393
- name: "Download the library artifacts from build-library step"
94-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
94+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
9595
with:
9696
name: ansys-api-geometry-artifacts
9797
path: ansys-api-geometry-artifacts

ansys/api/geometry/v0/bodies.proto

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ service Bodies
105105
rpc GetClosestSeparation(GetClosestSeparationRequest) returns (Separation);
106106

107107
rpc GetTessellationWithOptions(GetTessellationRequest) returns(GetTessellationResponse);
108+
109+
rpc ExportAndDownloadBody(ExportAndDownloadBodyRequest) returns (ExportAndDownloadBodyResponse);
108110
}
109111

110112
message CreateSurfaceBodyFromTrimmedCurvesRequest {
@@ -358,4 +360,13 @@ message GetClosestSeparationRequest {
358360
message GetTessellationRequest{
359361
ansys.api.dbu.v0.EntityIdentifier id=1;
360362
TessellationOptions options =2;
363+
}
364+
365+
message ExportAndDownloadBodyRequest{
366+
ansys.api.dbu.v0.EntityIdentifier id=1;
367+
ansys.api.dbu.v0.BodyExportFormat format = 2;
368+
}
369+
370+
message ExportAndDownloadBodyResponse{
371+
bytes data=1;
361372
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ requires = [
33
"setuptools >= 42.0.0",
44
"wheel",
55
"ansys_tools_protoc_helper>=0.4.0",
6-
"ansys-api-dbu==0.3.18",
6+
"ansys-api-dbu==0.3.19",
77
]
88
build-backend = "setuptools.build_meta:__legacy__"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
url=f"https://github.com/ansys/{package_name}",
4040
license="MIT",
4141
python_requires=">=3.10",
42-
install_requires=["grpcio~=1.44", "protobuf>=3.19,<7", "ansys-api-dbu==0.3.18"],
42+
install_requires=["grpcio~=1.44", "protobuf>=3.19,<7", "ansys-api-dbu==0.3.19"],
4343
packages=setuptools.find_namespace_packages(".", include=("ansys.*",)),
4444
package_data={
4545
"": ["*.proto", "*.pyi", "py.typed", "VERSION"],

0 commit comments

Comments
 (0)