ansys-pyensight-core 0.7.7__py3-none-any.whl → 0.7.9__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 +52 -44
- ansys/pyensight/core/enscontext.py +17 -15
- ansys/pyensight/core/enshell_grpc.py +8 -8
- ansys/pyensight/core/ensight_grpc.py +37 -35
- ansys/pyensight/core/ensobj.py +4 -4
- ansys/pyensight/core/launch_ensight.py +2 -2
- ansys/pyensight/core/launcher.py +4 -4
- ansys/pyensight/core/listobj.py +18 -16
- ansys/pyensight/core/renderable.py +47 -25
- ansys/pyensight/core/session.py +33 -29
- ansys/pyensight/core/utils/export.py +9 -9
- ansys/pyensight/core/utils/omniverse.py +59 -24
- ansys/pyensight/core/utils/omniverse_dsg_server.py +43 -5
- ansys/pyensight/core/utils/parts.py +50 -36
- ansys/pyensight/core/utils/query.py +41 -35
- ansys/pyensight/core/utils/variables.py +256 -225
- ansys/pyensight/core/utils/views.py +14 -14
- {ansys_pyensight_core-0.7.7.dist-info → ansys_pyensight_core-0.7.9.dist-info}/METADATA +2 -2
- ansys_pyensight_core-0.7.9.dist-info/RECORD +34 -0
- ansys_pyensight_core-0.7.7.dist-info/RECORD +0 -34
- {ansys_pyensight_core-0.7.7.dist-info → ansys_pyensight_core-0.7.9.dist-info}/LICENSE +0 -0
- {ansys_pyensight_core-0.7.7.dist-info → ansys_pyensight_core-0.7.9.dist-info}/WHEEL +0 -0
|
@@ -244,21 +244,21 @@ class Views:
|
|
|
244
244
|
ymin = bounds[1]
|
|
245
245
|
zmax = bounds[5]
|
|
246
246
|
zmin = bounds[2]
|
|
247
|
-
except AttributeError:
|
|
247
|
+
except AttributeError: # pragma: no cover
|
|
248
248
|
# Old method. It assumes autosize is set to True and
|
|
249
249
|
# that the bounds have not been modified
|
|
250
|
-
enabled = False
|
|
251
|
-
if self.ensight.objs.core.BOUNDS is False:
|
|
252
|
-
enabled = True
|
|
253
|
-
self.ensight.view.bounds("ON")
|
|
254
|
-
xmax = vport.AXISXMAX
|
|
255
|
-
xmin = vport.AXISXMIN
|
|
256
|
-
ymax = vport.AXISYMAX
|
|
257
|
-
ymin = vport.AXISYMIN
|
|
258
|
-
zmax = vport.AXISZMAX
|
|
259
|
-
zmin = vport.AXISZMIN
|
|
260
|
-
if enabled:
|
|
261
|
-
self.ensight.view.bounds("OFF")
|
|
250
|
+
enabled = False # pragma: no cover
|
|
251
|
+
if self.ensight.objs.core.BOUNDS is False: # pragma: no cover
|
|
252
|
+
enabled = True # pragma: no cover
|
|
253
|
+
self.ensight.view.bounds("ON") # pragma: no cover
|
|
254
|
+
xmax = vport.AXISXMAX # pragma: no cover
|
|
255
|
+
xmin = vport.AXISXMIN # pragma: no cover
|
|
256
|
+
ymax = vport.AXISYMAX # pragma: no cover
|
|
257
|
+
ymin = vport.AXISYMIN # pragma: no cover
|
|
258
|
+
zmax = vport.AXISZMAX # pragma: no cover
|
|
259
|
+
zmin = vport.AXISZMIN # pragma: no cover
|
|
260
|
+
if enabled: # pragma: no cover
|
|
261
|
+
self.ensight.view.bounds("OFF") # pragma: no cover
|
|
262
262
|
xavg = (xmax + xmin) / 2
|
|
263
263
|
yavg = (ymax + ymin) / 2
|
|
264
264
|
zavg = (zmax + zmin) / 2
|
|
@@ -345,7 +345,7 @@ class Views:
|
|
|
345
345
|
if not self.views_dict.get(name):
|
|
346
346
|
raise KeyError("ERROR: view set not available")
|
|
347
347
|
found = self.views_dict.get(name)
|
|
348
|
-
if found:
|
|
348
|
+
if found: # pragma: no cover
|
|
349
349
|
viewport, coretransform = found
|
|
350
350
|
vport = self.ensight.objs.core.VPORTS[viewport]
|
|
351
351
|
vport.CORETRANSFORM = coretransform
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ansys-pyensight-core
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.9
|
|
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>
|
|
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
18
|
Requires-Dist: importlib-metadata>=4.0; python_version<='3.8'
|
|
19
|
-
Requires-Dist: ansys-api-pyensight==0.3.
|
|
19
|
+
Requires-Dist: ansys-api-pyensight==0.3.9
|
|
20
20
|
Requires-Dist: requests>=2.28.2
|
|
21
21
|
Requires-Dist: docker>=6.1.0
|
|
22
22
|
Requires-Dist: urllib3<2
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
ansys/pyensight/core/__init__.py,sha256=ZOASvqNxSR8CGJDHQACGwjtFVvI_vmmfbpy1IAmEJhk,828
|
|
2
|
+
ansys/pyensight/core/deep_pixel_view.html,sha256=oZmcCIS3Dqqsoj8oheYubLAH2ZVKXao3iJM2WXYBEKs,3421
|
|
3
|
+
ansys/pyensight/core/dockerlauncher.py,sha256=8ZqwIMtXvb2knax1SvhysstZuMRpc_9MXdatXF1UCHA,28203
|
|
4
|
+
ansys/pyensight/core/enscontext.py,sha256=GSKkjZt1QEPyHEQ59EEBgKGMik9vjCdR9coR4uX7fEw,12141
|
|
5
|
+
ansys/pyensight/core/enshell_grpc.py,sha256=ijRcByqdG0ZIi958Co860w2mnBIklfguI6s8sewcR8Q,15904
|
|
6
|
+
ansys/pyensight/core/ensight_grpc.py,sha256=BJaErleSPrtI8myTIh0m9awFWPaUxrQmHpbuyR3RpM4,16847
|
|
7
|
+
ansys/pyensight/core/ensobj.py,sha256=uDtM2KHcAwd4hu5pcUYWbSD729ApHGIvuqZhEq8PxTI,18558
|
|
8
|
+
ansys/pyensight/core/launch_ensight.py,sha256=UyTDDmxru864YAihTY9EQ5NIbKFRiLpWGPHMu7JUgyY,6175
|
|
9
|
+
ansys/pyensight/core/launcher.py,sha256=nnNXKEsV82Eu1S9eSp8UzZI7YmSVHWyLhhOEbiYhzfQ,10865
|
|
10
|
+
ansys/pyensight/core/listobj.py,sha256=Trw87IxIMXtmUd1DzywRmMzORU704AG4scX4fqYmO6M,9340
|
|
11
|
+
ansys/pyensight/core/locallauncher.py,sha256=sgaPrG-7ctXZ_ytGuHeriiVmgvI0kUeX6nKVJ4OiDUs,13984
|
|
12
|
+
ansys/pyensight/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
+
ansys/pyensight/core/renderable.py,sha256=5KsZuUJ6MBhUJ7o4CGx9mLwHKv9ICGY-wNws6vx2RPk,33475
|
|
14
|
+
ansys/pyensight/core/session.py,sha256=ug_7D2AH4AY4VqeQOInDwELWFvmYT4n8kF9mRxyxI-w,71242
|
|
15
|
+
ansys/pyensight/core/sgeo_poll.html,sha256=1M4BIc5CZpYA3b40qzk22NcPCLhjFnWdoS2PrS6Rhn4,752
|
|
16
|
+
ansys/pyensight/core/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
+
ansys/pyensight/core/utils/adr.py,sha256=XslZhlwcrSGzOlnhzprOv3ju_ppxxsWBjCnQL5KiNms,3570
|
|
18
|
+
ansys/pyensight/core/utils/export.py,sha256=UAJQcrElo3esQD0CWdxxjMQ8yE1vB4cdAhF33_uZfQw,22605
|
|
19
|
+
ansys/pyensight/core/utils/omniverse.py,sha256=vKAl3rsUiL2pfaNk86bGH_PuZ6kB2DtXNqrsDJqjcqw,9456
|
|
20
|
+
ansys/pyensight/core/utils/omniverse_dsg_server.py,sha256=Jzqt8fCwieSdkK7X7TynCmtXkQwhdNL5NPPWFHuRCTU,53281
|
|
21
|
+
ansys/pyensight/core/utils/parts.py,sha256=6LRgWOYr0XXDuPqm_mnI8WQwCgyiTRr5B3q5pMnyz7k,52174
|
|
22
|
+
ansys/pyensight/core/utils/query.py,sha256=OXKDbf1sOTX0sUvtKcp64LhVl-BcrEsE43w8uMxLOYI,19828
|
|
23
|
+
ansys/pyensight/core/utils/support.py,sha256=QI3z9ex7zJxjFbkCPba9DWqWgPFIThORqr0nvRfVjuc,4089
|
|
24
|
+
ansys/pyensight/core/utils/variables.py,sha256=50YkHUlgNQKASnz6OYf_ShD9tziAGec8M_1J-1V0eOc,91180
|
|
25
|
+
ansys/pyensight/core/utils/views.py,sha256=ZKhJ6vMT7Rdd4bwJ0egMYTV7-D7Q7I19fF2_j_CMQ0o,12489
|
|
26
|
+
ansys/pyensight/core/utils/resources/Materials/000_sky.exr,sha256=xAR1gFd2uxPZDnvgfegdhEhRaqKtZldQDiR_-1rHKO0,8819933
|
|
27
|
+
ansys/pyensight/core/utils/resources/Materials/Fieldstone.mdl,sha256=_7z4BzzrRGUH_x3urV4sc7t7WJBjJn4jWLOw1AQObgY,2035
|
|
28
|
+
ansys/pyensight/core/utils/resources/Materials/Fieldstone/Fieldstone_BaseColor.png,sha256=CyxY5YrvbJxFzUUI-8Q90zOd6xwd85JPzjnUB-vPJ0s,501090
|
|
29
|
+
ansys/pyensight/core/utils/resources/Materials/Fieldstone/Fieldstone_N.png,sha256=Az1m4bK-PWecsErsuZh4-kkUnui9w4TrCxrGwwI091I,795424
|
|
30
|
+
ansys/pyensight/core/utils/resources/Materials/Fieldstone/Fieldstone_ORM.png,sha256=x0tUgUxjk53nsnleEy95tI1tUvFFQHGrB3pZVkd7b00,549202
|
|
31
|
+
ansys_pyensight_core-0.7.9.dist-info/LICENSE,sha256=qQWivZ12ETN5l3QxvTARY-QI5eoRRlyHdwLlAj0Bg5I,1089
|
|
32
|
+
ansys_pyensight_core-0.7.9.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
33
|
+
ansys_pyensight_core-0.7.9.dist-info/METADATA,sha256=UfFJ2JSqmD1JDcR8GXWWmEhyodUMxA36-YTQc-EKLW4,11830
|
|
34
|
+
ansys_pyensight_core-0.7.9.dist-info/RECORD,,
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
ansys/pyensight/core/__init__.py,sha256=ZOASvqNxSR8CGJDHQACGwjtFVvI_vmmfbpy1IAmEJhk,828
|
|
2
|
-
ansys/pyensight/core/deep_pixel_view.html,sha256=oZmcCIS3Dqqsoj8oheYubLAH2ZVKXao3iJM2WXYBEKs,3421
|
|
3
|
-
ansys/pyensight/core/dockerlauncher.py,sha256=ynRAgd55EhIXIpZhFla-coR-WnI7ouBwmiFejHGlqhs,27195
|
|
4
|
-
ansys/pyensight/core/enscontext.py,sha256=UfeFvY4ZyOcIkgKcIyhs3GohZhWl515QFhJtBxvIfpE,11803
|
|
5
|
-
ansys/pyensight/core/enshell_grpc.py,sha256=jVgOTBWjDCYZyubDEW1ht6TGpmNd4qIrgJX4ih91aVo,15744
|
|
6
|
-
ansys/pyensight/core/ensight_grpc.py,sha256=xq9OCeeDHQEJViTgnH3W05rDQf-py5EqAiZAuI7844Q,16091
|
|
7
|
-
ansys/pyensight/core/ensobj.py,sha256=t1lIDMSDf_u-kJMrpl6plcQKVgtypUE1CupOVtzOg20,18478
|
|
8
|
-
ansys/pyensight/core/launch_ensight.py,sha256=Smkg58jSygQEL3ZX6QKkRH3vRXNZqiUu5RNYWjFzkfw,6135
|
|
9
|
-
ansys/pyensight/core/launcher.py,sha256=sGz4h9QYPNda1RVLNJExBY6udeynWgvkyDqo6N9ZkfE,10785
|
|
10
|
-
ansys/pyensight/core/listobj.py,sha256=Nbw1S86CEiACcfaSutLQpzCTMRfexiBmvkMFoBlcakI,8958
|
|
11
|
-
ansys/pyensight/core/locallauncher.py,sha256=sgaPrG-7ctXZ_ytGuHeriiVmgvI0kUeX6nKVJ4OiDUs,13984
|
|
12
|
-
ansys/pyensight/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
-
ansys/pyensight/core/renderable.py,sha256=YQk2DbhV84S4EUdCVTBsfCVBEa2QKXBc6BGyVqbpP9w,32477
|
|
14
|
-
ansys/pyensight/core/session.py,sha256=aZdZ2NuWgydN9s_68FAqjuH7jWAhn_lHE60cc2HvcN8,70586
|
|
15
|
-
ansys/pyensight/core/sgeo_poll.html,sha256=1M4BIc5CZpYA3b40qzk22NcPCLhjFnWdoS2PrS6Rhn4,752
|
|
16
|
-
ansys/pyensight/core/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
-
ansys/pyensight/core/utils/adr.py,sha256=XslZhlwcrSGzOlnhzprOv3ju_ppxxsWBjCnQL5KiNms,3570
|
|
18
|
-
ansys/pyensight/core/utils/export.py,sha256=L9On_zsuZL5hr3jI7ULeh3IZG_sSNiNToERfn43P-KU,22425
|
|
19
|
-
ansys/pyensight/core/utils/omniverse.py,sha256=CHDk_kGJC0dzCcs5fTKsS0BYggkntshZ--HqxeeN2yM,7670
|
|
20
|
-
ansys/pyensight/core/utils/omniverse_dsg_server.py,sha256=KunDi2sDiPAmK91Rex4gtCj11UmA0hCstpi8aicRQiI,51790
|
|
21
|
-
ansys/pyensight/core/utils/parts.py,sha256=U1WqcO5C2IaMOVlGamDp4Mrk2bt-nX932mFqQLtAuqA,51319
|
|
22
|
-
ansys/pyensight/core/utils/query.py,sha256=cQXt_07ZuNAwueAIXinI3_f7G9lXass6j7G0aRJltZE,19035
|
|
23
|
-
ansys/pyensight/core/utils/support.py,sha256=QI3z9ex7zJxjFbkCPba9DWqWgPFIThORqr0nvRfVjuc,4089
|
|
24
|
-
ansys/pyensight/core/utils/variables.py,sha256=gfAs25Ti6mrmITQJ0fMcnXkj3XZdVGmv_UzagCnrd6o,86581
|
|
25
|
-
ansys/pyensight/core/utils/views.py,sha256=vf4gSBRl6uC_LPwZdzrdMcR0dyi_PwYmRo20CPmjEBE,12209
|
|
26
|
-
ansys/pyensight/core/utils/resources/Materials/000_sky.exr,sha256=xAR1gFd2uxPZDnvgfegdhEhRaqKtZldQDiR_-1rHKO0,8819933
|
|
27
|
-
ansys/pyensight/core/utils/resources/Materials/Fieldstone.mdl,sha256=_7z4BzzrRGUH_x3urV4sc7t7WJBjJn4jWLOw1AQObgY,2035
|
|
28
|
-
ansys/pyensight/core/utils/resources/Materials/Fieldstone/Fieldstone_BaseColor.png,sha256=CyxY5YrvbJxFzUUI-8Q90zOd6xwd85JPzjnUB-vPJ0s,501090
|
|
29
|
-
ansys/pyensight/core/utils/resources/Materials/Fieldstone/Fieldstone_N.png,sha256=Az1m4bK-PWecsErsuZh4-kkUnui9w4TrCxrGwwI091I,795424
|
|
30
|
-
ansys/pyensight/core/utils/resources/Materials/Fieldstone/Fieldstone_ORM.png,sha256=x0tUgUxjk53nsnleEy95tI1tUvFFQHGrB3pZVkd7b00,549202
|
|
31
|
-
ansys_pyensight_core-0.7.7.dist-info/LICENSE,sha256=qQWivZ12ETN5l3QxvTARY-QI5eoRRlyHdwLlAj0Bg5I,1089
|
|
32
|
-
ansys_pyensight_core-0.7.7.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
33
|
-
ansys_pyensight_core-0.7.7.dist-info/METADATA,sha256=XvwhQARF1N4OyXV6XdgXCgvY0qRfr9F-HsCPAVuq9Co,11830
|
|
34
|
-
ansys_pyensight_core-0.7.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|