millisketch

Read

Look from above

look_at

Draws a top-down picture of a region in text, and says what lies under a point and how wide it is there.

EditorTools tabAgentMCP
Needs
A body in the document; nothing to pick.
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 look_at, which changes nothing. Over MCP it also takes project, editor.

What it does

A picture of the model from above, in text: a region of the ground plane as rows of cells, each the letter of the body on top there or a dot for nothing, every row labelled with its Y and the first line giving the columns' X, then a legend of each body's footprint and top.

With a point, it also lists the bodies under it and how wide each is across it, in X and in Y. A width zooms in on a region that many millimetres across; columns sets the cells across, 16 to 96, 48 by default, each cell twice as tall as it is wide so that a circle reads round.

It draws the meshes the 3D view draws, so the agent can read positions off it in millimetres; in the Tools tab the point last tapped on the model is where it looks.

Inputs

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

InputTypeWhat it is
at[x, y] in mm[x, y] in mm, the middle of the region, and the point to report on; the middle of the bodies when left out.
sizenumberThe region's width in mm; the bodies' box, with a margin, when left out. Smaller is a closer look.
columnswhole numberCells across, 16 to 96; 48 when left out. A cell is size / columns mm wide and twice that tall.
bodiesa list of stringOnly these bodies; every body when left out.

Limits

  • It looks straight down: what lies under an overhang is not seen.
  • It changes nothing, and needs a body in the document.

Examples

Look at a box from above

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

look_at { "at": [0, 0], "size": 40 }

Then: A square of A's 20 mm across in the middle of a 40 mm region, its top at 20 mm, and under (0, 0) Box 1, 20 mm across in X and in Y.