---
title: "vector.edit.cut: Cut path — Design kit command — Kition"
description: "Cuts paths at a segment point or vertex, or along a line between two page points."
canonical: "https://developer.kition.ai/docs/kits/design/commands/vector.edit.cut"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/design/commands/vector.edit.cut](https://developer.kition.ai/docs/kits/design/commands/vector.edit.cut)

# vector.edit.cut

**Cut path.** Cuts paths at a segment point or vertex, or along a line between two page points.

- Kit: Design 0.1.0 (.kdesign); reference: [Design kit commands](https://developer.kition.ai/docs/kits/design.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `from` | `number[]` | no | in one of several forms of the parameters |
| `segment` | `integer` | no |  |
| `t` | `number` | no |  |
| `to` | `number[]` | no | in one of several forms of the parameters |
| `vertex` | `any` | no | in one of several forms of the parameters |

## Call through design_run

```text
design_run {
  "path": "<file>.kdesign",
  "steps": [{ "command": "vector.edit.cut" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `from`, `segment`, `t`, `to`, `vertex`. design_run answers the step’s result in `completed[i].result`.

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "from": {
      "description": "in one of several forms of the parameters",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "segment": {
      "type": "integer"
    },
    "t": {
      "type": "number"
    },
    "to": {
      "description": "in one of several forms of the parameters",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "vertex": {
      "description": "in one of several forms of the parameters"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/design-darwin-arm64@0.1.0 and the kit itself (design_commands through @kition/cli@0.1.1, built from KitionAI/kition-design@abc7e16).
