Scene kit command
mesh.proportional
Proportional Editing
Turns proportional editing on or off and sets its falloff and radius; answers the setting.
- Kit
- Scene 0.1.0 (.kscene)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
connected | boolean | no | Only vertices joined to the selection by edges follow, by their distance along the edges |
falloff | "smooth" | "sphere" | "root" | "linear" | "sharp" | "constant" | no | How the pull fades with distance |
on | boolean | no | On or off; toggles when left out |
radius | number | no | How far, in metres, unselected vertices follow (1) |
Call through scene_run
text
scene_run {
"path": "<file>.kscene",
"steps": [{ "command": "mesh.proportional" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: connected, falloff, on, radius. scene_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
proportional | object | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"proportional": {
"additionalProperties": true,
"properties": {
"connected": {
"type": "boolean"
},
"falloff": {
"type": "string"
},
"radius": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"connected": {
"description": "Only vertices joined to the selection by edges follow, by their distance along the edges",
"type": "boolean"
},
"falloff": {
"description": "How the pull fades with distance",
"enum": [
"smooth",
"sphere",
"root",
"linear",
"sharp",
"constant"
],
"type": "string"
},
"on": {
"description": "On or off; toggles when left out",
"type": "boolean"
},
"radius": {
"description": "How far, in metres, unselected vertices follow (1)",
"type": "number"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (scene_commands through @kition/[email protected], built from KitionAI/kition-scene@4d06faf). As data: commands.jsonl.