SpeosFileInstance#
- class ansys.speos.core.workflow.combine_speos.SpeosFileInstance(speos_file, axis_system=None, name='')#
- Represents a SPEOS file containing geometries and materials. - Geometries are placed in the root part of a project, and oriented according to the axis_system argument. - Parameters:
- speos_filestr
- SPEOS file to be loaded. 
- axis_systemOptional[List[float]]
- Location and orientation to define for the geometry of the SPEOS file, [Ox, Oy, Oz, Xx, Xy, Xz, Yx, Yy, Yz, Zx, Zy, Zz]. By default, - [0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1].
- namestr
- Name chosen for the imported geometry. This name is used as subpart name under the root part of the project. By default, “” (meaning user has not defined a name), then the name of the SPEOS file without extension is taken. Note: Materials are named after the name. For instance name.material.1 representing the first material of the imported geometry. 
 
- speos_file
- Parameters:
 
Overview#
| SPEOS file. | |
| Location and orientation to define for the geometry of the SPEOS file. | |
| Name for the imported geometry, and used to name the materials. | 
Import detail#
from ansys.speos.core.workflow.combine_speos import SpeosFileInstance
Attribute detail#
- SpeosFileInstance.speos_file#
- SPEOS file. 
- SpeosFileInstance.axis_system = None#
- Location and orientation to define for the geometry of the SPEOS file. 
- SpeosFileInstance.name = ''#
- Name for the imported geometry, and used to name the materials. 
 
    