Limiting Arc angles

GPP2 can limit the angle of a single arc. Larger arcs will be broken into smaller multiple arcs, so that the angle of each one does not exceed the maximum allowed angle.

This capability is useful, for instance, when the user wants to avoid arcs that extend beyond 180 degrees (in some controllers, such arcs require a negative radius).

The maximum angle is defined by a new DF2 parameter, Maximum Angle for Single Arc. The DF2 parameter is copied into a system variable, ARCS_MAX_ANGLE, which the EX2 program can access and modify if needed.

If the maximum value is set to 360 degrees, arcs will never be broken into smaller ones. If the number is smaller, GPP2 will check each arc and will break larger arcs (CW or CCW) into a set of equal arcs.

For example, if the maximum arc angle is 60 degrees, and GPP2 encounters a CW arc of -150 degrees (CW arcs use negative angles), it will break the arc into three equal arcs of -50 degrees each.

The Arcs Limited to Quadrants parameter overrides the Maximum Angle parameter. If arcs are limited to quadrants, then the maximum angle feature is disabled.

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.