Cut an area
cut_area
Opens a new coloured area inside wide ink.
- 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
cut_area, each call one step to undo. Over MCP it also takesproject,editorandrequest_id.
What it does
A new coloured area opened inside wide ink: the ink around the point, thinned by the border and less its slivers, becomes a body of its own in the colour given (the paper's when left out), with that border of ink kept round it. Within keeps the area inside a radius of the point, for two round eyes say.
In the Tools tab, tap the ink where the area goes first.
Inputs
As the agent and MCP clients send them. One left out takes the default its description gives.
| Input | Type | What it is |
|---|---|---|
| bodyneeded | string | The ink's id or name, or any body of the same keychain. |
| atneeded | [x, y] in mm | [x, y] in mm, on the ink where the area goes, in the document's millimetres. |
| border | number | The ink to leave around the area, in mm: 0.4 to 10, 1 when left out. |
| color | string | "#rrggbb"; the paper's colour when left out. To match another body, use its color from the document exactly. |
| within | number or null | A radius in mm to keep the area within; left out, the area is all the ink around the point that is wide enough. |
Limits
- Refused where the ink is under twice the border wide, where the area would be too small to print, or where it would cut the ink in two.
Examples
Given: A keychain traced from a drawing of a cat, its ink named Cat keychain.
Inspect a traced body: its solid_parts say where the ink is wide. Cut an area at a point inside the ear, border 1 mm, colour "#f4a6c0".
Then: A pink body inside the ear with 1 mm of black ink round it.