millisketch

Keychains

Resize a keychain

scale_outline

Resizes a whole keychain in X and Y.

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 scale_outline, each call one step to undo. Over MCP it also takes project, editor and request_id.

What it does

A whole keychain made larger or smaller in X and Y about the middle of its box, every body of it together, its heights and its place in Z kept. To make it N mm wide, the factor is N divided by its width.

The reply gives the new size, the ring hole's diameter, and the lines under 0.4 mm and parts under 2 mm it leaves too thin to print, with where.

Inputs

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

InputTypeWhat it is
bodyneededstringAny body of the keychain.
factorneedednumberHow many times larger: 0.25 to 4.

Limits

  • A factor of 0.25 to 4. Refused when the ring hole would be under 2.5 mm across.
  • The editor's own Scale changes a traced body's height too, and refuses one axis alone.

Examples

Half as big again

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

scale_outline { "body": "Cat keychain", "factor": 1.5 }

Then: Every body of the keychain 1.5 times as wide and as long, its heights as they were; the reply gives the new size and the ring hole's diameter.