Add project files.

This commit is contained in:
2022-09-05 13:51:05 +10:00
parent 727c68ea6c
commit 62cdc57333
262 changed files with 82611 additions and 0 deletions

20
gen_group_order.py Normal file
View File

@@ -0,0 +1,20 @@
with open("group_order.txt", "r") as f:
data = f.read()
types = data.split(", ")
PREFIX = "RT_"
GROUPING = 6
out = ""
line = []
for i, t in enumerate(types):
line += [f"{PREFIX}{t}"]
if (i + 1) % GROUPING == 0:
out += ", ".join(line) + ",\n"
line = []
# leftover
if line:
out += ", ".join(line) + ",\n"
print(out)