pymem3dg.util.zeroPadding

pymem3dg.util.zeroPadding(frame: int, length: int = 6, padding: str = '0')

pad frame index with dummy string in the font

Parameters:
  • frame (int) – frame number

  • length (int, optional) – number of total string length. Defaults to 6.

  • padding (str, optional) – padding string. Defaults to “0”.

Returns:

padded string

Return type:

str