Inset a face
inset_face
Draws a smaller face inside a flat one, to raise or cut it.
EditorTools tabAgentMCP
- Needs
- One flat face picked in Edit mode (Face, 3). Not on an imported mesh.
- In the editor
- Edit mode, faces picked (Face, 3): I or Inset, the distance dragged or typed; the inner face is picked after, to extrude.
- 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
inset_face, each call one step to undo. Over MCP it also takesproject,editorandrequest_id.
What it does
A smaller face drawn inside a flat one, every edge moved in by the distance. The body's surface does not change: the reply's inner_face is the new face, for Extrude a face to raise as a boss or cut as a pocket.
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 body's id or its name. |
| faceneeded | see the description | A face number from list_faces or from inset_face's `inner_face`, or the side the face looks to as the body stands: "+x", "-x", "+y", "-y", "+z" (its top) or "-z". |
| distanceneeded | number | Distance in, in mm. |
Limits
- An inset whose edge would vanish is refused: try a smaller distance.
- Only a flat face, and never an imported mesh's.
Examples
Given: Box 1, a 20 mm box standing on the ground at the origin.
inset_face { "body": "Box 1", "face": "+z", "distance": 3 }Then: A 14 × 14 mm face inside the top; inner_face is its number.