This file contains hidden or 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
# | |
# Save into your addons directory as mesh_set_vertex_color.py | |
# and activate the add-on in user preferences | |
# | |
bl_info = { | |
"name" : "Set Vertex Color", | |
"author" : "Stanislav Blinov, edited by Henrik Berglund", | |
"version" : (1, 1, 0), | |
"blender" : (2, 79, 0), |
This file contains hidden or 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 shutil | |
import glob | |
path = "C:\\beatsaber\\OST\\" | |
filenames = glob.glob(path + "*.txt") | |
for filename in filenames: | |
with open(filename, 'r') as txtfile: | |
data=txtfile.read().replace('\n', '') | |
splitstring = data.split('_jsonData = "')[1].rsplit('"', 1)[0] |
This file contains hidden or 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
(1,0,0,1), | |
(0,1,0,1), | |
(0,0,1,1), | |
(1,1,0,1), | |
(1,0,1,1), | |
(0,1,1,1), | |
(1,0.5,0.5,1), | |
(0.5,1,0.5,1), | |
(0.5,0.5,1,1), | |
(1,1,0.5,1), |
OlderNewer