# Add Arc (`geometry.addArc`)

[Component reference](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/) · [繁體中文](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/commands/geometry-addArc/)

**Menu:** none (Quick Open, the CLI, Python and MCP) · **Runs as:** at once

> Preview: turn on Preview features in Edit › Preferences › Simulation, or run `preview.set {"enabled":true}`. Its replies carry `preview: true` and a note.

## What it does

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

## Parameters

- `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)

## Reply

- edge
- from
- to
- ...summary
