This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<component name="InspectionProjectProfileManager"> | |
<settings> | |
<option name="useProjectProfile" value="false" /> | |
<option name="USE_PROJECT_PROFILE" value="false" /> | |
<version value="1.0" /> | |
</settings> | |
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<component name="InspectionProjectProfileManager"> | |
<settings> | |
<option name="useProjectProfile" value="false" /> | |
<option name="USE_PROJECT_PROFILE" value="false" /> | |
<version value="1.0" /> | |
</settings> | |
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<component name="InspectionProjectProfileManager"> | |
<settings> | |
<option name="useProjectProfile" value="false" /> | |
<option name="USE_PROJECT_PROFILE" value="false" /> | |
<version value="1.0" /> | |
</settings> | |
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
import subprocess | |
import os | |
from tqdm import tqdm | |
path = "C:\\Users\\fukuden\\Desktop\\ワンナイト人狼集計\\作業台210923" | |
files = os.listdir(path) | |
files_dir = [f for f in files if os.path.isdir(os.path.join(path, f))] | |
print(files_dir) # ['dir1', 'dir2'] | |
print("jq .[].winner " + path + files_dir[0] + "\\finished_rooms.txt") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 12.1 v4 | |
push $cut_paste_input | |
NoOp { | |
name Dissolve_Inserter | |
tile_color 0x6bffc0ff | |
note_font Verdana | |
note_font_size 9 | |
note_font_color 0xff | |
selected true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import nuke | |
def search_error_grade(): | |
error_grade = [] | |
for n in nuke.allNodes("Grade"): | |
if(n["channels"].getValue() == 4.0 and n["white_clamp"].getValue() == 0): | |
error_grade.append(n.name()) | |
return error_grade | |
print(search_error_grade()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
def convert_num_half_to_full(h_num): | |
F_NUM_LIST = ["0","1", "2", "3","4", "5", "6", "7", "8", "9"] | |
f_num_str = "" | |
h_num_str = str(h_num) | |
for string in h_num_str: | |
f_num_str += F_NUM_LIST[int(string)] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def shapeCenter(node, shapeName, frame): | |
shape = node['curves'].toElement(shapeName) | |
x = 0 | |
y = 0 | |
for eachPoint in shape: | |
x = x + eachPoint.center.getPosition(nuke.frame(frame))[0] | |
y = y + eachPoint.center.getPosition(nuke.frame(frame))[1] | |
# avarage of point value | |
x = x / len(shape) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
min = 0 | |
minmax = 0.3 | |
maxmin = 0.8 | |
max = 1.0 | |
choice = random.randint(0,1) | |
if choice: |