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 bodyInput Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_name | Yes |
Implementation Reference
- src/cinema4d_mcp/server.py:843-857 (handler)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") - src/cinema4d_mcp/server.py:842-843 (registration)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: