ansys-pyensight-core 0.10.14__py3-none-any.whl → 0.10.16__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ansys-pyensight-core might be problematic. Click here for more details.
- ansys/pyensight/core/dockerlauncher.py +5 -2
- ansys/pyensight/core/launcher.py +4 -0
- ansys/pyensight/core/locallauncher.py +5 -2
- ansys/pyensight/core/utils/views.py +1 -1
- {ansys_pyensight_core-0.10.14.dist-info → ansys_pyensight_core-0.10.16.dist-info}/METADATA +1 -1
- {ansys_pyensight_core-0.10.14.dist-info → ansys_pyensight_core-0.10.16.dist-info}/RECORD +8 -8
- {ansys_pyensight_core-0.10.14.dist-info → ansys_pyensight_core-0.10.16.dist-info}/WHEEL +0 -0
- {ansys_pyensight_core-0.10.14.dist-info → ansys_pyensight_core-0.10.16.dist-info}/licenses/LICENSE +0 -0
|
@@ -533,13 +533,16 @@ class DockerLauncher(Launcher):
|
|
|
533
533
|
# websocket port - this needs to come first since we now have
|
|
534
534
|
# --add_header as a optional arg that can take an arbitrary
|
|
535
535
|
# number of optional headers.
|
|
536
|
-
|
|
536
|
+
if int(self._ansys_version) > 252 and self._do_not_start_ws:
|
|
537
|
+
wss_cmd += " -1"
|
|
538
|
+
else:
|
|
539
|
+
wss_cmd += " " + str(self._service_host_port["ws"][1])
|
|
537
540
|
#
|
|
538
541
|
wss_cmd += " --http_directory " + self._session_directory
|
|
539
542
|
# http port
|
|
540
543
|
wss_cmd += " --http_port " + str(self._service_host_port["http"][1])
|
|
541
544
|
# vnc port
|
|
542
|
-
if int(self._ansys_version) > 252:
|
|
545
|
+
if int(self._ansys_version) > 252 and self._rest_ws_separate_loops:
|
|
543
546
|
wss_cmd += " --separate_loops"
|
|
544
547
|
wss_cmd += f" --security_token {self._secret_key}"
|
|
545
548
|
wss_cmd += " --client_port 1999"
|
ansys/pyensight/core/launcher.py
CHANGED
|
@@ -107,6 +107,8 @@ class Launcher:
|
|
|
107
107
|
use_mpi: Optional[str] = None,
|
|
108
108
|
interconnect: Optional[str] = None,
|
|
109
109
|
server_hosts: Optional[List[str]] = None,
|
|
110
|
+
rest_ws_separate_loops: bool = False,
|
|
111
|
+
do_not_start_ws: bool = False,
|
|
110
112
|
) -> None:
|
|
111
113
|
self._timeout = timeout
|
|
112
114
|
self._use_egl_param_val: bool = use_egl
|
|
@@ -141,6 +143,8 @@ class Launcher:
|
|
|
141
143
|
self._query_parameters: Dict[str, str] = {}
|
|
142
144
|
self._additional_command_line_options = additional_command_line_options
|
|
143
145
|
self._launch_webui = launch_webui
|
|
146
|
+
self._do_not_start_ws = do_not_start_ws
|
|
147
|
+
self._rest_ws_separate_loops = rest_ws_separate_loops
|
|
144
148
|
|
|
145
149
|
@property
|
|
146
150
|
def session_directory(self) -> str:
|
|
@@ -284,11 +284,14 @@ class LocalLauncher(Launcher):
|
|
|
284
284
|
cmd.extend(["--grpc_port", str(self._ports[0])])
|
|
285
285
|
# EnVision sessions
|
|
286
286
|
cmd.extend(["--local_session", "envision", "5"])
|
|
287
|
-
if int(version) > 252:
|
|
287
|
+
if int(version) > 252 and self._rest_ws_separate_loops:
|
|
288
288
|
cmd.append("--separate_loops")
|
|
289
289
|
cmd.extend(["--security_token", self._secret_key])
|
|
290
290
|
# websocket port
|
|
291
|
-
|
|
291
|
+
if int(version) > 252 and self._do_not_start_ws:
|
|
292
|
+
cmd.append("-1")
|
|
293
|
+
else:
|
|
294
|
+
cmd.append(str(self._ports[3]))
|
|
292
295
|
logging.debug(f"Starting WSS: {cmd}\n")
|
|
293
296
|
if is_windows:
|
|
294
297
|
startupinfo = subprocess.STARTUPINFO()
|
|
@@ -240,7 +240,7 @@ class _Simba:
|
|
|
240
240
|
def render(self):
|
|
241
241
|
"""Force render update in EnSight."""
|
|
242
242
|
self.ensight.view_transf.zoom(1)
|
|
243
|
-
self.ensight.render()
|
|
243
|
+
# self.ensight.render()
|
|
244
244
|
self.ensight.refresh(1)
|
|
245
245
|
|
|
246
246
|
def _probe_setup(self, part_obj, get_probe_data=False):
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
ansys/pyensight/core/__init__.py,sha256=BCfpDonS2OZRM2O6wjcyOYhLSgdy9hMQRl6G-_9Bvkg,845
|
|
2
2
|
ansys/pyensight/core/common.py,sha256=GhDxSoSscT9ObyTyEcuP0zeKKVJOpWVVYG0SwEby7CA,7575
|
|
3
3
|
ansys/pyensight/core/deep_pixel_view.html,sha256=6u4mGOuzJiPze8N8pIKJsEGPv5y6-zb38m9IfrarATE,3510
|
|
4
|
-
ansys/pyensight/core/dockerlauncher.py,sha256=
|
|
4
|
+
ansys/pyensight/core/dockerlauncher.py,sha256=QhJ7rhKKNL1XxSWeyBNndA9JEotJEZbLkC9eF0sCJjA,30672
|
|
5
5
|
ansys/pyensight/core/dvs.py,sha256=zRhizBkIUCk09BaR-7BxkC6EkIEjG7rU5vznh45QOzA,32018
|
|
6
6
|
ansys/pyensight/core/enscontext.py,sha256=GSKkjZt1QEPyHEQ59EEBgKGMik9vjCdR9coR4uX7fEw,12141
|
|
7
7
|
ansys/pyensight/core/enshell_grpc.py,sha256=OPK84J44kwjbAYQM4acb9zd-abYYkMNculKaWZeVDIk,17123
|
|
8
8
|
ansys/pyensight/core/ensight_grpc.py,sha256=IitEgMzBJTyTgQff0sXPvGkVnC2E9qRKw-HXCF-mVvA,29713
|
|
9
9
|
ansys/pyensight/core/ensobj.py,sha256=uDtM2KHcAwd4hu5pcUYWbSD729ApHGIvuqZhEq8PxTI,18558
|
|
10
10
|
ansys/pyensight/core/launch_ensight.py,sha256=iZJM6GdpzGRDLzrv1V2QZ5veIOpNSB5xPpJUFY7rBuo,10254
|
|
11
|
-
ansys/pyensight/core/launcher.py,sha256=
|
|
11
|
+
ansys/pyensight/core/launcher.py,sha256=DtyaK1xJGOAzlvb6wnl9nA2o59w3x7uWC6UuZ8htT3k,13424
|
|
12
12
|
ansys/pyensight/core/libuserd.py,sha256=P6j-mgT6kDYiuRRDKEepJvZusBYa5jo4AQIwK__9R6Q,76020
|
|
13
13
|
ansys/pyensight/core/listobj.py,sha256=Trw87IxIMXtmUd1DzywRmMzORU704AG4scX4fqYmO6M,9340
|
|
14
|
-
ansys/pyensight/core/locallauncher.py,sha256=
|
|
14
|
+
ansys/pyensight/core/locallauncher.py,sha256=nxbPI0FuErjVj4mhzhBjGayxcntDs5QD5bVmobPeQg4,19295
|
|
15
15
|
ansys/pyensight/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
ansys/pyensight/core/renderable.py,sha256=KidVTVCZ4hKYq54pP9KoJ8OCxeWBXNUJYyKSwMZ2Sls,36362
|
|
17
17
|
ansys/pyensight/core/session.py,sha256=6iIzw_PPpJ0ry9jwLfNdm5e5x_ppzamYv7BS1rtNZDw,74455
|
|
@@ -29,9 +29,9 @@ ansys/pyensight/core/utils/query.py,sha256=OXKDbf1sOTX0sUvtKcp64LhVl-BcrEsE43w8u
|
|
|
29
29
|
ansys/pyensight/core/utils/readers.py,sha256=_IluAWz8mmoe5SM3hAewHIqlhtKMfEqrUJoQOlJ4U4I,12138
|
|
30
30
|
ansys/pyensight/core/utils/support.py,sha256=QI3z9ex7zJxjFbkCPba9DWqWgPFIThORqr0nvRfVjuc,4089
|
|
31
31
|
ansys/pyensight/core/utils/variables.py,sha256=ZUiJdDIeRcowrnLXaJQqGwA0RbrfXhc1s4o4v9A4PiY,95133
|
|
32
|
-
ansys/pyensight/core/utils/views.py,sha256=
|
|
32
|
+
ansys/pyensight/core/utils/views.py,sha256=K5r-QcXGgg_S_QMpYGAr34VZLq9A1bYRbVJYPVqRxJ8,24677
|
|
33
33
|
ansys/pyensight/core/utils/resources/Materials/000_sky.exr,sha256=xAR1gFd2uxPZDnvgfegdhEhRaqKtZldQDiR_-1rHKO0,8819933
|
|
34
|
-
ansys_pyensight_core-0.10.
|
|
35
|
-
ansys_pyensight_core-0.10.
|
|
36
|
-
ansys_pyensight_core-0.10.
|
|
37
|
-
ansys_pyensight_core-0.10.
|
|
34
|
+
ansys_pyensight_core-0.10.16.dist-info/licenses/LICENSE,sha256=K6LiJHOa9IbWFelXmXNRzFr3zG45SOGZIN7vdLdURGU,1097
|
|
35
|
+
ansys_pyensight_core-0.10.16.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
36
|
+
ansys_pyensight_core-0.10.16.dist-info/METADATA,sha256=8jiLPfjyg91rto_LtnWigDDS1Dk3O3ibzZtXgrgr-TI,12201
|
|
37
|
+
ansys_pyensight_core-0.10.16.dist-info/RECORD,,
|
|
File without changes
|
{ansys_pyensight_core-0.10.14.dist-info → ansys_pyensight_core-0.10.16.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|