Skip to content

Commit ec325b8

Browse files
Merge branch 'main' into release/0.4
2 parents 89fa2b9 + fdfdf40 commit ec325b8

File tree

4 files changed

+29
-7
lines changed

4 files changed

+29
-7
lines changed

.github/workflows/autorelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
# Checkout the repository
2121
- name: Checkout Repository
22-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2323
with:
2424
fetch-depth: 0
2525
fetch-tags: true

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
name: Build package
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121

2222
- name: Setup Python
23-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
23+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.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@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
69+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.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@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2
75+
uses: softprops/action-gh-release@6cbd405e2c4e67a21c47fa9e383d020e4e28b836 # v2.3.3
7676
with:
7777
generate_release_notes: true
7878
files: |
@@ -91,13 +91,13 @@ jobs:
9191
contents: write
9292
steps:
9393
- name: "Download the library artifacts from build-library step"
94-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
94+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
9595
with:
9696
name: ansys-api-geometry-artifacts
9797
path: ansys-api-geometry-artifacts
9898

9999
- name: "Upload artifacts to PyPI using trusted publisher"
100-
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
100+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
101101
with:
102102
repository-url: "https://upload.pypi.org/legacy/"
103103
print-hash: true

ansys/api/geometry/v0/models.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,12 @@ message FindLogoOptions {
813813
optional double fit_error = 4;
814814
}
815815

816+
message DetectHelixesOptions {
817+
optional double min_radius = 1;
818+
optional double max_radius = 2;
819+
optional double fit_radius_error = 3;
820+
}
821+
816822
message TrackerCommandResponse{
817823
bool success = 1;
818824
repeated Body created_bodies = 2;

ansys/api/geometry/v0/preparetools.proto

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ service PrepareTools{
3636
rpc FindAndRemoveLogos(FindLogosRequest) returns (RemoveLogoResponse);
3737

3838
rpc RemoveLogo(RemoveLogoRequest) returns (RemoveLogoResponse);
39+
40+
rpc DetectHelixes(DetectHelixesRequest) returns (DetectHelixesResponse);
3941
}
4042

4143
message CreateEnclosureBoxRequest{
@@ -161,4 +163,18 @@ message RemoveLogoRequest{
161163

162164
message RemoveLogoResponse {
163165
bool success = 1;
166+
}
167+
168+
message DetectHelixesRequest {
169+
repeated dbu.v0.EntityIdentifier body_ids = 1;
170+
optional DetectHelixesOptions options = 2;
171+
}
172+
173+
message DetectHelixesResponseData {
174+
TrimmedCurve trimmed_curve = 1;
175+
repeated Edge edges = 2;
176+
}
177+
178+
message DetectHelixesResponse {
179+
repeated DetectHelixesResponseData helixes = 1;
164180
}

0 commit comments

Comments
 (0)