> For the complete documentation index, see [llms.txt](https://docs.openbrim.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openbrim.org/templates/cadd/bezier-cadd.md). Agents can also search and read this documentation through its [MCP server](https://docs.openbrim.org/~gitbook/mcp).

# Bezier Curve

A **Bezier Curve** is a smooth curve defined by control points. The curve passes through the first and last control points and is shaped (without passing through) by the intermediate ones. In bridge drawings it's used for transitions, aesthetic boundaries, and any place where you need a continuous, smoothly curved path that's easier to control than a polyline approximation.

To draw: pick the start point, then intermediate control points that pull the curve, then the end point. Press Enter or double-click to finish.

## Geometry

**Name:** Identifier within the parent CAD document. Must be unique.

**Level:** The layer controlling color, line weight, and dash style.

The curve's shape is controlled by its child Point objects (the control points). The first and last points are anchors (the curve passes through them); the middle points pull the curve toward them without the curve actually touching them.

## Editing

**Move a control point:** drag the handle to reshape the curve. The curve updates continuously.

**Add a control point:** insert a new control point on the curve to gain finer control over a region.

**Remove a control point:** right-click and remove if you want to simplify the curve.

## Notes

For polyline shapes through a known set of vertices, use a Line — it's simpler and the result is exact at every vertex.

For interpolating curves that should pass through every input point (rather than be pulled by intermediate ones), use a Curve instead.

Beziers are best for curves with two or three control points; longer chains become harder to control intuitively. For complex aesthetic shapes it's often easier to stitch several short Beziers together end-to-end.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.openbrim.org/templates/cadd/bezier-cadd.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
