complete_geometry_node
Construct a geometry node network for procedural modeling. Define nodes, links, and inputs to create parametric objects like tables or organic shapes.
Instructions
Create a complete geometry node network for procedural modeling.
This tool enables AI-driven procedural modeling by creating sophisticated geometry node networks.
Perfect for creating parametric objects like tables, chairs, organic shapes, and complex procedural geometry.
Parameters:
- object_name: Name of the object to apply geometry nodes to (will be created if doesn't exist)
- nodes: List of node definitions, each containing:
- type: Node type (e.g., "GeometryNodeMeshCube", "GeometryNodeSubdivisionSurface")
- location: [x, y] position in node editor (optional)
- label: Custom label for the node (optional)
- inputs: Dict of input values {input_name: value} (optional)
- properties: Dict of node properties {property_name: value} (optional)
- links: List of connections between nodes:
- from_node: Source node index (int) or name (str)
- from_socket: Source socket name (str) or index (int)
- to_node: Target node index (int) or name (str)
- to_socket: Target socket name (str) or index (int)
- input_sockets: Interface inputs for the node group (optional):
- name: Input name
- type: Socket type (e.g., "VALUE", "VECTOR", "GEOMETRY")
- value: Default value (optional)
Example for a simple procedural table:
nodes = [
{"type": "NodeGroupInput", "location": [0, 0]},
{"type": "GeometryNodeMeshCube", "location": [200, 200], "inputs": {"Size": [2, 0.1, 1]}},
{"type": "GeometryNodeMeshCube", "location": [200, 0], "inputs": {"Size": [0.1, 1.8, 0.1]}},
{"type": "GeometryNodeJoinGeometry", "location": [400, 100]},
{"type": "NodeGroupOutput", "location": [600, 100]}
]
links = [
{"from_node": 1, "from_socket": "Mesh", "to_node": 3, "to_socket": 0},
{"from_node": 2, "from_socket": "Mesh", "to_node": 3, "to_socket": 0},
{"from_node": 3, "from_socket": "Geometry", "to_node": 4, "to_socket": "Geometry"}
]
Returns success message with details about the created node network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | Yes | ||
| nodes | Yes | ||
| object_name | Yes | ||
| input_sockets | No |