# 新增圓弧 (`geometry.addArc`)

[元件參考](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/) · [English](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/commands/geometry-addArc/)

**選單:** 無（快速開啟、CLI、Python 與 MCP） · **執行方式:** 立即完成

> 預覽功能：在「編輯 › 偏好設定 › 模擬」開啟預覽功能，或執行 `preview.set {"enabled":true}`。回覆會帶有 `preview: true` 與說明。

以下參數與說明取自指令本身的定義，與 CLI、Python 及 MCP 讀到的文字相同，因此保留英文。

## 說明

Adds a circular arc, as FEMM's arc segment. A full circle is two arcs (geometry.addCircle). One undo step.

## 參數

- `from`: int|\[number\] (a point index, or x, y in m)
- `to`: int|\[number\]
- `sweepDeg`: number (0 to 360, not inclusive: the arc turns counter-clockwise from \`from\` to \`to\`)
- `snap`: number? (grid, m)

## 回覆

- edge
- from
- to
- ...summary
