main
reng 2 weeks ago
parent d8ab16eba9
commit 226d404b17
  1. BIN
      260424-GrayScale.toe
  2. 21
      camera_position.py
  3. 2
      dat_table_lookat__td_24460_1.tsv
  4. BIN
      text_pop.toe

Binary file not shown.

@ -4,23 +4,6 @@ me - this DAT
scriptOp - the OP which is cooking
"""
# press 'Setup Parameters' in the OP to call this function to re-create the
# parameters.
def onSetupParameters(scriptOp):
"""
Called to setup custom parameters for the Script DAT.
"""
page = scriptOp.appendCustomPage('Custom')
page.appendFloat('Valuea', label='Value A')
page.appendFloat('Valueb', label='Value B')
return
def onPulse(par):
"""
Called when a custom pulse parameter is pushed.
"""
return
def onCook(scriptOp):
"""
Called when the Script DAT needs to cook.
@ -61,8 +44,8 @@ def onCook(scriptOp):
row_id = int(inputDat[i, 0])
if row_id == select_id:
px_val = float(inputDat[i, 1] or 0)
py_val = float(inputDat[i, 2] or 0) - camera_y_offset
pz_val = float(inputDat[i, 3] or 0)
py_val = float(inputDat[i, 2] or 0)
pz_val = float(inputDat[i, 3] or 0)- camera_y_offset
scriptOp.appendRow([row_id, px_val, py_val, pz_val])
return
except (ValueError, TypeError):

@ -1,2 +1,2 @@
id text updateTime
2 內耗 1775739058
9 社畜 1777003153

1 id text updateTime
2 2 9 內耗 社畜 1775739058 1777003153

Binary file not shown.
Loading…
Cancel
Save