Miscanellous

py_fort_myrmidon.TagFamily

class py_fort_myrmidon.TagFamily

Enumeration of available tag families available in FORT

Members:

Tag36h11 : 36h11 family

Tag36h10 : 36h10 family

Tag36ARTag : ARTag family

Tag16h5 : 16h5 family

Tag25h9 : 25h9 family

Circle21h7 : Circle21h7 family

Circle49h12 : Circle49h12 family

Custom48h12 : Custom48h12 family

Standard41h12 : Standard41h12 family

Standard52h13 : Standard52h13 family

Undefined : Undefined family value

property name

ID formatting

py_fort_myrmidon.FormatTagID(tagID: int) str

Formats a TagID to the conventional format.

Parameters:

tagID (int) – the TagID to format

Returns:

tagID formatted in a string

Return type:

str

py_fort_myrmidon.FormatAntID(antID: int) str

Formats an AntID to the conventional format.

Parameters:

antID (int) – the AntID to format

Returns:

antID formatted in a string

Return type:

str

Color

Colors in py_fort_myrmidon are simply Tuple[int,int,int].

py_fort_myrmidon.DefaultPalette() List[Tuple[int, int, int]]

Returns fort-myrmidon default palette.

In py_fort_myrmidon, a Color is simply a Tuple[int, int, int]. The default palette has 7 color-blind friendly colors.

Returns:

7 color-blind friendly colors.

Return type:

List[Tuple[int,int,int]]

py_fort_myrmidon.DefaultPaletteColor(index: int) Tuple[int, int, int]

Safely returns one of the DefaultPalette() color for any index.

Parameters:

index (int) – a positive index

Returns:

a color from DefaultPalette() wrapping

arround index.

Return type:

Tuple[int,int,int]