MC-Basic:CIRCLE

From SoftMC-Wiki
Revision as of 16:09, 13 December 2010 by Arwiebe (talk | contribs) (1 revision)
Jump to: navigation, search

The CIRCLE command issues a circular path trajectory for the specified group, and uses the properties of that group.

The CIRCLE command specifies the group name, the angle and the circle center. Other properties are optional, and may be selected from the following list:

ABSOLUTE
        ACCELERATION
        ACCELERATIONMAX
        DECELERATION
        DECELERATIONMAX
        SMOOTHFACTOR
        STARTTYPE
        VELOCITYCRUISE
        VELOCITYMAX

These optional properties override the permanent values of the properties for the duration of the command. When using an optional property, the keyword must be specified.

Syntax

Circle <group> Angle = <angle> CircleCenter = {<vector>}

{CirclePlane = <circle plane>} {Optional Property}* {VelocityFinal = <value>}

Or

Circle <group> CirclePoint = <vector> TargetPoint = {<vector>}

{CirclePlane = <circle plane>} {Optional Property}* {VelocityFinal = <value>}

Availability

All versions

Type

Double

Range

<group>: An existing group
<angle>: +/- MaxDouble

<circle plane>: 0 (XY)

1 (XZ)

2 (YZ)

All others: +/- Max Double

Default

Permanent property values are used unless specified otherwise. Final velocity is 0.

Scope

Task or Terminal

Limitations

Applicable only to groups. A group cannot be moved if an axis from the group is being moved individually. A group must be attached in order to be moved from within a task.

Examples

Circle XYTable Angle = 90 CircleCenter = {20,10} Vcruise = 500

Circle XYtable CirclePoint = {10,20} TargetPoint = {100,200} Vcruise = 500

See Also