14 lines
361 B
Python
14 lines
361 B
Python
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
|
|
|