asset.ruler
Since next
Set an imported model's unit scale from two points on it (file space) and their real distance in metres, one undo step.
Clears targetSizeM.
| Title | Scale a scan by a ruler |
| Mode | editor |
| Token cost | about 145 tokens (listed only when its toolset is enabled) |
| Toolset | assets |
Arguments
| Argument | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
a | number[] | yes | [x, y, z] in the file's space | ||
asset | string | yes | |||
b | number[] | yes | |||
metres | number | yes | The real distance between a and b |
Example
An MCP tools/call with the required arguments (placeholders in angle brackets).
{
"name": "asset.ruler",
"arguments": {
"a": [],
"asset": "<asset>",
"b": [],
"metres": 0
}
}