# Curve

The Curve is used, together with the [Line](https://doc.realvirtual.io/extensions/page-4/path-system/line) to model a Path System. The [MUs](https://doc.realvirtual.io/components-and-scripts/mu-movable-unit) are moved along the Line with the [Path Mover.](https://doc.realvirtual.io/extensions/page-4/path-system/pathmover)

<figure><img src="https://260262196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpYxFg97YnJX96UzNNTSd%2Fuploads%2Fgit-blob-7d543b4179fb11f77068ce2b258e2958d438407a%2Fcurveparameter.png?alt=media" alt=""><figcaption></figcaption></figure>

### Path finding strategy <a href="#path-finding-strategy" id="path-finding-strategy"></a>

Please check page [Path Finding](https://doc.realvirtual.io/extensions/page-4/path-system/path-finding) for more information about path strategies and implementing your own strategies.

### Curve properties

**Drive**\
For moving [MUs](https://doc.realvirtual.io/components-and-scripts/mu-movable-unit) always a [Drive](https://doc.realvirtual.io/components-and-scripts/motion/drive) is needed. The Drive can be on the [MU](https://doc.realvirtual.io/components-and-scripts/mu-movable-unit) itself (e.g. for modelling AGVs) or the [Drive](https://doc.realvirtual.io/components-and-scripts/motion/drive) can be on the Curve or Line itself (e.g. for Power\&Freee systems). If this field is kept empty, a [Drive](https://doc.realvirtual.io/components-and-scripts/motion/drive) on the [MU](https://doc.realvirtual.io/components-and-scripts/mu-movable-unit) is needed.

**Path Strategy**\
You can assign a component of type *PathStrategy* to the line. Each time a [PathMover](https://doc.realvirtual.io/extensions/page-4/path-system/pathmover) is leaving the Path the strategy can select a successor. Please check page [Path Finding](https://doc.realvirtual.io/extensions/page-4/path-system/path-finding) for more information about using custom strategies. If the PathStrategy is empty, automatically the first successor is selected.

**Length**\
The lengh of the Curve in meters. This value is calculated and cannot be changed

**Show Path On Simulation**\
Must be set to true if path should be visible during simulation.

**Thickness**\
The thickness of the path line.

**Materialpath**\
The material of the path.

**Direction Arrow**\
If true, the Direction arrow will be displayed.

**Size Direction Arrow**\
The size of the direction arrow.

**Clockwise**\
True if radius should be drawn clockwise.

**Radius**\
The radius of the curve.

**StartAngle**\
The start angle of the curve.

**Degrees**\
The degrees of the curve.

### Path events

A certain behavoir at the entrance or the exit of an path element can be defined within the section path events. Scripts which are connected there will be called during run time.

<div align="left"><figure><img src="https://260262196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpYxFg97YnJX96UzNNTSd%2Fuploads%2Fgit-blob-4dd370a6faf09a32dc0f7a345a428bf3f9aa4179%2Fpathevents.png?alt=media" alt=""><figcaption></figcaption></figure></div>

© 2025 realvirtual GmbH [https://realvirtual.io](https://realvirtual.io/) - All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including printing, saving, photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher.
