Hello Tom,
you can try this one and feel free to ask some improvements if needed :
http://www.nabscripts.com/Forum/Scripts ... enamer.jsx
Search found 203 matches
- September 6th, 2006, 9:57 pm
- Forum: Script requests
- Topic: Renaming Script
- Replies: 6
- Views: 13660
- August 8th, 2006, 11:15 pm
- Forum: Scripts Discussion
- Topic: Tip for rounding numbers
- Replies: 2
- Views: 7839
Tip for rounding numbers
Hi all, we often have to round numbers in our scripts (or expressions). I usually use the Math.round() method to accomplish this, for example: x = 57.351245; alert(Math.round(x*100)/100); // 2-digit precision -> 57.35 Yesterday I've found an alternative way to round numbers with a defined precision:...
- August 8th, 2006, 10:50 pm
- Forum: Scripts Discussion
- Topic: Accessing a selected mask vertex
- Replies: 1
- Views: 6626
- July 31st, 2006, 7:12 pm
- Forum: Scripts Discussion
- Topic: Getting a source text out of "Basic Text" effect
- Replies: 2
- Views: 7947
- June 10th, 2006, 9:47 am
- Forum: Script requests
- Topic: AE to C4D
- Replies: 13
- Views: 40108
- June 9th, 2006, 10:40 pm
- Forum: Script requests
- Topic: AE to C4D
- Replies: 13
- Views: 40108
- June 9th, 2006, 3:26 am
- Forum: Script requests
- Topic: mask color changer
- Replies: 2
- Views: 8540
Hi Varangian, okay I take this one...I love masks :D the palette is probably not the most beautiful I've made :lol: but I hope this will be a bit useful... Colors are Yellow, Red, Green, Blue, Magenta, Orange and White, I didn't know exactly what colors fit to your needs for all types of maskMode......
- June 1st, 2006, 7:57 pm
- Forum: Scripts Discussion
- Topic: Deleting keyframes
- Replies: 2
- Views: 8313
- May 31st, 2006, 2:56 pm
- Forum: Expression Discussion
- Topic: loopOut("continue") and orientation
- Replies: 2
- Views: 10933
Hello Mylenium, thanks for the reply, I think I understood what you meant. I've found some good infos on the net about orientation/rotations, the way to represent/store them, usually using quaternions as you mention and others really interesting stuff -and complex as well- related to 3D game program...
- May 27th, 2006, 11:51 pm
- Forum: Expression Discussion
- Topic: loopOut("continue") and orientation
- Replies: 2
- Views: 10933
loopOut("continue") and orientation
Hello,
does someone know why we cannot apply the loopOut("continue") expression on the orientation property of a three-D layer ?
thanks !
does someone know why we cannot apply the loopOut("continue") expression on the orientation property of a three-D layer ?
thanks !
- May 20th, 2006, 10:56 am
- Forum: Expression Discussion
- Topic: date?
- Replies: 8
- Views: 18048
I also got the same error... that's why I tried to specify an argument (an integer in my case). I've made my own experiments too ... just for fun I put this sourceText expression that mainly consists in a while loop and call the Date() function before/after the loop to get the 'running time'. i = 0;...
- May 19th, 2006, 5:23 pm
- Forum: Expression Discussion
- Topic: date?
- Replies: 8
- Views: 18048
hello, could you (Dan) briefly explain how the Date( number ) method works in expressions ? if I write this expression for source text Date(0); I get the current date and time and it updates as the comp time augments. if I replace '0' by any other number (10000000 for example), it doesn't seem to ch...
- May 1st, 2006, 12:56 pm
- Forum: Script requests
- Topic: reading the lenght of a mask !
- Replies: 3
- Views: 10413
- April 21st, 2006, 10:07 pm
- Forum: Script requests
- Topic: reading the lenght of a mask !
- Replies: 3
- Views: 10413
Hi sebastien, it's not generally easy to determine the length of a bezier mask (formed by multiple bezier curves), but you can achieve it by decomposing all curves in infinitesimal segments. Then you simply have to compute the sum of the length of each segment to obtain the approximated total length...
- April 10th, 2006, 11:36 pm
- Forum: Script requests
- Topic: script idea (timesaver)
- Replies: 4
- Views: 11239
For the entire comp duration, replace the line you mentioned by:
should be ok
Code: Select all
myBrushDuration.setValue([0,myComp.duration]);