create_mograph_cloner
Generate MoGraph Cloner objects in Cinema 4D for grid, radial, or linear pattern creation to automate 3D modeling tasks.
Instructions
Create a MoGraph Cloner object of specified type.
Args:
cloner_type: Type of cloner (grid, radial, linear)
name: Optional name for the clonerInput Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cloner_type | Yes | ||
| name | No |
Implementation Reference
- src/cinema4d_mcp/server.py:743-763 (handler)The handler function that creates a MoGraph Cloner by sending a command to the C4D connection.
async def create_mograph_cloner( cloner_type: str, name: Optional[str] = None, ctx: Context = None ) -> str: """ Create a MoGraph Cloner object of specified type. Args: cloner_type: Type of cloner (grid, radial, linear) name: Optional name for the cloner """ async with c4d_connection_context() as connection: if not connection.connected: return "❌ Not connected to Cinema 4D" command = {"command": "create_mograph_cloner", "mode": cloner_type} if name: command["cloner_name"] = name response = send_to_c4d(connection, command) return format_c4d_response(response, "create_mograph_cloner") - src/cinema4d_mcp/server.py:742-742 (registration)Registration of the create_mograph_cloner tool using the @mcp.tool() decorator.
@mcp.tool()