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

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
