Skip to content

Commit 61d24a9

Browse files
committed
Merge branch 'main' into release/0.2
2 parents 55e3d8e + 9dbae91 commit 61d24a9

File tree

8 files changed

+46
-20
lines changed

8 files changed

+46
-20
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ updates:
1313
- "pyansys-ci-bot"
1414
commit-message:
1515
prefix: "MAINT"
16+
groups:
17+
grpc-deps:
18+
patterns:
19+
- "google*"
20+
- "grpc*"
21+
- "protobuf"
1622

1723
- package-ecosystem: "github-actions"
1824
directory: "/"
@@ -24,3 +30,7 @@ updates:
2430
- "pyansys-ci-bot"
2531
commit-message:
2632
prefix: "MAINT"
33+
groups:
34+
actions:
35+
patterns:
36+
- "*"

.github/workflows/ci_cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818
ANSRV_GEO_PORT: 700
1919
ANSRV_GEO_LICENSE_SERVER: ${{ secrets.LICENSE_SERVER }}
2020
GEO_CONT_NAME: ans_geo
21-
RESET_IMAGE_CACHE: 0
21+
RESET_IMAGE_CACHE: 1
2222
IS_WORKFLOW_RUNNING: True
2323

2424
concurrency:

.github/workflows/docker_push_stable.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,6 @@ jobs:
135135

136136
- name: Publish latest stable container in AnsysLab registry
137137
run: docker push ${{ env.LINUX_STABLE_FUJI }}
138+
139+
- name: Remove images (free space)
140+
run: docker image rm ${{ env.LINUX_STABLE_FUJI }} ${{ env.LINUX_STABLE_GHCR }}

AUTHORS

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This is the list of PyGeometry's significant contributors.
2+
#
3+
# This file does not necessarily list everyone who has contributed code.
4+
#
5+
# For contributions made under a Corporate CLA, the organization is
6+
# added to this file.
7+
#
8+
# If you have contributed to the repository and wish to be added to this file
9+
# please submit a request.
10+
#
11+
#
12+
ANSYS, Inc.

AUTHORS.md renamed to CONTRIBUTORS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Authors
1+
# Contributors
22

33
## Project Lead
44

55
* [Roberto Pastor](https://github.com/RobPasMue)
66

7-
## Contributors
7+
## Individual Contributors
88

99
* [Jonah Boling](https://github.com/jonahrb)
1010
* [Matteo Bini](https://github.com/b-matteo)

docker/Dockerfile.linux

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ RUN apt-get update && apt-get install -y unzip
1111

1212
# Add the binary files from the latest release
1313
COPY linux-binaries.zip .
14-
RUN unzip -qqju linux-binaries.zip -d . && rm linux-binaries.zip
14+
RUN unzip -qq linux-binaries.zip -d . && rm linux-binaries.zip && mv DockerLinux/bin/x64/Release_Linux/net6.0/* . && rm -rf DockerLinux
1515

1616
# Let the dynamic link loader where to search for shared libraries
1717
ENV LD_LIBRARY_PATH="/app"
1818

1919
# Define env variables
2020
ENV ANS_DSCO_REMOTE_PORT=50051
2121
ENV ANS_DSCO_REMOTE_IP="0.0.0.0"
22+
ENV ANS_DSCO_REMOTE_LOGS_CONFIG="linux"
2223
ENV LOG_LEVEL=2
2324
ENV ENABLE_TRACE=0
2425
ENV ANSYSLMD_LICENSE_FILE=""

pyproject.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,19 @@ tests = [
5151
"ansys-platform-instancemanagement==1.1.1",
5252
"beartype==0.14.1",
5353
"docker==6.1.3",
54-
"google-api-python-client==2.90.0",
54+
"google-api-python-client==2.92.0",
5555
"googleapis-common-protos==1.59.1",
5656
"grpcio==1.50.0",
5757
"grpcio-health-checking==1.48.2",
5858
"numpy==1.25.0",
5959
"Pint==0.22",
6060
"protobuf==3.20.3",
61-
"pytest==7.3.2",
61+
"pytest==7.4.0",
6262
"pytest-cov==4.1.0",
6363
"pytest-pyvista==0.1.8",
64-
"pyvista[trame]==0.39.1",
64+
"pyvista[trame]==0.40.0",
6565
"requests==2.31.0",
66-
"scipy==1.10.1",
66+
"scipy==1.11.1",
6767
"six==1.16.0",
6868
"vtk==9.2.6",
6969
]
@@ -72,14 +72,14 @@ doc = [
7272
"docker==6.1.3",
7373
"ipyvtklink==0.2.3",
7474
"jupyter_sphinx==0.4.0",
75-
"jupytext==1.14.6",
76-
"myst-parser==1.0.0",
75+
"jupytext==1.14.7",
76+
"myst-parser==1.0.0", # BLOCKED BY jupytext
7777
"nbconvert==7.6.0",
7878
"nbsphinx==0.9.2",
7979
"notebook==6.5.4",
8080
"numpydoc==1.5.0",
8181
"panel==1.1.1",
82-
"pyvista[trame]==0.39.1",
82+
"pyvista[trame]==0.40.0",
8383
"requests==2.31.0",
8484
"Sphinx==6.1.3",
8585
"sphinx-autoapi==2.1.1",

src/ansys/geometry/core/plotting/widgets/displace_arrows.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,23 @@ def callback(self, state: bool) -> None:
4848

4949
# use the length of the diagonal to adjust the movement speed
5050
if self.direction == CameraPanDirection.XUP:
51-
self.current_camera_pos[0][0] += 0.05 * self.plotter.length
52-
self.current_camera_pos[1][0] += 0.05 * self.plotter.length
53-
elif self.direction == CameraPanDirection.XDOWN:
5451
self.current_camera_pos[0][0] -= 0.05 * self.plotter.length
5552
self.current_camera_pos[1][0] -= 0.05 * self.plotter.length
53+
elif self.direction == CameraPanDirection.XDOWN:
54+
self.current_camera_pos[0][0] += 0.05 * self.plotter.length
55+
self.current_camera_pos[1][0] += 0.05 * self.plotter.length
5656
elif self.direction == CameraPanDirection.YUP:
57-
self.current_camera_pos[0][1] += 0.05 * self.plotter.length
58-
self.current_camera_pos[1][1] += 0.05 * self.plotter.length
59-
elif self.direction == CameraPanDirection.YDOWN:
6057
self.current_camera_pos[0][1] -= 0.05 * self.plotter.length
6158
self.current_camera_pos[1][1] -= 0.05 * self.plotter.length
59+
elif self.direction == CameraPanDirection.YDOWN:
60+
self.current_camera_pos[0][1] += 0.05 * self.plotter.length
61+
self.current_camera_pos[1][1] += 0.05 * self.plotter.length
6262
elif self.direction == CameraPanDirection.ZUP:
63-
self.current_camera_pos[0][2] += 0.05 * self.plotter.length
64-
self.current_camera_pos[1][2] += 0.05 * self.plotter.length
65-
elif self.direction == CameraPanDirection.ZDOWN:
6663
self.current_camera_pos[0][2] -= 0.05 * self.plotter.length
6764
self.current_camera_pos[1][2] -= 0.05 * self.plotter.length
65+
elif self.direction == CameraPanDirection.ZDOWN:
66+
self.current_camera_pos[0][2] += 0.05 * self.plotter.length
67+
self.current_camera_pos[1][2] += 0.05 * self.plotter.length
6868
else: # pragma: no cover
6969
raise NotImplementedError(
7070
f"CameraPanDirection {self.direction.name} is not implemented as a widget."

0 commit comments

Comments
 (0)