weldx.WXRotation.create_group#

WXRotation.create_group(type cls, group, axis=u'Z')#

Create a 3D rotation group.

Parameters:
  • group (string) –

    The name of the group. Must be one of ‘I’, ‘O’, ‘T’, ‘Dn’, ‘Cn’, where n is a positive integer. The groups are:

    • I: Icosahedral group

    • O: Octahedral group

    • T: Tetrahedral group

    • D: Dicyclic group

    • C: Cyclic group

  • axis (integer) – The cyclic rotation axis. Must be one of [‘X’, ‘Y’, ‘Z’] (or lowercase). Default is ‘Z’. Ignored for groups ‘I’, ‘O’, and ‘T’.

Returns:

rotation – Object containing the elements of the rotation group.

Return type:

Rotation instance

Notes

This method generates rotation groups only. The full 3-dimensional point groups [PointGroups] also contain reflections.

References

[PointGroups]

Point groups on Wikipedia.