Hello., part 2
Second script that I could really use would be one that can load data from a .txt file that looks like this: (I would like to parse from the original file if possible because I have about 2000 files, however if that’s not possible or just a pita with lua script, I can always export the relevant data to a .txt or .csv using Notpad++.
…so the data looks like this:
------------Super simple example:(The max # of points these can have is around 100, this one just has 4.)----------------
{“name”:“Saw Up”,“num_points”:4,“points”:[0.0,1.0,0.5247524976730347,0.4867578148841858,1.0,0.0,1.0,1.0],“powers”:[0.0,-7.1822590827941895,0.0,0.0],“smooth”:false}
The data is x,y pairs (note: 1.0 is actually the points y:min. val and 0.0 is y:max…, so it’s kinda weird). x values are in the range 0.0-1.0.
The “powers” are the segment curve values in the range -10.0 = y:max and 10.0 = y:min.
You’ve probably guessed by now that I would like to import this data into a “User Env”…, please, oh please tell me one of you can script this.
Thank you
P.S.
Anyone know why part of my post ended up in bold font?