Node Wrangler

This add-on gives you several tools that help you work with nodes quickly and efficiently. Many functions work for both the Compositor and shader nodes, and some functions bring features already in the Compositor to the shader nodes as well. Some tools are made for a specific function, however we have made it our goal to allow complete flexibility for you to use the tools in every situation, even where we did not intend.

激活

  • Open Blender and go to Preferences then the Add-ons tab.

  • Click Node then Node Wrangler to enable the script.

用法

Use panel in Sidebar of node editor or Ctrl-Spacebar keyboard shortcut or individual shortcuts for tools.

描述

Lazy Connect

参考

快捷键

Ctrl-RMB-drag, Shift-Ctrl-RMB

Make links between the nodes without having to precisely select the sockets. Just drag from one node to another while holding Ctrl-RMB. The nodes nearest the mouse are used, so you don’t even have to click on one precisely.

Also, use Shift-Ctrl-RMB to show a menu of inputs and outputs to make a more accurate connection. This is useful when working with a large node tree, since you can easily make connections without having to zoom in and out a lot.

Lazy Mix

参考

快捷键

Alt-RMB-drag

Merge outputs of two nodes using a Mix node or Mix Shader node by dragging from one node to another while holding down Alt-RMB. A Mix node or Mix Shader node will be added and the outputs of the nodes will be connected to it.

合并

Quickly add Mix, Math, Z-Combine, Alpha Over, Mix Shader or Add Shader nodes that will merge outputs of selected nodes.

Merge with Automatic Type Detection

参考

快捷键

Ctrl-0, Shift-Ctrl-=, Ctrl-Minus, Shift-Ctrl-8, Ctrl-Slash, Shift-Ctrl-Comma, Shift-Ctrl-Period

Selected nodes’ outputs will be merged using Mix, Math, Mix Shader or Add Shader nodes, depending on types of selected nodes.

Add Shift-Ctrl-=

Sets the blend mode or math operation to Add. When shaders are selected an Add Shader will be used.

Multiply Shift-Ctrl-8

Multiply blend mode or math operation.

Subtract Ctrl-Minus

Subtract blend mode or math operation.

Divide Ctrl-Slash

Divide blend mode or math operation.

Mix Ctrl-0

Mix blend mode or when shaders are selected a Mix Shader node will be used.

Greater than Shift-Ctrl-Comma

Greater than math operation.

Less than Shift-Ctrl-Period

Less than math operation.

Merge Using Mix Node

参考

快捷键

Shift-Ctrl-Alt-=, Ctrl-Alt-Minus, Shift-Ctrl-Alt-8, Ctrl-Alt-Slash

Using Ctrl-Alt with proper keys will force to use Mix node for merging no matter what types of nodes are selected.

Merge Using Z-Combine Node

参考

快捷键

Ctrl-NumpadPeriod

Z-Combine nodes will be used for merging. If possible — image and Z-Depth outputs will be linked.

Merge Using Alpha Over Node

参考

快捷键

Ctrl-Alt-0

Alpha Over nodes will be used for merging.

Merge Using Math Node

参考

快捷键

Shift-Ctrl-=, Shift-Ctrl-Minus, Shift-Ctrl-8, Shift-Ctrl-Slash, Shift-Ctrl-Comma, Shift-Ctrl-Period

Using Shift-Ctrl with proper keys will force to use Math node for merging no matter what types of nodes are selected.

Batch Change Blend Mode / Math Operation

参考

快捷键

Alt-Up, Alt-Down, Alt-0, Shift-Alt-=, Alt-Minus, Shift-Alt-8, Alt-Slash, Shift-Alt-Comma, Shift-Alt-Period

Select Mix nodes or Math nodes and change their blend mode or math operation at the same time. Use keys specified above. They will change the blend mode or operation accordingly to: Mix, Add, Subtract, Divide, Less than, Greater than. Use Alt-Up or Alt-Down to go through all available blend modes or math operations.

Change Mix Factor

参考

快捷键

Alt-Left, Shift-Alt-Left, Alt-Right, Shift-Alt-Right

Change Factor of selected Mix nodes or Mix Shader nodes.

  • Use Alt-Right to increase it by 0.1.

  • Use Alt-Left to decrease it by 0.1.

  • Use Shift-Alt-Right to increase it by 0.01.

  • Use Shift-Alt-Left to decrease it by 0.01.

  • Use Shift-Ctrl-Alt-Left to set factor to 0.0. Additional shortcut is Shift-Ctrl-Alt-0.

  • Use Shift-Ctrl-Alt-Right to set factor to 1.0. Additional shortcut is Shift-Ctrl-Alt-1.

Delete Unused Nodes

参考

快捷键

Alt-X

Clean your node tree. Delete all of the nodes that don’t contribute to the final result.

Swap Links

参考

快捷键

Alt-S

Select two nodes that have something linked to their outputs. Alt-S will swap the outputs. What originally was linked to output of the first node will now be linked to output of the second node and vice versa.

Or, select one node with a single linked input — Alt-S will cycle the link through the available input sockets. Or, select one node with two linked inputs — Alt-S will swap the two links. If more then two inputs are linked, the two with matching types will be swapped (such as a Mix node’s two color inputs).

Reset Backdrop

参考

快捷键

Z

Reset position and scale of the backdrop.

Add UV Layout Attribute Node

参考

菜单

Header ‣ Add menu

Add Attribute node with the attribute set to UV Layout.

Add Vertex Color Attribute Node

参考

菜单

Header ‣ Add menu

Add an Attribute node with the attribute set to vertex color.

Shader Viewer

参考

快捷键

Shift-Ctrl-LMB

Viewer Node for shaders. Shift-Ctrl-LMB and the output of the node will be linked to newly created Emission shader and Material Output. This is an easy way of previewing textures.

框显所选

参考

快捷键

Shift-P

Select nodes and “wrap” them in Frame node by hitting Shift-P. Immediately after that hit F6 to set the color and label of the Frame.

Reload Images

参考

快捷键

Alt-R

All of the images used in the node tree (Image inputs, textures) can be reloaded by hitting Alt-R.

Switch Node Type

参考

快捷键

Shift-S

Change the type of selected node(s) to any other type. Hit Shift-S and you’ll get the menu ordered exactly the same as Add ‣ Node menu. Choose the new type.

复制设置

参考

快捷键

Shift-C

Copy settings of active node to all selected nodes of the same type.

Copy Label

参考

快捷键

Shift-C

Copy labels all selected nodes based on various criteria. Labels can be copied from labels (names) of active node Shift-V, or from names (labels) of nodes that are linked to selected ones or from the names of sockets that the selected nodes are linked to. All options will be revealed in sub-menu after hitting Shift-C.

Clear Label

参考

快捷键

Alt-L

Clear labels of selected nodes.

Modify Label

参考

快捷键

Shift-Alt-L

Batch change labels of selected nodes. Add text to beginning, to end, replace parts of text.

Add Texture Setup

参考

快捷键

Ctrl-T

Select any shader node, Ctrl-T and an image texture with nodes controlling coordinates will be added. If you select any texture node, only the Texture Coordinate and Mapping nodes will be added. A background shader will get an Environment Texture node with generated mapping.

Add Reroutes to Outputs

参考

快捷键

Slash

Reroute nodes will be added and linked to each output of each selected node.

Link Active to Selected

参考

快捷键

Backslash, K, Shift-K, ‘, Shift-‘, ;, Shift-;

Link active node to selected nodes basing on various criteria.

  • Backslash — Call main Link Active to Selected menu.

  • K — Link active to all selected. Use Shift-K to force to replace existing links.

  • Shift-‘ — Link only to selected nodes that have the same name/label as active node (Shift-‘ to replace existing links).

  • ; — Link selected when name of output matches the name or label of selected node. Handy for replacing sources. For example Render Layer to image (multi-layer EXR).

对齐节点

参考

快捷键

Shift-=

Align nodes horizontally or vertically. Same as S X 0 or S Y 0, but with even spacing between the nodes.

Select within Frame (Parent/Children)

  • ] — Select all nodes wrapped in selected Frame node.

  • [ — Select frame node that selected nodes are wrapped in.

Detach Outputs

参考

快捷键

Shift-Alt-D

Detach output of selected node leaving linked inputs.

Link to Output Node

参考

快捷键

O

In compositing — link to Composite output. In materials — link to Material Output node.

Add Image Sequence

参考

菜单

Add ‣ Input menu for composite nodes, or Add ‣ Texture menu for shader nodes

Select just one image from a sequence in the File Browser and it will automatically detect the length of the sequence and set the node appropriately.

Add Multiple Images

参考

菜单

Add ‣ Input menu for composite nodes, or Add ‣ Texture menu for shader nodes

Simply allows you to select more than one image and adds a node for each. (Useful for importing multiple render passes or renders for image stacking.)

See also

Please see the old Wiki for the archived original docs.

参考

类别

节点

描述

Various tools to enhance and speed up node-based workflow.

坐标

node editor ‣ Sidebar or see the hotkeys of individual tools.

文件

node_wrangler.py

作者

Bartek Skorupa, Greg Zaal, Sebastian Koenig, Christian Brinkmann, Florian Meyer

许可证

GPL

说明

该插件为Blender自带插件。