This commit is contained in:
2021-04-28 09:29:19 +02:00
parent 84e20e54cc
commit a9f0de27e6
1030 changed files with 14567 additions and 227310 deletions

14
script/test/TestDate.py Normal file
View File

@@ -0,0 +1,14 @@
cycle=0
frame_index=0
short_name=False
set_exec_pars(open=True)
root = "" if short_name else (get_exec_pars().path + "/")
prefix = get_context().setup.expandPath("i{date}%02d_{dseq}%03d")
print prefix
if cycle < 0:
ret = root + prefix + ".tif"
else:
ret= root + prefix + "/i{seq}%03d"+ "_" + str(cycle) + ("_%d" % frame_index) + ".tif"
print ret