unit

property InertiaMoment.unit: str

Symbol of the unit of measurement for moment of inertia. It must be a str. Available units are:

  • 'kgm^2' for kilogram-square meter,

  • 'kgdm^2' for kilogram-square decimeter,

  • 'kgcm^2' for kilogram-square centimeter,

  • 'kgmm^2' for kilogram-square millimeter,

  • 'gm^2' for gram-square meter,

  • 'gdm^2' for gram-square decimeter,

  • 'gcm^2' for gram-square centimeter,

  • 'gmm^2' for gram-square millimeter.

Returns

str

Symbol of the unit of measurement for moment of inertia.

Raises

TypeError

If unit is not a str.

KeyError

If the unit is not among available ones.