MeshCube

A cube in 3D space. Exists as part of a mesh.

Example

app = pf.GetApplication()
app:NewProject()
app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/Cube_example1.fek]])
sConf = app.Models["Cube_example1"].Configurations[1]
mesh = sConf.Mesh
meshCubeRegion = mesh.CubeRegions[1]

    --  Get one of the 'MeshCube's from the 'MeshCubeRegion'

meshCube = meshCubeRegion.Cubes[1]

    -- Query the index of the third vertex

thirdIndex = meshCube.VertexIndices[3]

Property List

Type
The object type string. (Read only string)
VertexIndices
Returns a list of the vertex indices of the cube. (Read only List of number)

Property Details

Type
The object type string.
Type
string
Access
Read only
VertexIndices
Returns a list of the vertex indices of the cube.
Access
Read only