Skip to main content
Glama

create_abstract_shape

Generate organic abstract shapes like blobs or metaballs for 3D modeling in Cinema 4D, enabling creative visual design through structured parameters.

Instructions

Create an organic, abstract shape.

Args:
    shape_type: Type of shape (blob, metaball)
    name: Optional name for the shape

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
shape_typeYes
nameNo

Implementation Reference

  • The handler function for the `create_abstract_shape` tool, which manages the C4D connection and sends the command.
    async def create_abstract_shape(
        shape_type: str, name: Optional[str] = None, ctx: Context = None
    ) -> str:
        """
        Create an organic, abstract shape.
    
        Args:
            shape_type: Type of shape (blob, metaball)
            name: Optional name for the shape
        """
        async with c4d_connection_context() as connection:
            if not connection.connected:
                return "❌ Not connected to Cinema 4D"
    
            command = {"command": "create_abstract_shape", "shape_type": shape_type}
    
            if name:
                command["object_name"] = name
    
            response = send_to_c4d(connection, command)
            return format_c4d_response(response, "create_abstract_shape")
  • The MCP tool registration for `create_abstract_shape`.
    @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