This sample shows how parametric CADMAI models can be steered by user interaction (e.g. Drag actions).

The web site handles mouse events from the CADMAI window by notification handlers and updates the correspondent model geometry with the values received from CADMAI.

In this sample the position of the sinks can be stored by value input and the length of the rod can be steered by dragging the arrow ends.
The length of the gear rod is controlled by the model logic, so that always complete cogs are designed