Resources
Running function from a string with unlimited parameters in as3
This is useful if you need to run a lot of different functions that are stored as strings:
var myFuncName:String = "myFunc";
var unlimitedParams:Array = new Array("a", "b", 1, 2);
function myFunc(... params):void
{
trace(params.length + ": " + params);
}
this[myFuncName].apply(this, unlimitedParams);//this will run the function
Modo Scripts – Join and Separate
The Join script joins selected mesh items together, the Separate script separates the selected geometry into a new mesh item.
Download
Modo Custom Toolbar I
Download
Install instructions are inside. Here is a screen showing where it’s located in my modo ui:
Knife Screen in Modo
To use knife (slice) aligned to screen, first align the workplane to the screen using ctrl-home, and then use slice.
How to turn it to a hotkey:
Copy text:
#LXMacro#
workPlane.fitView
tool.set poly.knife on
To use it in Pen mode, use this:
#LXMacro#
workPlane.fitView
tool.set PenKnife on
Paste this in a text file, save as knifescreen.LXM in your scripts folder (On Windows 7 it something like C:\Users\user\AppData\Roaming\Luxology\Scripts), execute @knifescreen.LXM command in Modo while having your mouse cursor in the perspective window, bind to a key.
It will only fire while having your mouse cursor in the perspective window. After dropping the tool, you can reset the workplane.
I’m aware of Seneca’s knife screen script, but it’s pretty hard to use.
Move/scale on two axes in Blender
3ds max’s transform gizmo has a useful little plane on it that constrains transformations on 2 axes. Blender has it also, although it is not well known I think. To constrain movement/scaling to two axes, simply shift-click the third axis, the one that is sheer to the desired transformation plane.
To do that without the manipulator and using only hotkeys, first press your transformation hotkey (currently it can only be G for move or S for scale) and shift-X (for Y + Z), shift Y (for X + Z) or shift Z (for X + Y).
Set Draw Mode on multiple objects in Blender
I struggled with this for a while now, and couldn’t find the solution anywhere. As you probably know selecting multiple objects and setting draw mode will only set it for the active one. The solution is to use Copy Attributes. Set one object and set the draw mode you want, then select multiple objects. Your first object will be the active one, if not – shift-click it. Then press ctrl-c and choose Draw Options. Done.
To set a single material, press ctrl-l instead, and choose Materials.
Yafaray not showing in Blender – Solution
I encountered today a specific problem with Yafaray install and solved it, so here it is for future generations:
If you install Yafaray in Blender that has been upgraded from a older version to newer, and your Yafaray Export option is not showing in the render menu, check if you have your scripts in your local folder AND in Documents and Settings\UserName\AppData\Blender Foundation\Blender. If you do, the Yafaray installer will put the “yafaray_ui.py” script only in Documents and Settings, and if Blender uses the local scripts path Blender\.blender\scripts, the export option will not show.
So, just copy yafaray_ui.py from Documents and Settings and paste it into Blender\.blender\scripts.


















