Hey all, Recently making the transition from 3ds Max to Maya. So far so good, except how horrible my renders are coming out (normals). I've tried using Turtle but I don't think I can "bake" properly as I'm not using LT and the bake button isn't anywhere to be found, I've tried rendering by hitting the Clapperboard but I'm…
There are two ways. Either use Hypershade to use MultiplyDivide nodes to do the conversion (which is really fast, values are restricted to three decimals though so you loose precision). The other way is using an expression. Expressions can slow down your scene if you're not careful. A simple deg/rad-conversion shouldn't be…
Thanks a lot for everybodys help on this. The script works perfectly. But now i run into another problem. First I must explain the purpose for requesting this script. This is part of the main Script Im trying to write which is Quad fill (imitating Quad-cap max plugin by obliviboy). So far Ive been sampling many mel scripts…
Hi folks ! I spent quite of time in the past (and even today) to find any informations on how to execute mel commands from an ascii scene file. Unfortunately I didn't found any clue on this "feature". By reading a Maya ascii I can see it's mostly simple commands executed like in any mel script. I was able to launch one of…
Or better yet, if easier to do in python (tho I haven't figured out how to translate sets -e -forceElement initialShadingGroup into python yet..) import maya.cmds as cmds import maya.mel as mel cmds.select("*hg*"); models = cmds.ls(sl=True) for m in models: cmds.polySoftEdge( a=180 ); cmds.delete(all=True, ch=True);…
Hi is there any way to repeat the last command with the exact same value. (without using cop and paste attribute that is pain in the ass). (G is the shortcut to repeat but not with the exact values). Any #MEL command to repeat that?