MC-Basic:robot.PASSMETHOD

From SoftMC-Wiki
Revision as of 17:11, 20 March 2014 by Lisa (talk | contribs) (Text replace - "Versions 4.2.x and higher" to "Since Version 4.2.x")
Jump to: navigation, search

There are two types of path that are defined by the point – through and via.


VIA(0) – the point defines only the direction but the passes doesn’t require reaching it.

THROUGH(1) – the calculated path passes exactly through the point.

SMOOTH(2) - additional smoothing

In case of Via method new segment points are calculated according to the point stretch factor value. This means that for the segment P[n]-P[n+1] the new points Q[n] is proportional to SF[n] and Q[n+1] is proportional to SF[n+1]Points on a distance closer then the given value will be rejected.

In VIA method forces the AI to produce symmetric distances of additional Q points from the P point although the Q points belong to different segments, and therefore have different stretch factors.

Makes rounding the corners symmetrical.Since Version 4.2.x.

Points on a distance closer then the given value will be rejected.

Syntax

<Robot>.PassMethod = <Value>

Availability

Since Version 4.2.x

Type

Long

Range

0 - 2

Through – 1

Via – 0

Smooth - 2

Default

0

Scope

Task or Terminal

Limitations

Modal Only .Valid for robots only.

Examples

Puma.PassMethod = 0

See Also