sdynpy.core.sdynpy_coordinate.create_coordinate_string

create_coordinate_string(node: int, direction: int)[source]

Create a string from node and directions integers

Parameters
  • node (int) – Node number

  • direction (int) – Integer representing the direction, ‘X+’ = 1, ‘Y+’ = 2, ‘Z+’ = 3, ‘X-’ = -1, ‘Y-’ = -2, ‘Z-’ = -3

Returns

String representation of the coordinate, e.g. ‘101X+’

Return type

str