Skip to content

Set Angle Mode

Description

Set the kind of numbers you will be using to define angles (degrees or radians).

(set-angle-mode ... )

Lisp Syntax and Default Values

The (set-angle-mode ... ) function can be created using the following Lisp syntax:

(set-angle-mode mode_number)

Parameters

The (set-angle-mode ... ) function takes one argument:

  • mode _number: mode used for defining angles. 0 = degrees, 1 = pi-radians.

The default mode is 0 (degrees: 0-360). This can be used to allow angles to be specified in radians (0-2pi), instead.

Discussion

This might possibly not affect all angle values in Modalys, but it does affect things like the 'leaky-valve connection, among others (listed whaere appropriate in the relevant object's reference pages. By default, Modalys uses angles in degrees.

Options

There are no special options for this function.