millisketch

Keychains

Fill an opening

fill_opening

Fills an empty opening with a body of a colour.

EditorTools tabAgentMCP
Needs
One traced keychain picked in 3D, or the one in Edit mode.
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 fill_opening, each call one step to undo. Over MCP it also takes project, editor and request_id.

What it does

A new body in an opening of the ink that holds no area, in any layer, exactly the opening's shape, in the colour given (the paper's when left out): the inverse of deleting an area. Nothing is traced again.

In the Tools tab, tap inside the opening first.

Inputs

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

InputTypeWhat it is
bodyneededstringThe ink's id or name, or any body of the same keychain.
atneeded[x, y] in mm[x, y] in mm inside the opening, in the document's millimetres.
colorstring"#rrggbb"; the paper's colour when left out. To match another body, use its color from the document exactly.

Limits

  • The ring hole is an opening too: a point inside it fills it.

Examples

Put back an area deleted by mistake

Given: A keychain traced from a drawing of a cat, its ink named Cat keychain.

Delete one of the keychain's areas, which leaves its opening a hole through; then fill the opening at a point inside it.

Then: A new body exactly in the opening, in the colour asked.