0405 version

main
reng 1 month ago
parent 0c7de2018b
commit 199fab769c
  1. BIN
      260405-GrayScale.toe
  2. 103
      camera_position.py
  3. 100
      dat_table_json__td_7768_7.tsv
  4. 10
      dat_table_keyword__td_7768_6.tsv
  5. 2
      dat_table_lookat__td_24460_1.tsv
  6. 41
      text_to_arc_script.py

Binary file not shown.

@ -0,0 +1,103 @@
"""
Script DAT Callbacks
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.
"""
scriptOp.clear()
scriptOp.appendRow(['id', 'P(X)', 'P(Y)', 'P(Z)'])
# Find the constant OP relative to this script
const_op = op('constant1')
camera_y_offset = 0
camera_y_far=0
if const_op:
target_chan = const_op.chan('camera_distance_y')
if target_chan is not None:
camera_y_offset = target_chan.eval()
camera_y_far = const_op.chan('camera_distance_y_far').eval()
const_select=op('SelectId')
select_id=-1
if const_select:
select_chan = const_select.chan('id')
if select_chan is not None:
select_id = int(select_chan.eval())
# Check if there is an input connected
if len(scriptOp.inputs) == 0:
return
inputDat = scriptOp.inputs[0]
if select_id >= 0:
# Find the row with the matching ID in the input table
for i in range(1, inputDat.numRows):
try:
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)
scriptOp.appendRow([row_id, px_val, py_val, pz_val])
return
except (ValueError, TypeError):
continue
return
else:
# append with average of rows 1 to 4 (index 1 to 4 inclusive if they exist)
ax = 0.0
ay = 0.0
az = 0.0
rows_processed = 0
# Process rows 1 to 4 (index 1 to 4 inclusive if they exist)
for i in range(1, min(5, inputDat.numRows)):
try:
# Safely convert cell values to floats
# Assuming col 1=X, 2=Y, 3=Z based on your previous logic
px_val = float(inputDat[i, 1] or 0)
py_val = float(inputDat[i, 2] or 0)
pz_val = float(inputDat[i, 3] or 0)
ax += px_val
ay += py_val
az += pz_val
rows_processed += 1
except (ValueError, TypeError):
# Skip rows that don't contain valid numbers
continue
if rows_processed > 0:
ax /= rows_processed
ay /= rows_processed
az /= rows_processed
scriptOp.appendRow(['average', ax, ay - camera_y_far, az])
return
def onGetCookLevel(scriptOp):
return CookLevel.AUTOMATIC

@ -1,51 +1,51 @@
text group center_x center_y center_z axis_x axis_y axis_z radius info text group center_x center_y center_z axis_x axis_y axis_z radius info
貸款也要去租 1 0 -0.30941950877324054 0 0 1 0 4.512634670343092 //2026/01/01 03:42/1 likes 欸 3 0 -2.0261601500026014 0 0 1 0 2.240425445109616 //2025/12/07 19:19
你哪來的學貸? 2 0 -0.3994853073833178 0 0 1 0 0.4985199771090359 //2025/12/28 02:13/5,416 likes/18 replies 你哪來的學貸? 0 0 -1.505388123569027 0 0 1 0 3.1525369154362695 //2025/12/28 02:13/5,416 likes/18 replies
你哪來的學貸? 2 0 -0.7128629175153289 0 0 1 0 0.7515241394709612 //2025/12/28 02:13/5,416 likes/18 replies 必須要很努力 才能看起來毫不費力🙌🏻 3 0 -2.8418860938700217 0 0 1 0 3.4928575252637333 /undefined likes/undefined replies
都想租了 1 0 0.7914436498176922 0 0 1 0 1.053776043649936 //2026/01/01 17:35 家長是規定 讀國立付 0 0 -0.9245666176442602 0 0 1 0 1.165798198493681 /undefined likes/undefined replies
我想租 1 0 -0.6634173043286133 0 0 1 0 4.5298590366440195 //2026/01/01 15:56 如果你想去讀,就去貸款 0 0 -0.39865795429428097 0 0 1 0 0.5553555657019561 /undefined likes/undefined replies
1 0 -2.302326075759106 0 0 1 0 2.6215702824015987 /undefined likes/undefined replies 讀呀 去貸款呀 0 0 -0.9347338249891641 0 0 1 0 0.9647829410809721 /undefined likes/undefined replies
我要找發財的房子 1 0 -0.529616744900121 0 0 1 0 3.9541874002978576 //2026/01/01 20:51/1 likes 人生是你自己的 0 0 -1.1176598173299235 0 0 1 0 1.398644358365895 /undefined likes/undefined replies
我要去租🤣🤣🤣 1 0 -1.1067565886488495 0 0 1 0 4.777224511772336 //2026/01/01 16:35 助學貸款可以減輕當時壓力 0 0 -0.5205271666180282 0 0 1 0 0.5473712099038389 /undefined likes/undefined replies
壓力山大 我要住十年 1 0 0.44598258877608643 0 0 1 0 1.2005872779507532 //2026/01/01 16:40/1 likes 生活費家裡給一半 0 0 -0.8204924785604097 0 0 1 0 1.0970230046059162 /undefined likes/undefined replies
看得我也想租😲 1 0 -1.1584977665191825 0 0 1 0 4.745372248870866 //2026/01/01 20:15 我驕傲✌ 0 0 -1.2535834167982518 0 0 1 0 1.3449807268298852 /undefined likes/undefined replies
我買170 1 0 -0.022336615113279557 0 0 1 0 2.1828487193115387 //2024/09/16 13:03/1 replies 邊讀邊還 0 0 -0.29888689351648345 0 0 1 0 0.7300967509125482 /undefined likes/undefined replies
超好的房子想租 1 0 0.8360800091143679 0 0 1 0 0.9340033692697467 //2026/01/01 14:06 學貸晚點還沒關係 0 0 -0.31601204773913816 0 0 1 0 0.45273844111592715 /undefined likes/undefined replies
這個地點我可以 1 0 1.3278951007808368 0 0 1 0 1.45821625832412 //2025/12/31 23:30/1 likes/1 replies 別把負債想的太可怕 0 0 -1.8807826423277438 0 0 1 0 3.147148931865005 /undefined likes/undefined replies
好想住這間 1 0 -0.619075357678724 0 0 1 0 4.368813843626429 //2026/01/01 09:29 二年全心念書,學費自己付 0 0 -1.692551481605725 0 0 1 0 2.623907374377752 /undefined likes/undefined replies
卡,在附近耶 1 0 1.255282425744105 0 0 1 0 1.290330368375508 //2026/01/01 02:44/90 likes 願意用你的名字買 0 0 -1.048170207608854 0 0 1 0 3.1886744055619234 /undefined likes/undefined replies
我信 房屋玄學+1 1 0 -0.7946583069184867 0 0 1 0 3.9382661157730166 //2026/01/01 14:39 最近也考慮買一間 0 0 -2.131767328750854 0 0 1 0 4.323981484012769 /undefined likes/undefined replies
頭期款我付的 1 0 -1.3068164820256394 0 0 1 0 1.7449512540061574 /undefined likes/undefined replies 做好自己,幸運就不會浪費 3 0 0.12497523574481481 0 0 1 0 0.35936497963324704 /undefined likes/undefined replies
他幫你繳房貸 1 0 -1.4105897080146335 0 0 1 0 1.8283005972886317 /undefined likes/undefined replies 不用比較 3 0 -0.3947031581706525 0 0 1 0 0.5059646329112311 /undefined likes/undefined replies
我只想買房😙😙😙不用婚 1 0 1.2329300318560232 0 0 1 0 1.9714320003889332 //2025/12/31 23:33 請問您使用5的couesera 0 0 -0.667856641787854 0 0 1 0 4.0811349444130895 //2025/03/13 13:55/2 likes/1 replies
屋主都買房 我還租著 1 0 0.9223116019438748 0 0 1 0 1.4650892199783514 //2026/01/01 15:45 你哪來的學貸? 0 0 -1.7678032200482385 0 0 1 0 3.1204947321404317 //2025/12/28 02:13/5,416 likes/18 replies
每天享受自己的房貸🤣 1 0 -2.6175412286830495 0 0 1 0 2.7868613528702415 //2025/12/09 07:59 想當沙發馬鈴薯就說 3 0 -1.886998801125191 0 0 1 0 1.909138603361647 //2025/12/07 17:56
麼有鬼我想住 1 0 1.5089093960368443 0 0 1 0 1.722696554844259 //2026/01/01 13:48/1 likes 我 3 0 -1.7179940756818983 0 0 1 0 1.8366576753520394 //2025/12/07 17:14/1 likes
看房被搶斡旋 1 0 0.7372611251671897 0 0 1 0 1.567507252351375 //2026/01/01 07:46 我買170 0 0 -1.7484779459234114 0 0 1 0 4.283525628695472 //2024/09/16 13:03/1 replies
台中有沒有這樣的房子🥹 1 0 -0.6533346630277777 0 0 1 0 4.450340497002578 //2026/01/01 02:27 得了便宜還賣乖 3 0 -0.09873424602121361 0 0 1 0 0.5681295743044165 /undefined likes/undefined replies
我欸 3 0 0.3777397320495224 0 0 1 0 0.7811854732348901 //2025/12/07 19:19 公主要貸款? 0 0 -1.9557522789594497 0 0 1 0 3.0865605052392446 //2025/12/28 23:12/3 likes
有旺運財運的房屋 1 0 -0.9382668442459408 0 0 1 0 4.263860894671343 //2026/01/01 13:39/1 likes 推,總結得很好 1 0 0.26072792240870385 0 0 1 0 0.730333224416801 /undefined likes/undefined replies
一半以上房東這樣講 1 0 1.631824895903069 0 0 1 0 1.8244531212911823 //2026/01/01 09:28 支持☺ 3 0 -0.45115320932693337 0 0 1 0 0.7558339027013352 /undefined likes/undefined replies
之後會分享喔 1 0 1.877525002770975 0 0 1 0 1.92783290421492 //2026/01/01 02:02/1 likes 申請學貸去投資 0 0 -1.9216785513575565 0 0 1 0 3.3376583235425787 /undefined likes/undefined replies
月付一萬五的脫單成家房好划算 1 0 0.5216716934818493 0 0 1 0 1.3208566113797504 //2025/12/31 23:44/3 likes/1 replies 努力脫離社畜人生 2 0 0.3018703564568994 0 0 1 0 0.5267873653019259 //2025/03/14 05:16/1 likes/1 replies
請問房子在哪 1 0 1.4767820613472216 0 0 1 0 1.4876007193355418 //2025/12/31 23:08/4 likes/1 replies 商家老闆再次 請慢用 0 0 -1.5787504907808976 0 0 1 0 4.641362429290909 //2024/09/16 20:57/1 likes
享受別人家的房貸 1 0 -2.5193418795653644 0 0 1 0 2.6262772035506488 //2025/12/07 23:27 這我 3 0 -2.011715395223118 0 0 1 0 2.0938431555911063 //2025/12/07 16:36
房子在那? 1 0 -0.9976370702142794 0 0 1 0 4.417746333895713 //2026/01/01 13:33 都是社畜 2 0 -0.2994751876299664 0 0 1 0 0.35901499315159835 //2025/08/03 18:28/20 likes
幸運的我 接下來就是開始房貸人生 2 0 0.6214595226351003 0 0 1 0 0.9546493721751275 //2025/11/16 23:38/320 likes/53 replies 依貸 0 0 -1.6180633218655052 0 0 1 0 3.5228620643065653 //2025/12/07 21:12
租 1 0 -0.7726521751332176 0 0 1 0 4.6981658274887765 //2026/01/01 04:14/2 likes 跟狗一起廢 3 0 -2.2711709316071547 0 0 1 0 2.2772580906649114 //2025/12/07 17:08
在家享受房租 1 0 -2.1137351616120093 0 0 1 0 2.350714802219839 //2025/12/07 20:01/1 likes/1 replies 我貸款也要去租 0 0 -1.6166070481342123 0 0 1 0 3.9364217342793726 //2026/01/01 03:42/1 likes
那麼好 1 0 1.1487367408017946 0 0 1 0 1.601417014090523 //2026/01/01 14:47/1 likes 一定要學起來 3 0 -1.0732774249800068 0 0 1 0 1.0880648668422186 //2025/09/24 21:24
房子真的會挑人 1 0 -0.8671141568704162 0 0 1 0 4.1115083345794385 //2026/01/01 11:46/1 likes 在家享受房貸 0 0 -1.0905605379653154 0 0 1 0 3.5863326509618365 //2025/12/07 19:25/2 likes/1 replies
月付一萬五的脫單成家房好划算 1 0 0.4097260357770711 0 0 1 0 1.1716634262320527 //2026/01/01 17:15 每天享受自己的房貸🤣 0 0 -0.7848882526937713 0 0 1 0 3.67008210634287 //2025/12/09 07:59
沒多久也買到房 1 0 1.5471990507697937 0 0 1 0 1.9749931246724153 //2026/01/01 20:13 留 0 0 -1.4102083997980683 0 0 1 0 4.446481261052621 //2025/12/12 11:58
房子會挑主人 1 0 1.0591857557715763 0 0 1 0 1.3905181712499457 //2026/01/01 11:46/1 likes 父母希望你自己付學費 0 0 -0.850839239383594 0 0 1 0 0.9113273891922312 /undefined likes/undefined replies
你可以先等三年😂 1 0 1.1993710195324265 0 0 1 0 1.4382793285978914 //2025/12/31 23:29/1 likes/1 replies 專心讀書,不用擔心 0 0 -0.5185776902476942 0 0 1 0 0.6700321126237015 /undefined likes/undefined replies
那房子在哪?!!!😆 1 0 1.098127279146392 0 0 1 0 1.1263742855624836 //2025/12/31 23:12/2 likes/1 replies 0 0 -1.2736085180912733 0 0 1 0 3.746220237476404 /undefined likes/undefined replies
房東說的是真的 1 0 1.6577447354536536 0 0 1 0 1.835383256406492 //2025/12/31 23:01/3 likes/1 replies 讓小孩去學貸才知道辛苦 0 0 -1.7555612513160046 0 0 1 0 2.8086938053324313 /undefined likes/undefined replies
住家裡存錢更多 1 0 0.05637260657635057 0 0 1 0 1.4854034951570931 //2025/08/04 00:49/28 likes 木頭比較不容易髒 0 0 -1.663055204832609 0 0 1 0 4.705541525349465 //2024/09/16 12:01
享受房租中 1 0 -2.1667342259822533 0 0 1 0 2.341018385701696 //2025/12/07 23:12 正在做一樣的事情 3 0 -2.463112889717343 0 0 1 0 2.4708443703694103 //2025/12/07 21:44
那你自己買不就得了 1 0 0.9901963854249907 0 0 1 0 1.451124461789311 //2025/11/11 20:43/1 replies 是的👍🏻 3 0 -0.3848221639435151 0 0 1 0 0.5525318141651117 /undefined likes/undefined replies
在家享受房貸 2 0 -1.4339616345825605 0 0 1 0 1.6459119975795053 //2025/12/07 19:25/2 likes/1 replies 超值! 0 0 -1.9173661522943846 0 0 1 0 4.540060355163258 //2024/09/16 15:07/2 likes/1 replies
在家享受房貸 2 0 -1.2864570887448459 0 0 1 0 1.4431924584334577 //2025/12/07 13:17/5.6 萬 likes/371 replies 專注打造 不必辯解 3 0 0.03477235091250305 0 0 1 0 0.39356005047971915 /undefined likes/undefined replies
三年後買房了 1 0 1.3238797303283638 0 0 1 0 1.6779368888897543 //2026/01/01 12:28/38 likes/1 replies 我要留給自己~ 0 0 -1.2505577371559662 0 0 1 0 4.168652253911363 //2025/12/13 09:09
生活費家裡給一半 2 0 -0.8514039315283877 0 0 1 0 0.8736011843726711 /undefined likes/undefined replies 要存一下,好實用 3 0 -2.8616456782193334 0 0 1 0 2.9200103229256373 //2025/02/11 09:25/1 likes

1 text group center_x center_y center_z axis_x axis_y axis_z radius info
2 我貸款也要去租 我欸 1 3 0 -0.30941950877324054 -2.0261601500026014 0 0 1 0 4.512634670343092 2.240425445109616 //2026/01/01 03:42/1 likes //2025/12/07 19:19
3 你哪來的學貸? 2 0 0 -0.3994853073833178 -1.505388123569027 0 0 1 0 0.4985199771090359 3.1525369154362695 //2025/12/28 02:13/5,416 likes/18 replies
4 你哪來的學貸? 必須要很努力 才能看起來毫不費力🙌🏻 2 3 0 -0.7128629175153289 -2.8418860938700217 0 0 1 0 0.7515241394709612 3.4928575252637333 //2025/12/28 02:13/5,416 likes/18 replies /undefined likes/undefined replies
5 都想租了 家長是規定 讀國立付 1 0 0 0.7914436498176922 -0.9245666176442602 0 0 1 0 1.053776043649936 1.165798198493681 //2026/01/01 17:35 /undefined likes/undefined replies
6 我想租 如果你想去讀,就去貸款 1 0 0 -0.6634173043286133 -0.39865795429428097 0 0 1 0 4.5298590366440195 0.5553555657019561 //2026/01/01 15:56 /undefined likes/undefined replies
7 讀呀 去貸款呀 1 0 0 -2.302326075759106 -0.9347338249891641 0 0 1 0 2.6215702824015987 0.9647829410809721 /undefined likes/undefined replies
8 我要找發財的房子 人生是你自己的 1 0 0 -0.529616744900121 -1.1176598173299235 0 0 1 0 3.9541874002978576 1.398644358365895 //2026/01/01 20:51/1 likes /undefined likes/undefined replies
9 我要去租🤣🤣🤣 助學貸款可以減輕當時壓力 1 0 0 -1.1067565886488495 -0.5205271666180282 0 0 1 0 4.777224511772336 0.5473712099038389 //2026/01/01 16:35 /undefined likes/undefined replies
10 壓力山大 我要住十年 生活費家裡給一半 1 0 0 0.44598258877608643 -0.8204924785604097 0 0 1 0 1.2005872779507532 1.0970230046059162 //2026/01/01 16:40/1 likes /undefined likes/undefined replies
11 看得我也想租😲 我驕傲✌️ 1 0 0 -1.1584977665191825 -1.2535834167982518 0 0 1 0 4.745372248870866 1.3449807268298852 //2026/01/01 20:15 /undefined likes/undefined replies
12 我買170 邊讀邊還 1 0 0 -0.022336615113279557 -0.29888689351648345 0 0 1 0 2.1828487193115387 0.7300967509125482 //2024/09/16 13:03/1 replies /undefined likes/undefined replies
13 超好的房子想租 學貸晚點還沒關係 1 0 0 0.8360800091143679 -0.31601204773913816 0 0 1 0 0.9340033692697467 0.45273844111592715 //2026/01/01 14:06 /undefined likes/undefined replies
14 這個地點我可以 別把負債想的太可怕 1 0 0 1.3278951007808368 -1.8807826423277438 0 0 1 0 1.45821625832412 3.147148931865005 //2025/12/31 23:30/1 likes/1 replies /undefined likes/undefined replies
15 好想住這間 二年全心念書,學費自己付 1 0 0 -0.619075357678724 -1.692551481605725 0 0 1 0 4.368813843626429 2.623907374377752 //2026/01/01 09:29 /undefined likes/undefined replies
16 卡,在附近耶 願意用你的名字買 1 0 0 1.255282425744105 -1.048170207608854 0 0 1 0 1.290330368375508 3.1886744055619234 //2026/01/01 02:44/90 likes /undefined likes/undefined replies
17 我信 房屋玄學+1 最近也考慮買一間 1 0 0 -0.7946583069184867 -2.131767328750854 0 0 1 0 3.9382661157730166 4.323981484012769 //2026/01/01 14:39 /undefined likes/undefined replies
18 頭期款我付的 做好自己,幸運就不會浪費 1 3 0 -1.3068164820256394 0.12497523574481481 0 0 1 0 1.7449512540061574 0.35936497963324704 /undefined likes/undefined replies
19 他幫你繳房貸 不用比較 1 3 0 -1.4105897080146335 -0.3947031581706525 0 0 1 0 1.8283005972886317 0.5059646329112311 /undefined likes/undefined replies
20 我只想買房😙😙😙不用婚 請問您使用5的couesera 1 0 0 1.2329300318560232 -0.667856641787854 0 0 1 0 1.9714320003889332 4.0811349444130895 //2025/12/31 23:33 //2025/03/13 13:55/2 likes/1 replies
21 屋主都買房 我還租著 你哪來的學貸? 1 0 0 0.9223116019438748 -1.7678032200482385 0 0 1 0 1.4650892199783514 3.1204947321404317 //2026/01/01 15:45 //2025/12/28 02:13/5,416 likes/18 replies
22 每天享受自己的房貸🤣 想當沙發馬鈴薯就說 1 3 0 -2.6175412286830495 -1.886998801125191 0 0 1 0 2.7868613528702415 1.909138603361647 //2025/12/09 07:59 //2025/12/07 17:56
23 這麼有鬼我想住 這我 1 3 0 1.5089093960368443 -1.7179940756818983 0 0 1 0 1.722696554844259 1.8366576753520394 //2026/01/01 13:48/1 likes //2025/12/07 17:14/1 likes
24 看房被搶斡旋 我買170 1 0 0 0.7372611251671897 -1.7484779459234114 0 0 1 0 1.567507252351375 4.283525628695472 //2026/01/01 07:46 //2024/09/16 13:03/1 replies
25 台中有沒有這樣的房子🥹 得了便宜還賣乖 1 3 0 -0.6533346630277777 -0.09873424602121361 0 0 1 0 4.450340497002578 0.5681295743044165 //2026/01/01 02:27 /undefined likes/undefined replies
26 我欸 公主要貸款? 3 0 0 0.3777397320495224 -1.9557522789594497 0 0 1 0 0.7811854732348901 3.0865605052392446 //2025/12/07 19:19 //2025/12/28 23:12/3 likes
27 有旺運財運的房屋 推,總結得很好 1 0 -0.9382668442459408 0.26072792240870385 0 0 1 0 4.263860894671343 0.730333224416801 //2026/01/01 13:39/1 likes /undefined likes/undefined replies
28 一半以上房東這樣講 支持☺️ 1 3 0 1.631824895903069 -0.45115320932693337 0 0 1 0 1.8244531212911823 0.7558339027013352 //2026/01/01 09:28 /undefined likes/undefined replies
29 之後會分享喔 申請學貸去投資 1 0 0 1.877525002770975 -1.9216785513575565 0 0 1 0 1.92783290421492 3.3376583235425787 //2026/01/01 02:02/1 likes /undefined likes/undefined replies
30 月付一萬五的脫單成家房好划算 努力脫離社畜人生 1 2 0 0.5216716934818493 0.3018703564568994 0 0 1 0 1.3208566113797504 0.5267873653019259 //2025/12/31 23:44/3 likes/1 replies //2025/03/14 05:16/1 likes/1 replies
31 請問房子在哪 商家老闆再次 請慢用 1 0 0 1.4767820613472216 -1.5787504907808976 0 0 1 0 1.4876007193355418 4.641362429290909 //2025/12/31 23:08/4 likes/1 replies //2024/09/16 20:57/1 likes
32 享受別人家的房貸 這我 1 3 0 -2.5193418795653644 -2.011715395223118 0 0 1 0 2.6262772035506488 2.0938431555911063 //2025/12/07 23:27 //2025/12/07 16:36
33 房子在那? 都是社畜 1 2 0 -0.9976370702142794 -0.2994751876299664 0 0 1 0 4.417746333895713 0.35901499315159835 //2026/01/01 13:33 //2025/08/03 18:28/20 likes
34 幸運的我 接下來就是開始房貸人生 依貸 2 0 0 0.6214595226351003 -1.6180633218655052 0 0 1 0 0.9546493721751275 3.5228620643065653 //2025/11/16 23:38/320 likes/53 replies //2025/12/07 21:12
35 跟狗一起廢 1 3 0 -0.7726521751332176 -2.2711709316071547 0 0 1 0 4.6981658274887765 2.2772580906649114 //2026/01/01 04:14/2 likes //2025/12/07 17:08
36 在家享受房租 我貸款也要去租 1 0 0 -2.1137351616120093 -1.6166070481342123 0 0 1 0 2.350714802219839 3.9364217342793726 //2025/12/07 20:01/1 likes/1 replies //2026/01/01 03:42/1 likes
37 那麼好 一定要學起來 1 3 0 1.1487367408017946 -1.0732774249800068 0 0 1 0 1.601417014090523 1.0880648668422186 //2026/01/01 14:47/1 likes //2025/09/24 21:24
38 房子真的會挑人 在家享受房貸 1 0 0 -0.8671141568704162 -1.0905605379653154 0 0 1 0 4.1115083345794385 3.5863326509618365 //2026/01/01 11:46/1 likes //2025/12/07 19:25/2 likes/1 replies
39 月付一萬五的脫單成家房好划算 每天享受自己的房貸🤣 1 0 0 0.4097260357770711 -0.7848882526937713 0 0 1 0 1.1716634262320527 3.67008210634287 //2026/01/01 17:15 //2025/12/09 07:59
40 沒多久也買到房 1 0 0 1.5471990507697937 -1.4102083997980683 0 0 1 0 1.9749931246724153 4.446481261052621 //2026/01/01 20:13 //2025/12/12 11:58
41 房子會挑主人 父母希望你自己付學費 1 0 0 1.0591857557715763 -0.850839239383594 0 0 1 0 1.3905181712499457 0.9113273891922312 //2026/01/01 11:46/1 likes /undefined likes/undefined replies
42 你可以先等三年😂 專心讀書,不用擔心 1 0 0 1.1993710195324265 -0.5185776902476942 0 0 1 0 1.4382793285978914 0.6700321126237015 //2025/12/31 23:29/1 likes/1 replies /undefined likes/undefined replies
43 那房子在哪?!!!😆 1 0 0 1.098127279146392 -1.2736085180912733 0 0 1 0 1.1263742855624836 3.746220237476404 //2025/12/31 23:12/2 likes/1 replies /undefined likes/undefined replies
44 房東說的是真的 讓小孩去學貸才知道辛苦 1 0 0 1.6577447354536536 -1.7555612513160046 0 0 1 0 1.835383256406492 2.8086938053324313 //2025/12/31 23:01/3 likes/1 replies /undefined likes/undefined replies
45 住家裡存錢更多 木頭比較不容易髒 1 0 0 0.05637260657635057 -1.663055204832609 0 0 1 0 1.4854034951570931 4.705541525349465 //2025/08/04 00:49/28 likes //2024/09/16 12:01
46 享受房租中 正在做一樣的事情 1 3 0 -2.1667342259822533 -2.463112889717343 0 0 1 0 2.341018385701696 2.4708443703694103 //2025/12/07 23:12 //2025/12/07 21:44
47 那你自己買不就得了 是的👍🏻 1 3 0 0.9901963854249907 -0.3848221639435151 0 0 1 0 1.451124461789311 0.5525318141651117 //2025/11/11 20:43/1 replies /undefined likes/undefined replies
48 在家享受房貸 超值! 2 0 0 -1.4339616345825605 -1.9173661522943846 0 0 1 0 1.6459119975795053 4.540060355163258 //2025/12/07 19:25/2 likes/1 replies //2024/09/16 15:07/2 likes/1 replies
49 在家享受房貸 專注打造 不必辯解 2 3 0 -1.2864570887448459 0.03477235091250305 0 0 1 0 1.4431924584334577 0.39356005047971915 //2025/12/07 13:17/5.6 萬 likes/371 replies /undefined likes/undefined replies
50 三年後買房了 我要留給自己~ 1 0 0 1.3238797303283638 -1.2505577371559662 0 0 1 0 1.6779368888897543 4.168652253911363 //2026/01/01 12:28/38 likes/1 replies //2025/12/13 09:09
51 生活費家裡給一半 要存一下,好實用 2 3 0 -0.8514039315283877 -2.8616456782193334 0 0 1 0 0.8736011843726711 2.9200103229256373 /undefined likes/undefined replies //2025/02/11 09:25/1 likes

@ -1,5 +1,5 @@
id text tx ty tz group dist id text tx ty tz group dist question
3 學貸 7.059656806361902 3.1530030364952464 3.868311221611787 0 None 3 學貸 -5.9435427286772615 -1.567865766970892 3.340322910970975 0 1.6288237845847808 一張畢業證書要花多少年來分期付款?
4 租屋 7.531932676248652 4.199146475735976 4.085666759775513 1 1.95607402715404 9 社畜 -1.587474671116412 -2.171583152952343 1.6802135278885089 1 0.013524689341051872 你如何區分「工作時的你」與「下班後的你」?
9 社畜 7.3316483836423565 3.727461855541793 4.235349376930543 2 0.11421109498408812 15 主體 -1.9233967155856022 -0.6195625064389635 1.882536081529979 2 0.016403747378768967 在群體中,你通常是提出意見的人還是配合的人?
16 做自己 6.444132181787889 1.1634768010200258 4.353764871083439 3 0.014466397652497964 16 做自己 -1.8830663259183054 -0.16971541595696293 2.647296251195659 3 0.43452750017917374 在公共場所,你覺得自己有多少程度能呈現真實的樣貌?

1 id text tx ty tz group dist question
2 3 學貸 7.059656806361902 -5.9435427286772615 3.1530030364952464 -1.567865766970892 3.868311221611787 3.340322910970975 0 None 1.6288237845847808 一張畢業證書要花多少年來分期付款?
3 4 9 租屋 社畜 7.531932676248652 -1.587474671116412 4.199146475735976 -2.171583152952343 4.085666759775513 1.6802135278885089 1 1.95607402715404 0.013524689341051872 你如何區分「工作時的你」與「下班後的你」?
4 9 15 社畜 主體 7.3316483836423565 -1.9233967155856022 3.727461855541793 -0.6195625064389635 4.235349376930543 1.882536081529979 2 0.11421109498408812 0.016403747378768967 在群體中,你通常是提出意見的人還是配合的人?
5 16 做自己 6.444132181787889 -1.8830663259183054 1.1634768010200258 -0.16971541595696293 4.353764871083439 2.647296251195659 3 0.014466397652497964 0.43452750017917374 在公共場所,你覺得自己有多少程度能呈現真實的樣貌?

@ -1,2 +1,2 @@
id text updateTime id text updateTime
3 學貸 1773146143 16 做自己 1775384344

1 id text updateTime
2 3 16 學貸 做自己 1773146143 1775384344

@ -3,6 +3,8 @@ import math
# me - this DAT # me - this DAT
# scriptOp - the OP which is cooking # scriptOp - the OP which is cooking
def onSetupParameters(scriptOp): def onSetupParameters(scriptOp):
page = scriptOp.appendCustomPage('Custom') page = scriptOp.appendCustomPage('Custom')
page.appendFloat('Valuea', label='Value A') page.appendFloat('Valuea', label='Value A')
@ -18,6 +20,10 @@ def onCook(scriptOp):
if not const_op: if not const_op:
return return
par_op=op('par1')
show_question=not par_op['Fillring']
# Fix for L22: CHOPs are not directly iterable. # Fix for L22: CHOPs are not directly iterable.
# We check for channel existence using the [] accessor and a fallback. # We check for channel existence using the [] accessor and a fallback.
def get_chan(chan_name, default=1.0): def get_chan(chan_name, default=1.0):
@ -56,14 +62,31 @@ def onCook(scriptOp):
info_table.clear() info_table.clear()
info_table.appendRow(['text', 'tx', 'ty', 'tz', 'rx', 'ry', 'rz']) info_table.appendRow(['text', 'tx', 'ty', 'tz', 'rx', 'ry', 'rz'])
question = "?"
if show_question:
# fill ring using table select1
table = op('select1')
if table:
question=table[1,7].val if table.numRows > 1 and table.numCols > 7 else "?"
for source in scriptOp.inputs: for source in scriptOp.inputs:
if not source or source.numRows < 2: if not source or source.numRows < 2:
continue continue
for i, row in enumerate(source.rows()[1:]): for i, row in enumerate(source.rows()[1:]):
full_string = row[0].val
# Ensure index exists for substring column full_string = ""
sub_string = row[9].val if len(row) > 9 else "" sub_string = ""
if show_question and i>0:
continue
if show_question:
full_string= question
else:
full_string = row[0].val
# Ensure index exists for substring column
sub_string = row[9].val if len(row) > 9 else ""
if not full_string: if not full_string:
continue continue
@ -81,16 +104,26 @@ def onCook(scriptOp):
# Time calculation # Time calculation
time_offset = absTime.seconds * rotate_speed * (1.0 + abs(speed_variation)) / 10.0 time_offset = absTime.seconds * rotate_speed * (1.0 + abs(speed_variation)) / 10.0
# The % 1 ensures the value stays between 0.0 and 0.999...
alpha_to_show = (absTime.seconds * rotate_speed/10.0 + i * 0.125 + speed_variation) % 1
alpha_to_show = alpha_to_show if not show_question else 0
offset = alpha_to_show * 500 - 100
try: try:
# Use scaled_positions if it exists, otherwise default to origin # Use scaled_positions if it exists, otherwise default to origin
if scaled_pos_op and i < scaled_pos_op.numSamples: if scaled_pos_op and i < scaled_pos_op.numSamples:
center = [scaled_pos_op[0][i], scaled_pos_op[1][i], scaled_pos_op[2][i]] center = [scaled_pos_op[0][i], scaled_pos_op[1][i]+ offset, scaled_pos_op[2][i]]
else: else:
center = [0, 0, 0] center = [0, 0, 0]
axis = [float(row[5]), float(row[6]), float(row[7])] axis = [float(row[5]), float(row[6]), float(row[7])]
radius = float(row[8]) * radius_scale radius = float(row[8]) * radius_scale
if show_question:
axis = [0, 1, 0]
radius = 1.0 * radius_scale
except (ValueError, TypeError, IndexError): except (ValueError, TypeError, IndexError):
continue continue

Loading…
Cancel
Save