techage/models/size.py
Joachim Stolberg 1a248ff49c bugfixes for power terminal and tank/pump lines
distiller protopype added
2019-11-08 21:10:05 +01: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))