ansys-pyensight-core 0.10.14__tar.gz → 0.10.15__tar.gz
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-0.10.14 → ansys_pyensight_core-0.10.15}/PKG-INFO +1 -1
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/pyproject.toml +1 -1
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/dockerlauncher.py +6 -2
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/launcher.py +4 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/locallauncher.py +5 -2
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/views.py +1 -1
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/LICENSE +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/README.rst +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/__init__.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/common.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/deep_pixel_view.html +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/dvs.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/enscontext.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/enshell_grpc.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/ensight_grpc.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/ensobj.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/launch_ensight.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/libuserd.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/listobj.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/py.typed +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/renderable.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/session.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/sgeo_poll.html +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/__init__.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/adr.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/dsg_server.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/export.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/omniverse.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/omniverse_cli.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/omniverse_dsg_server.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/omniverse_glb_server.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/parts.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/query.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/readers.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/resources/Materials/000_sky.exr +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/support.py +0 -0
- {ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/variables.py +0 -0
|
@@ -539,10 +539,14 @@ class DockerLauncher(Launcher):
|
|
|
539
539
|
# http port
|
|
540
540
|
wss_cmd += " --http_port " + str(self._service_host_port["http"][1])
|
|
541
541
|
# vnc port
|
|
542
|
-
if int(self._ansys_version) > 252:
|
|
542
|
+
if int(self._ansys_version) > 252 and self._rest_ws_separate_loops:
|
|
543
543
|
wss_cmd += " --separate_loops"
|
|
544
544
|
wss_cmd += f" --security_token {self._secret_key}"
|
|
545
|
-
wss_cmd += " --client_port
|
|
545
|
+
wss_cmd += " --client_port "
|
|
546
|
+
if int(self._ansys_version) > 252 and self._do_not_start_ws:
|
|
547
|
+
wss_cmd += "-1"
|
|
548
|
+
else:
|
|
549
|
+
wss_cmd += "1999"
|
|
546
550
|
# optional PIM instance header
|
|
547
551
|
if self._pim_instance is not None:
|
|
548
552
|
# Add the PIM instance header. wss needs to return this optional
|
{ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/launcher.py
RENAMED
|
@@ -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):
|
|
File without changes
|
|
File without changes
|
{ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/__init__.py
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/common.py
RENAMED
|
File without changes
|
|
File without changes
|
{ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/dvs.py
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/enscontext.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/ensobj.py
RENAMED
|
File without changes
|
|
File without changes
|
{ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/libuserd.py
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/listobj.py
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/py.typed
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/renderable.py
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/session.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ansys_pyensight_core-0.10.14 → ansys_pyensight_core-0.10.15}/src/ansys/pyensight/core/utils/adr.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|