KCENTER
KCENTER, Type, VAL1, VAL2, VAL3, VAL4, KPNEW
Creates a keypoint at the center of a circular arc defined by
three locations.
TypeType of entity used to define the circular arc. The meaning of
VAL1throughVAL4will vary depending onType. IfType= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI).KP
—
Arc is defined by keypoints.
LINE
—
Arc is defined by locations on a line.
VAL1,VAL2,VAL3,VAL4Values used to specify three locations on the arc (see table below).
KPNEWNumber assigned to new keypoint. Defaults to the lowest available keypoint number.
Definitions:
If Type = KP, inputs VAL1 through VAL4 are
defined as follows:
| — | First keypoint. | ||||||
| — | Second keypoint. | ||||||
| — | Third keypoint. | ||||||
| — | Arc radius. If
|
If Type = LINE, inputs VAL1 through VAL4 are
defined as follows:
| — | Line number. |
| — | Line ratio (0 to 1) indicating the first location (defaults to 0). |
| — | Line ratio (0 to 1) indicating the second location (defaults to 0.5). |
| — | Line ratio (0 to 1) indicating the third location (defaults to 1). |
Notes
KCENTER should be used in the Cartesian coordinate
system (CSYS,0) only. This command provides three methods
to define a keypoint at the center of three locations. As shown below, the
center point can be calculated based on a) three keypoints, b) three keypoints
and a radius, or c) three locations on a line. Note that for method c, if
a circular line is specified by VAL1, VAL2 through VAL4 are
not needed.