The combine_speos.py
module#
Summary#
Represents a SPEOS file containing geometries and materials. |
Import geometries and materials from the selected SPEOS files to the existing project. |
|
Create a project by combining geometries and materials from the selected SPEOS files. |
Description#
Import geometries and materials from several SPEOS files to a project.
Module detail#
- combine_speos.insert_speos(project, speos_to_insert)#
Import geometries and materials from the selected SPEOS files to the existing project.
Geometries and materials are placed in the root part, and orientated thanks to the SpeosFileInstance object.
- Parameters:
- project
ansys.speos.core.project.Project
Project in which to import geometries and materials from SPEOS files.
- speos_to_combine
List
[ansys.speos.core.workflow.combine_speos.SpeosFileInstance
] List of SPEOS files, location and orientation of geometries to be imported to the project.
- project
Notes
Sources, Sensors and Simulations are not imported to the project.
- combine_speos.combine_speos(speos, speos_to_combine)#
Create a project by combining geometries and materials from the selected SPEOS files.
Geometries and materials are placed in the root part, and orientated thanks to the SpeosFileInstance object.
- Parameters:
- speos
ansys.speos.core.speos.Speos
Speos session (connected to gRPC server).
- speos_to_combine
List
[ansys.speos.core.workflow.combine_speos.SpeosFileInstance
] List of SPEOS files, location and orientation of geometries to be imported to the project.
- speos
- Returns:
ansys.speos.core.project.Project
Project created by combining the input list of SPEOS files.
Notes
Sources, Sensors and Simulations are not imported to the project.