Skip to main content
Glama

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 cloner

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cloner_typeYes
nameNo

Implementation Reference

  • 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")
  • Registration of the create_mograph_cloner tool using the @mcp.tool() decorator.
    @mcp.tool()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ttiimmaacc/cinema4d-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server