ベクトルの乗積


http://docs.autodesk.com/3DSMAX/14/JPN/Rampage%20MAXScript%20Guide/index.html?url=./files/WScfd53b2325797c985d627ae6128f25abcff-7fcd.htm,topicNumber=d0e53605

[MaxScript] ":"のついたオジェクト名を"_"に修正。


for reName in selection do(

newChar = ""
char = FilterString reName.name ":"

for v_count = 1 to char.count do
(
if (v_count == char.count) then (
append newChar char[v_count]

)else(
append newChar char[v_count]
append newChar "_"
)
v_count += 1
)

reName.name = newChar

)

[realflow_memo] white egg density


https://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&uact=8&ved=0CEEQFjAD&url=http%3A%2F%2Fwww.researchgate.net%2Fprofile%2FMohammad_Zarein%2Fpublication%2F261678275_Ohmic_processing_of_liquid_whole_egg_white_egg_and_yolk%2Flinks%2F02e7e534fa8eab7860000000.pdf&ei=YA4dVcuVNIK1mAXf8YHQBA&usg=AFQjCNH_MxDBJeD5_qfmmC_JwJOjuxkAYQ&sig2=sdOJxnlLPAEnQrzbfo5Uhw

[Realflow] HyFLIP - Viscosity Values


http://support.nextlimit.com/display/rf2014docs/HyFLIP+-+Viscosity+Values

[max scripts]auto constraint


--ex.)
--target object = a, b, c
--select object = a001, b002,c005


for i in selection do (


 obj_tar = execute ("$" + (trimRight i.name "0123456789") )

print obj_tar
 i.pos.controller = Position_Constraint ()
 posConstraintInterface = i.pos.controller.constraints
 posConstraintInterface.appendTarget obj_tar 50.0


 i.rotation.controller = Orientation_Constraint ()
 OrientationConstraintInterface = i.rotation.controller.constraints
 OrientationConstraintInterface.appendTarget obj_tar 50.0

)

[MAYA mel] fpsとレゾリューションをMELで設定。


//30 fps
currentUnit -time ntsc;

setAttr "defaultResolution.width" 1200;
setAttr "defaultResolution.height" 960;
setAttr "defaultResolution.deviceAspectRatio" 1.25;

[max scripts]Preview avi の名前を自動変更。


setSceneName = "test"

max preview
copyfile  ((getDir #preview)+ "\\_scene.avi") ((getDir #preview)+ "\\" + setSceneName + "_max2AE.avi")