ansys-pyensight-core 0.8.6__py3-none-any.whl → 0.8.8__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/exts/ansys.geometry.service/ansys/geometry/service/extension.py +1 -1
- ansys/pyensight/core/exts/ansys.geometry.service/config/extension.toml +1 -1
- ansys/pyensight/core/exts/ansys.geometry.service/docs/CHANGELOG.md +4 -1
- ansys/pyensight/core/exts/ansys.geometry.serviceui/config/extension.toml +1 -1
- ansys/pyensight/core/exts/ansys.geometry.serviceui/docs/CHANGELOG.md +5 -2
- ansys/pyensight/core/launcher.py +1 -1
- ansys/pyensight/core/utils/omniverse.py +8 -1
- {ansys_pyensight_core-0.8.6.dist-info → ansys_pyensight_core-0.8.8.dist-info}/METADATA +2 -2
- {ansys_pyensight_core-0.8.6.dist-info → ansys_pyensight_core-0.8.8.dist-info}/RECORD +11 -11
- {ansys_pyensight_core-0.8.6.dist-info → ansys_pyensight_core-0.8.8.dist-info}/LICENSE +0 -0
- {ansys_pyensight_core-0.8.6.dist-info → ansys_pyensight_core-0.8.8.dist-info}/WHEEL +0 -0
|
@@ -331,7 +331,7 @@ class AnsysGeometryServiceServerExtension(omni.ext.IExt):
|
|
|
331
331
|
cmd.extend(["--ext-folder", kit_dir])
|
|
332
332
|
cmd.extend(["--enable", "ansys.geometry.service"])
|
|
333
333
|
if self.security_token:
|
|
334
|
-
cmd.append(f
|
|
334
|
+
cmd.append(f'--/exts/ansys.geometry.service/securityCode="{self.security_token}"')
|
|
335
335
|
if self.temporal:
|
|
336
336
|
cmd.append("--/exts/ansys.geometry.service/temporal=1")
|
|
337
337
|
if self.vrmode:
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
## [0.
|
|
6
|
+
## [0.8.7] - 2024-07-12
|
|
7
|
+
- Support for time varying data and temporal scaling
|
|
8
|
+
|
|
9
|
+
## [0.8.4] - 2024-06-28
|
|
7
10
|
- Initial kit version of ANSYS Geometry Service Server
|
|
8
11
|
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
## [0.
|
|
7
|
-
-
|
|
6
|
+
## [0.8.7] - 2024-07-12
|
|
7
|
+
- Support for time varying data and temporal scaling
|
|
8
|
+
|
|
9
|
+
## [0.8.4] - 2024-06-28
|
|
10
|
+
- Initial kit version of ANSYS Geometry Service Server
|
|
8
11
|
|
ansys/pyensight/core/launcher.py
CHANGED
|
@@ -180,7 +180,7 @@ class Launcher:
|
|
|
180
180
|
for process in psutil.process_iter():
|
|
181
181
|
try:
|
|
182
182
|
process_cmdline = process.cmdline()
|
|
183
|
-
except (psutil.AccessDenied, psutil.ZombieProcess):
|
|
183
|
+
except (psutil.AccessDenied, psutil.ZombieProcess, OSError):
|
|
184
184
|
continue
|
|
185
185
|
if not process_cmdline:
|
|
186
186
|
continue
|
|
@@ -173,6 +173,7 @@ class Omniverse:
|
|
|
173
173
|
temporal: bool = False,
|
|
174
174
|
live: bool = True,
|
|
175
175
|
debug_filename: str = "",
|
|
176
|
+
time_scale: float = 1.0,
|
|
176
177
|
options: dict = {},
|
|
177
178
|
) -> None:
|
|
178
179
|
"""Ensure that an EnSight dsg -> omniverse server is running
|
|
@@ -200,9 +201,13 @@ class Omniverse:
|
|
|
200
201
|
If True, one can call 'update()' to send updated geometry to Omniverse.
|
|
201
202
|
If False, the Omniverse connection will push a single update and then
|
|
202
203
|
disconnect. Defaults to True.
|
|
204
|
+
time_scale : float
|
|
205
|
+
Multiply all EnSight time values by this factor before exporting to Omniverse.
|
|
206
|
+
The default is 1.0.
|
|
203
207
|
debug_filename : str
|
|
204
208
|
If the name of a file is provided, it will be used to save logging information on
|
|
205
|
-
the connection between EnSight and Omniverse.
|
|
209
|
+
the connection between EnSight and Omniverse. This option is no longer supported,
|
|
210
|
+
but the API remains for backwards compatibility.
|
|
206
211
|
options : dict
|
|
207
212
|
Allows for a fallback for the grpc host/port and the security token.
|
|
208
213
|
"""
|
|
@@ -237,6 +242,8 @@ class Omniverse:
|
|
|
237
242
|
cmd.append("--/exts/ansys.geometry.service/vrmode=1")
|
|
238
243
|
if normalize_geometry:
|
|
239
244
|
cmd.append("--/exts/ansys.geometry.service/normalizeGeometry=1")
|
|
245
|
+
if time_scale != 1.0:
|
|
246
|
+
cmd.append(f"--/exts/ansys.geometry.service/timeScale={time_scale}")
|
|
240
247
|
cmd.append(f"--/exts/ansys.geometry.service/omniUrl={omniverse_path}")
|
|
241
248
|
cmd.append(f"--/exts/ansys.geometry.service/dsgUrl={dsg_uri}")
|
|
242
249
|
cmd.append("--/exts/ansys.geometry.service/run=1")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ansys-pyensight-core
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.8
|
|
4
4
|
Summary: A python wrapper for Ansys EnSight
|
|
5
5
|
Author-email: "ANSYS, Inc." <pyansys.core@ansys.com>
|
|
6
6
|
Maintainer-email: "ANSYS, Inc." <pyansys.core@ansys.com>
|
|
@@ -19,7 +19,7 @@ Requires-Dist: importlib-metadata>=4.0; python_version<='3.8'
|
|
|
19
19
|
Requires-Dist: ansys-api-pyensight==0.4.1
|
|
20
20
|
Requires-Dist: requests>=2.28.2
|
|
21
21
|
Requires-Dist: docker>=6.1.0
|
|
22
|
-
Requires-Dist: urllib3<
|
|
22
|
+
Requires-Dist: urllib3<3.0.0
|
|
23
23
|
Requires-Dist: numpy>=1.21.0,<2
|
|
24
24
|
Requires-Dist: Pillow>=9.3.0
|
|
25
25
|
Requires-Dist: pypng>=0.0.20
|
|
@@ -6,7 +6,7 @@ ansys/pyensight/core/enshell_grpc.py,sha256=ijRcByqdG0ZIi958Co860w2mnBIklfguI6s8
|
|
|
6
6
|
ansys/pyensight/core/ensight_grpc.py,sha256=BJaErleSPrtI8myTIh0m9awFWPaUxrQmHpbuyR3RpM4,16847
|
|
7
7
|
ansys/pyensight/core/ensobj.py,sha256=uDtM2KHcAwd4hu5pcUYWbSD729ApHGIvuqZhEq8PxTI,18558
|
|
8
8
|
ansys/pyensight/core/launch_ensight.py,sha256=UyTDDmxru864YAihTY9EQ5NIbKFRiLpWGPHMu7JUgyY,6175
|
|
9
|
-
ansys/pyensight/core/launcher.py,sha256=
|
|
9
|
+
ansys/pyensight/core/launcher.py,sha256=yl-d3dqvMHCGSistEEA2q0mwIqTf1Gz18SB499jVtNI,12289
|
|
10
10
|
ansys/pyensight/core/listobj.py,sha256=Trw87IxIMXtmUd1DzywRmMzORU704AG4scX4fqYmO6M,9340
|
|
11
11
|
ansys/pyensight/core/locallauncher.py,sha256=1yrWTba98BdiEz7q6-N4_wlR6s10s9Xs2eQur5tNeyc,14134
|
|
12
12
|
ansys/pyensight/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -14,26 +14,26 @@ ansys/pyensight/core/renderable.py,sha256=hm4sXV-ZcpdfC_AJexycAX8zdsbWnsd-tMeUve
|
|
|
14
14
|
ansys/pyensight/core/session.py,sha256=AHTRbX0sDlvtUf8lyRoXetiICmLWO7n26Ni9lMy7tBY,74363
|
|
15
15
|
ansys/pyensight/core/sgeo_poll.html,sha256=1M4BIc5CZpYA3b40qzk22NcPCLhjFnWdoS2PrS6Rhn4,752
|
|
16
16
|
ansys/pyensight/core/exts/ansys.geometry.service/ansys/geometry/service/__init__.py,sha256=jWNP3Ue7YZpXD9xopEkwbDillK_lkrMkoPLjDRmcSWQ,26
|
|
17
|
-
ansys/pyensight/core/exts/ansys.geometry.service/ansys/geometry/service/extension.py,sha256
|
|
18
|
-
ansys/pyensight/core/exts/ansys.geometry.service/config/extension.toml,sha256=
|
|
17
|
+
ansys/pyensight/core/exts/ansys.geometry.service/ansys/geometry/service/extension.py,sha256=-5oufoYLnOtI9xO6pxhS5TSYI1N2rYMsEfwFmOHVNqk,14748
|
|
18
|
+
ansys/pyensight/core/exts/ansys.geometry.service/config/extension.toml,sha256=9kKOY7qJkcPU_hC69lrG6SRwQDh146V53C-FrkusBI4,2259
|
|
19
19
|
ansys/pyensight/core/exts/ansys.geometry.service/data/icon.png,sha256=FCgr8efQzzkskh9a5W54VX8HXqyAMDkto0c0twoRZjg,24160
|
|
20
20
|
ansys/pyensight/core/exts/ansys.geometry.service/data/preview.png,sha256=7Ac7dYZWWbjrZNohJs1AC0F5FKZFFK9tt_xzFuLCKhY,842766
|
|
21
|
-
ansys/pyensight/core/exts/ansys.geometry.service/docs/CHANGELOG.md,sha256
|
|
21
|
+
ansys/pyensight/core/exts/ansys.geometry.service/docs/CHANGELOG.md,sha256=-Lmxzgr4d9vIJ9n2yrh8tdUNPPVDj614eJ7Oj_I6M_c,265
|
|
22
22
|
ansys/pyensight/core/exts/ansys.geometry.service/docs/README.md,sha256=nBZQ7em3Tk9td5atzsfhl3X9LX4UUH3S7Iawb68HAqU,558
|
|
23
23
|
ansys/pyensight/core/exts/ansys.geometry.service/docs/index.rst,sha256=Zib6dVTosDVOagTBGVxXmQX4GKJVc0l2GYJxK6wm92s,322
|
|
24
24
|
ansys/pyensight/core/exts/ansys.geometry.serviceui/ansys/geometry/serviceui/__init__.py,sha256=jWNP3Ue7YZpXD9xopEkwbDillK_lkrMkoPLjDRmcSWQ,26
|
|
25
25
|
ansys/pyensight/core/exts/ansys.geometry.serviceui/ansys/geometry/serviceui/extension.py,sha256=Gh0fHbJNGBT4829IZnYI8saGxEadwVOiXs3rw5o4ITo,7851
|
|
26
|
-
ansys/pyensight/core/exts/ansys.geometry.serviceui/config/extension.toml,sha256=
|
|
26
|
+
ansys/pyensight/core/exts/ansys.geometry.serviceui/config/extension.toml,sha256=JsEf-coSDhltW-36yY7DWWYME47J1uQ_eyoJEP6P6fA,1788
|
|
27
27
|
ansys/pyensight/core/exts/ansys.geometry.serviceui/data/icon.png,sha256=FCgr8efQzzkskh9a5W54VX8HXqyAMDkto0c0twoRZjg,24160
|
|
28
28
|
ansys/pyensight/core/exts/ansys.geometry.serviceui/data/preview.png,sha256=wC82tRKXp-DHEdg2weOKvmyGjddlRScGWCOHAnzzkm0,824063
|
|
29
|
-
ansys/pyensight/core/exts/ansys.geometry.serviceui/docs/CHANGELOG.md,sha256
|
|
29
|
+
ansys/pyensight/core/exts/ansys.geometry.serviceui/docs/CHANGELOG.md,sha256=-Lmxzgr4d9vIJ9n2yrh8tdUNPPVDj614eJ7Oj_I6M_c,265
|
|
30
30
|
ansys/pyensight/core/exts/ansys.geometry.serviceui/docs/README.md,sha256=dWqtrZ-qs0bSSanULQ1m44W1FdUcfF5hKIK4sKYoW1c,552
|
|
31
31
|
ansys/pyensight/core/exts/ansys.geometry.serviceui/docs/index.rst,sha256=Q18IW65rMYg1rCufMQYqpMPbeSnY0alKHgvN1ENr5Sc,328
|
|
32
32
|
ansys/pyensight/core/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
33
33
|
ansys/pyensight/core/utils/adr.py,sha256=XslZhlwcrSGzOlnhzprOv3ju_ppxxsWBjCnQL5KiNms,3570
|
|
34
34
|
ansys/pyensight/core/utils/dsg_server.py,sha256=fSsxUI1Q44pAyNusBkUTueh4G1xUbIltduLChTVgGRA,30153
|
|
35
35
|
ansys/pyensight/core/utils/export.py,sha256=ZNpU3earAnRMBHZa6I8nTwMYY54WctXApJfMTkREBNA,23189
|
|
36
|
-
ansys/pyensight/core/utils/omniverse.py,sha256=
|
|
36
|
+
ansys/pyensight/core/utils/omniverse.py,sha256=Ccwyp_auEOozSTrMBl4gEZazoNse6ayDw8zSGvrsGMQ,12342
|
|
37
37
|
ansys/pyensight/core/utils/omniverse_dsg_server.py,sha256=O-eyHMhs6ykevC7ZH82D5as5NU1N-Ve6syz72-hYVi0,34696
|
|
38
38
|
ansys/pyensight/core/utils/parts.py,sha256=zST00r76kjsLLclBaKoOtuYhDUSdQr0vAooOG7AUea0,53372
|
|
39
39
|
ansys/pyensight/core/utils/query.py,sha256=OXKDbf1sOTX0sUvtKcp64LhVl-BcrEsE43w8uMxLOYI,19828
|
|
@@ -46,7 +46,7 @@ ansys/pyensight/core/utils/resources/Materials/Fieldstone.mdl,sha256=_7z4BzzrRGU
|
|
|
46
46
|
ansys/pyensight/core/utils/resources/Materials/Fieldstone/Fieldstone_BaseColor.png,sha256=CyxY5YrvbJxFzUUI-8Q90zOd6xwd85JPzjnUB-vPJ0s,501090
|
|
47
47
|
ansys/pyensight/core/utils/resources/Materials/Fieldstone/Fieldstone_N.png,sha256=Az1m4bK-PWecsErsuZh4-kkUnui9w4TrCxrGwwI091I,795424
|
|
48
48
|
ansys/pyensight/core/utils/resources/Materials/Fieldstone/Fieldstone_ORM.png,sha256=x0tUgUxjk53nsnleEy95tI1tUvFFQHGrB3pZVkd7b00,549202
|
|
49
|
-
ansys_pyensight_core-0.8.
|
|
50
|
-
ansys_pyensight_core-0.8.
|
|
51
|
-
ansys_pyensight_core-0.8.
|
|
52
|
-
ansys_pyensight_core-0.8.
|
|
49
|
+
ansys_pyensight_core-0.8.8.dist-info/LICENSE,sha256=qQWivZ12ETN5l3QxvTARY-QI5eoRRlyHdwLlAj0Bg5I,1089
|
|
50
|
+
ansys_pyensight_core-0.8.8.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
51
|
+
ansys_pyensight_core-0.8.8.dist-info/METADATA,sha256=z_K74y8xiA7JqnjUszfVPWqaaMgC_JCtgr9d8bN41Pc,11834
|
|
52
|
+
ansys_pyensight_core-0.8.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|