techage_modpack_ru_upd/techage/models/size.py
2020-05-31 22:31:18 +02:00

10 lines
311 B
Python

lOut = []
for line in file("techage_boiler_large.obj"):
words = line.split(" ")
if words[0] == "v":
words[1] = "%1.6f" % (float(words[1]) * 1.2)
words[3] = "%1.6f" % (float(words[3]) * 1.2)
line = " ".join(words)
lOut.append(line.strip())
file("techage_boiler_bigger.obj", "wt").write("\n".join(lOut))