Skip to main content
Glama

create_soft_body

Add soft body dynamics to 3D objects in Cinema 4D, enabling realistic deformation and physics simulation for animation and modeling.

Instructions

Add soft body dynamics to the specified object.

Args:
    object_name: Name of the object to convert to a soft body

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_nameYes

Implementation Reference

  • The handler function for the `create_soft_body` tool which sends the command to the C4D connection.
    async def create_soft_body(object_name: str, ctx: Context = None) -> str:
        """
        Add soft body dynamics to the specified object.
    
        Args:
            object_name: Name of the object to convert to a soft body
        """
        async with c4d_connection_context() as connection:
            if not connection.connected:
                return "❌ Not connected to Cinema 4D"
    
            response = send_to_c4d(
                connection, {"command": "create_soft_body", "object_name": object_name}
            )
            return format_c4d_response(response, "create_soft_body")
  • Registration of the `create_soft_body` tool using the @mcp.tool decorator.
    @mcp.tool()
    async def create_soft_body(object_name: str, ctx: Context = None) -> str:

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