ansys-pyensight-core 0.10.4__tar.gz → 0.10.5__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.4 → ansys_pyensight_core-0.10.5}/PKG-INFO +1 -1
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/pyproject.toml +1 -1
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/dockerlauncher.py +3 -5
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/locallauncher.py +11 -4
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/LICENSE +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/README.rst +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/__init__.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/common.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/deep_pixel_view.html +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/dvs.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/enscontext.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/enshell_grpc.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/ensight_grpc.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/ensobj.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/launch_ensight.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/launcher.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/libuserd.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/listobj.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/py.typed +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/renderable.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/session.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/sgeo_poll.html +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/__init__.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/adr.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/dsg_server.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/export.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/omniverse.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/omniverse_cli.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/omniverse_dsg_server.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/omniverse_glb_server.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/parts.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/query.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/readers.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/resources/Materials/000_sky.exr +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/support.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/variables.py +0 -0
- {ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/views.py +0 -0
|
@@ -384,7 +384,8 @@ class DockerLauncher(Launcher):
|
|
|
384
384
|
|
|
385
385
|
def launch_webui(self, container_env_str):
|
|
386
386
|
# Run websocketserver
|
|
387
|
-
cmd = "
|
|
387
|
+
cmd = f"/ansys_inc/v{self._ansys_version}/FluidsOne/server/linx64/fluidsone"
|
|
388
|
+
cmd += " --main-run-mode post"
|
|
388
389
|
# websocket port - this needs to come first since we now have
|
|
389
390
|
# --add_header as a optional arg that can take an arbitrary
|
|
390
391
|
# number of optional headers.
|
|
@@ -393,10 +394,7 @@ class DockerLauncher(Launcher):
|
|
|
393
394
|
http_port = self._service_host_port["http"][1]
|
|
394
395
|
ws_port = self._service_host_port["ws"][1]
|
|
395
396
|
cmd += f" --server-listen-port {webui_port}"
|
|
396
|
-
cmd +=
|
|
397
|
-
f" --server-web-roots /ansys_inc/v{self._ansys_version}/CEI/nexus{self._ansys_version}/"
|
|
398
|
-
)
|
|
399
|
-
cmd += f"ansys{self._ansys_version}/ensight/WebUI/web/ui/"
|
|
397
|
+
cmd += f" --server-web-roots /ansys_inc/v{self._ansys_version}/FluidsOne/web/ui"
|
|
400
398
|
cmd += f" --ensight-grpc-port {grpc_port}"
|
|
401
399
|
cmd += f" --ensight-html-port {http_port}"
|
|
402
400
|
cmd += f" --ensight-ws-port {ws_port}"
|
|
@@ -102,8 +102,16 @@ class LocalLauncher(Launcher):
|
|
|
102
102
|
"""Type of app to launch. Options are ``ensight`` and ``envision``."""
|
|
103
103
|
return self._application
|
|
104
104
|
|
|
105
|
-
def launch_webui(self,
|
|
106
|
-
|
|
105
|
+
def launch_webui(self, version, popen_common):
|
|
106
|
+
if os.environ.get("PYENSIGHT_FLUIDSONE_PATH"):
|
|
107
|
+
fluids_one_path = os.environ["PYENSIGHT_FLUIDSONE_PATH"]
|
|
108
|
+
else:
|
|
109
|
+
awp_path = os.path.dirname(self._install_path)
|
|
110
|
+
platf = "winx64" if self._is_windows() else "linx64"
|
|
111
|
+
fluids_one_path = os.path.join(awp_path, "FluidsOne", "server", platf, "fluids_one")
|
|
112
|
+
if self._is_windows():
|
|
113
|
+
fluids_one_path += ".exe"
|
|
114
|
+
cmd = [fluids_one_path, "--main-run-mode", "post"]
|
|
107
115
|
path_to_webui = self._install_path
|
|
108
116
|
# Dev environment
|
|
109
117
|
path_to_webui_internal = os.path.join(
|
|
@@ -265,7 +273,6 @@ class LocalLauncher(Launcher):
|
|
|
265
273
|
cmd = [os.path.join(self._install_path, "bin", "cpython"), websocket_script]
|
|
266
274
|
if is_windows:
|
|
267
275
|
cmd[0] += ".bat"
|
|
268
|
-
ensight_python = cmd[0]
|
|
269
276
|
cmd.extend(["--http_directory", self.session_directory])
|
|
270
277
|
# http port
|
|
271
278
|
cmd.extend(["--http_port", str(self._ports[2])])
|
|
@@ -312,7 +319,7 @@ class LocalLauncher(Launcher):
|
|
|
312
319
|
self._sessions.append(session)
|
|
313
320
|
|
|
314
321
|
if self._launch_webui:
|
|
315
|
-
self.launch_webui(
|
|
322
|
+
self.launch_webui(version, popen_common)
|
|
316
323
|
return session
|
|
317
324
|
|
|
318
325
|
def stop(self) -> None:
|
|
File without changes
|
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/__init__.py
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/common.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/enscontext.py
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/enshell_grpc.py
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/ensight_grpc.py
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/ensobj.py
RENAMED
|
File without changes
|
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/launcher.py
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/libuserd.py
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/listobj.py
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/py.typed
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/renderable.py
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/session.py
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/sgeo_poll.html
RENAMED
|
File without changes
|
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/adr.py
RENAMED
|
File without changes
|
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/export.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/parts.py
RENAMED
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/query.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ansys_pyensight_core-0.10.4 → ansys_pyensight_core-0.10.5}/src/ansys/pyensight/core/utils/views.py
RENAMED
|
File without changes
|