Design kit command
transform.rotationOrigin
Move rotation origin
Shows, hides or toggles the draggable rotation origin of the selection; not saved.
- Kit
- Design 0.1.0 (.kdesign)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
fuel | number | no | read by the command beside its listed parameters |
on | boolean | no | |
plugin | string | no | read by the command beside its listed parameters |
x | number | no | read by the command beside its listed parameters |
y | number | no | read by the command beside its listed parameters |
Call through design_run
text
design_run {
"path": "<file>.kdesign",
"steps": [{ "command": "transform.rotationOrigin" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: fuel, on, plugin, x, y. design_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
editing | boolean | no | |
moved | boolean | no | |
x | number | no | |
y | number | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"editing": {
"type": "boolean"
},
"moved": {
"type": "boolean"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"type": "object"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"fuel": {
"description": "read by the command beside its listed parameters",
"type": "number"
},
"on": {
"type": "boolean"
},
"plugin": {
"description": "read by the command beside its listed parameters",
"type": "string"
},
"x": {
"description": "read by the command beside its listed parameters",
"type": "number"
},
"y": {
"description": "read by the command beside its listed parameters",
"type": "number"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (design_commands through @kition/[email protected], built from KitionAI/kition-design@abc7e16). As data: commands.jsonl.