基于节点的工具

Geometry Nodes can be used to expand the core functionality of Blender via node-group-defined tools. They can be shared as any regular node group assets.

../../_images/modeling_geometry-nodes_tools.png

Node group tools integrated in the Selection menu.

工具上下文

The way to create Node-based tools is by switching the Geometry Nodes editor context to Tool.

New node groups created in the tool context will be enabled as Tool by default, although users still need to set them as Assets if they want to share them (see below).

Note

The Inspection features are not supported in the Tool context: Viewer Node and Socket Inspection.

资产

For a node group to be shared as a tool, it has to be an Asset first. The asset catalog is used to determine on which menus the node group will show, similar to the regular node group assets. If the catalog name matches an existing menu, the tool will be added to the end of it. Assets that have no catalog assigned to them, or local tools are exposed in the “Unassigned” menu.

资产选项需在资产浏览器中设置。

工具设置

The node group inputs will be exposed as in the Adjust Last Operation panel.

支持的模式与数据类型

Node groups must specify which modes and object types they support. This helps to determine where the tool is available in the user interface. These properties can be configured in popover menus in the Geometry Node editor when in the Tool context.

目前仅支持物体、编辑、雕刻模式,且仅针对网格与毛发曲线物体类型。

Important

For mesh objects, 形态键 are not supported. Operating a node tool on a mesh with shape keys will remove the shape key data.

工具专用节点

以下节点只在 工具 上下文中受支持:

Note

自身物体工具 节点组内时将返回活动物体。

不支持的节点

以下节点只在 修改器 上下文中受支持: