Utilities

CSXCAD.Utilities.CheckNyDir(ny)

Translate directions like ‘x’/’y’ or ‘z’ into 0/1 or 2. Raise an assertion error otherwise.

Parameters:

ny – int or str

Returns:

int – direction as 0/1/2

CSXCAD.Utilities.GetMultiDirs()