ansys-speos-core 0.7.0__tar.gz → 0.7.1__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.
Files changed (46) hide show
  1. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/LICENSE +1 -1
  2. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/PKG-INFO +6 -6
  3. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/pyproject.toml +6 -6
  4. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/__init__.py +1 -1
  5. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/body.py +1 -1
  6. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/bsdf.py +1 -1
  7. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/face.py +1 -1
  8. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/generic/constants.py +1 -1
  9. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/generic/general_methods.py +1 -1
  10. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/generic/visualization_methods.py +1 -1
  11. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/geo_ref.py +1 -1
  12. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/intensity.py +1 -1
  13. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/__init__.py +1 -1
  14. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/body.py +1 -1
  15. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/client.py +1 -1
  16. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/crud.py +1 -1
  17. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/face.py +1 -1
  18. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/grpc/transport_options.py +1 -1
  19. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/intensity_template.py +1 -1
  20. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/job.py +1 -1
  21. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/part.py +1 -1
  22. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/proto_message_utils.py +1 -1
  23. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/scene.py +1 -1
  24. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/sensor_template.py +1 -1
  25. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/simulation_template.py +1 -1
  26. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/sop_template.py +1 -1
  27. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/source_template.py +1 -1
  28. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/spectrum.py +1 -1
  29. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/kernel/vop_template.py +1 -1
  30. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/launcher.py +1 -1
  31. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/logger.py +1 -1
  32. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/lxp.py +1 -1
  33. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/opt_prop.py +1 -1
  34. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/part.py +1 -1
  35. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/project.py +39 -10
  36. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/proto_message_utils.py +1 -1
  37. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/sensor.py +1 -1
  38. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/simulation.py +1394 -127
  39. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/source.py +1 -1
  40. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/spectrum.py +1 -1
  41. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/speos.py +1 -1
  42. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/workflow/__init__.py +1 -1
  43. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/workflow/combine_speos.py +1 -1
  44. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/workflow/open_result.py +1 -1
  45. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/README.rst +0 -0
  46. {ansys_speos_core-0.7.0 → ansys_speos_core-0.7.1}/src/ansys/speos/core/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
3
+ Copyright (c) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of
6
6
  this software and associated documentation files (the "Software"), to deal in
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ansys-speos-core
3
- Version: 0.7.0
3
+ Version: 0.7.1
4
4
  Summary: A Python wrapper for Ansys Speos
5
5
  Author-email: "ANSYS, Inc." <pyansys.core@ansys.com>
6
6
  Maintainer-email: "ANSYS, Inc." <pyansys.core@ansys.com>
@@ -27,7 +27,7 @@ Requires-Dist: ansys-api-speos==0.15.3
27
27
  Requires-Dist: ansys-tools-common>=0.3.1
28
28
  Requires-Dist: numpy>=1.20.3,<3
29
29
  Requires-Dist: comtypes>=1.4,<1.5; platform_system=='Windows'
30
- Requires-Dist: ansys-sphinx-theme[autoapi]==1.6.3 ; extra == "doc"
30
+ Requires-Dist: ansys-sphinx-theme[autoapi]==1.6.4 ; extra == "doc"
31
31
  Requires-Dist: ansys-tools-visualization-interface>=0.8.3 ; extra == "doc"
32
32
  Requires-Dist: numpydoc==1.10.0 ; extra == "doc"
33
33
  Requires-Dist: Sphinx==8.1.3 ; extra == "doc"
@@ -36,7 +36,7 @@ Requires-Dist: sphinxcontrib-mermaid==1.2.3 ; extra == "doc"
36
36
  Requires-Dist: myst-parser==4.0.1 ; extra == "doc"
37
37
  Requires-Dist: nbsphinx==0.9.8 ; extra == "doc"
38
38
  Requires-Dist: jupytext==1.18.1 ; extra == "doc"
39
- Requires-Dist: jupyterlab==4.5.0 ; extra == "doc"
39
+ Requires-Dist: jupyterlab==4.5.1 ; extra == "doc"
40
40
  Requires-Dist: jupyter-server==2.17.0 ; extra == "doc"
41
41
  Requires-Dist: nbconvert==7.16.6 ; extra == "doc"
42
42
  Requires-Dist: pyvista[jupyter]>=0.43,<0.47 ; extra == "doc"
@@ -47,9 +47,9 @@ Requires-Dist: jupyterlab>=3 ; extra == "jupyter"
47
47
  Requires-Dist: ipywidgets ; extra == "jupyter"
48
48
  Requires-Dist: pyvista[jupyter]>=0.43,<0.47 ; extra == "jupyter"
49
49
  Requires-Dist: ansys-tools-visualization-interface>=0.8.3 ; extra == "jupyter"
50
- Requires-Dist: notebook==7.5.0 ; extra == "jupyter"
51
- Requires-Dist: psutil==7.1.3 ; extra == "tests"
52
- Requires-Dist: pytest==9.0.1 ; extra == "tests"
50
+ Requires-Dist: notebook==7.5.1 ; extra == "jupyter"
51
+ Requires-Dist: psutil==7.2.1 ; extra == "tests"
52
+ Requires-Dist: pytest==9.0.2 ; extra == "tests"
53
53
  Requires-Dist: pyvista>=0.40.0,<0.47 ; extra == "tests"
54
54
  Requires-Dist: ansys-tools-visualization-interface>=0.8.3 ; extra == "tests"
55
55
  Requires-Dist: ansys-platform-instancemanagement>=1.0.3 ; extra == "tests"
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
4
4
 
5
5
  [project]
6
6
  name = "ansys-speos-core"
7
- version = "0.7.0"
7
+ version = "0.7.1"
8
8
  description = "A Python wrapper for Ansys Speos"
9
9
  readme = "README.rst"
10
10
  requires-python = ">=3.10"
@@ -42,8 +42,8 @@ graphics = [
42
42
  "ansys-tools-visualization-interface>=0.8.3",
43
43
  ]
44
44
  tests = [
45
- "psutil==7.1.3",
46
- "pytest==9.0.1",
45
+ "psutil==7.2.1",
46
+ "pytest==9.0.2",
47
47
  "pyvista>=0.40.0,<0.47",
48
48
  "ansys-tools-visualization-interface>=0.8.3",
49
49
  "ansys-platform-instancemanagement>=1.0.3",
@@ -55,10 +55,10 @@ jupyter = [
55
55
  "ipywidgets",
56
56
  "pyvista[jupyter]>=0.43,<0.47",
57
57
  "ansys-tools-visualization-interface>=0.8.3",
58
- "notebook==7.5.0",
58
+ "notebook==7.5.1",
59
59
  ]
60
60
  doc = [
61
- "ansys-sphinx-theme[autoapi]==1.6.3",
61
+ "ansys-sphinx-theme[autoapi]==1.6.4",
62
62
  "ansys-tools-visualization-interface>=0.8.3",
63
63
  "numpydoc==1.10.0",
64
64
  "Sphinx==8.1.3",
@@ -67,7 +67,7 @@ doc = [
67
67
  "myst-parser==4.0.1",
68
68
  "nbsphinx==0.9.8",
69
69
  "jupytext==1.18.1",
70
- "jupyterlab==4.5.0",
70
+ "jupyterlab==4.5.1",
71
71
  "jupyter-server==2.17.0",
72
72
  "nbconvert==7.16.6",
73
73
  "pyvista[jupyter]>=0.43,<0.47",
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -52,6 +52,7 @@ from ansys.speos.core.simulation import (
52
52
  SimulationDirect,
53
53
  SimulationInteractive,
54
54
  SimulationInverse,
55
+ SimulationVirtualBSDF,
55
56
  )
56
57
  from ansys.speos.core.source import (
57
58
  SourceAmbientNaturalLight,
@@ -225,7 +226,8 @@ class Project:
225
226
  )
226
227
  case _:
227
228
  msg = "Requested feature {} does not exist in supported list {}".format(
228
- feature_type, [SourceSurface, SourceLuminaire, SourceRayFile]
229
+ feature_type,
230
+ [SourceSurface, SourceLuminaire, SourceRayFile, SourceAmbientNaturalLight],
229
231
  )
230
232
  raise TypeError(msg)
231
233
  self._features.append(feature)
@@ -237,7 +239,7 @@ class Project:
237
239
  description: str = "",
238
240
  feature_type: type = SimulationDirect,
239
241
  metadata: Optional[Mapping[str, str]] = None,
240
- ) -> Union[SimulationDirect, SimulationInteractive, SimulationInverse]:
242
+ ) -> Union[SimulationDirect, SimulationInteractive, SimulationInverse, SimulationVirtualBSDF]:
241
243
  """Create a new Simulation feature.
242
244
 
243
245
  Parameters
@@ -261,7 +263,8 @@ class Project:
261
263
  -------
262
264
  Union[ansys.speos.core.simulation.SimulationDirect,\
263
265
  ansys.speos.core.simulation.SimulationInteractive,\
264
- ansys.speos.core.simulation.SimulationInverse]
266
+ ansys.speos.core.simulation.SimulationInverse, \
267
+ ansys.speos.core.simulation.SimulationVirtualBSDF]
265
268
  Simulation class instance
266
269
  """
267
270
  if metadata is None:
@@ -296,6 +299,13 @@ class Project:
296
299
  description=description,
297
300
  metadata=metadata,
298
301
  )
302
+ case "SimulationVirtualBSDF":
303
+ feature = SimulationVirtualBSDF(
304
+ project=self,
305
+ name=name,
306
+ description=description,
307
+ metadata=metadata,
308
+ )
299
309
  case _:
300
310
  msg = "Requested feature {} does not exist in supported list {}".format(
301
311
  feature_type,
@@ -303,6 +313,7 @@ class Project:
303
313
  SimulationDirect,
304
314
  SimulationInverse,
305
315
  SimulationInteractive,
316
+ SimulationVirtualBSDF,
306
317
  ],
307
318
  )
308
319
  raise TypeError(msg)
@@ -437,12 +448,15 @@ class Project:
437
448
  SourceSurface,
438
449
  SourceLuminaire,
439
450
  SourceRayFile,
451
+ SourceAmbientNaturalLight,
440
452
  SensorIrradiance,
441
453
  SensorRadiance,
442
454
  SensorCamera,
455
+ Sensor3DIrradiance,
443
456
  SimulationDirect,
444
457
  SimulationInverse,
445
458
  SimulationInteractive,
459
+ SimulationVirtualBSDF,
446
460
  part.Part,
447
461
  body.Body,
448
462
  face.Face,
@@ -466,12 +480,15 @@ class Project:
466
480
 
467
481
  Returns
468
482
  -------
469
- List[Union[ansys.speos.core.opt_prop.OptProp, ansys.speos.core.source.Surface, \
470
- ansys.speos.core.source.RayFile, ansys.speos.core.source.Luminaire, \
471
- ansys.speos.core.sensor.Camera, \
472
- ansys.speos.core.sensor.Radiance, ansys.speos.core.sensor.Irradiance, \
473
- ansys.speos.core.simulation.Direct, ansys.speos.core.simulation.Interactive, \
474
- ansys.speos.core.simulation.Inverse, ansys.speos.core.part.Part, \
483
+ List[Union[ansys.speos.core.opt_prop.OptProp, ansys.speos.core.source.SourceSurface, \
484
+ ansys.speos.core.source.SourceRayFile, ansys.speos.core.source.SourceLuminaire, \
485
+ ansys.speos.core.source.SourceAmbientNaturalLight, ansys.speos.core.sensor.SensorCamera, \
486
+ ansys.speos.core.sensor.SensorRadiance, ansys.speos.core.sensor.SensorIrradiance, \
487
+ ansys.speos.core.sensor.Sensor3DIrradiance, \
488
+ ansys.speos.core.simulation.SimulationVirtualBSDF, \
489
+ ansys.speos.core.simulation.SimulationDirect, \
490
+ ansys.speos.core.simulation.SimulationInteractive, \
491
+ ansys.speos.core.simulation.SimulationInverse, ansys.speos.core.part.Part, \
475
492
  ansys.speos.core.body.Body, \
476
493
  ansys.speos.core.face.Face, ansys.speos.core.part.Part.SubPart]]
477
494
  Found features.
@@ -635,6 +652,11 @@ class Project:
635
652
  name=inside_dict["name"],
636
653
  feature_type=SimulationInteractive,
637
654
  )
655
+ if len(sim_feat) == 0:
656
+ sim_feat = self.find(
657
+ name=inside_dict["name"],
658
+ feature_type=SimulationVirtualBSDF,
659
+ )
638
660
  sim_feat = sim_feat[0]
639
661
  if sim_feat.job_link is None:
640
662
  inside_dict["simulation_properties"] = (
@@ -878,6 +900,13 @@ class Project:
878
900
  simulation_instance=sim_inst,
879
901
  default_values=False,
880
902
  )
903
+ elif simulation_template_link.HasField("virtual_bsdf_bench_simulation_template"):
904
+ sim_feat = SimulationVirtualBSDF(
905
+ project=self,
906
+ name=sim_inst.name,
907
+ simulation_instance=sim_inst,
908
+ default_values=False,
909
+ )
881
910
  if sim_feat is not None:
882
911
  self._features.append(sim_feat)
883
912
 
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2021 - 2026 ANSYS, Inc. and/or its affiliates.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #