millisketch

Bodies

Delete a body

delete_body

Deletes a body.

EditorTools tabAgentMCP
Needs
One body picked in 3D, or the one in Edit mode.
In the editor
3D, Object mode: X, Delete, or the bin beside the body's name, for every body picked.
Tools tab
A form of its inputs, filled from what is picked; Run makes the change, one step to undo.
Agent and MCP
The chat's agent and MCP clients call delete_body, each call one step to undo. Over MCP it also takes project, editor and request_id.

What it does

Takes the body out of the document, as one step that Undo brings back.

On a coloured area of a keychain, its opening becomes a hole through the keychain, unless another layer of that area is left; Fill an opening puts an area back.

Inputs

As the agent and MCP clients send them. One left out takes the default its description gives.

InputTypeWhat it is
bodyneededstringThe body's id or its name.

Limits

  • One body a call; the editor's X deletes every body picked.
  • A face, an edge or a vertex cannot be deleted: a solid stays closed.

Examples

Delete a box

Given: Box 1, a 20 mm box standing on the ground at the origin.

delete_body { "body": "Box 1" }

Then: Box 1 is gone and the document holds no body; Undo brings it back.