kscale

Mapdl.kscale(kinc='', np1='', np2='', ninc='', rx='', ry='', rz='', **kwargs)

Generates a scaled pattern of keypoints from a given keypoint pattern.

APDL Command: KSCALE

Parameters
  • kinc – Do this scaling operation one time, incrementing all keypoints in the given pattern by KINC. If KINC = 0, keypoints will be redefined at the scaled locations.

  • np1 – Scale keypoints from pattern beginning with NP1 to NP2 (defaults to NP1) in steps of NINC (defaults to 1). If NP1 = ALL, NP2 and NINC are ignored and pattern is all selected keypoints [KSEL]. If NP1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for NP1 (NP2 and NINC are ignored).

  • np2 – Scale keypoints from pattern beginning with NP1 to NP2 (defaults to NP1) in steps of NINC (defaults to 1). If NP1 = ALL, NP2 and NINC are ignored and pattern is all selected keypoints [KSEL]. If NP1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for NP1 (NP2 and NINC are ignored).

  • ninc – Scale keypoints from pattern beginning with NP1 to NP2 (defaults to NP1) in steps of NINC (defaults to 1). If NP1 = ALL, NP2 and NINC are ignored and pattern is all selected keypoints [KSEL]. If NP1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for NP1 (NP2 and NINC are ignored).

  • rx – Scale factor ratios. Scaling is relative to the origin of the active coordinate system (RR, Rθ, RZ for cylindrical, RR, Rθ, RΦ for spherical). If > 1.0, pattern is enlarged. If < 1.0, pattern is reduced. Ratios each default to 1.0.

  • ry – Scale factor ratios. Scaling is relative to the origin of the active coordinate system (RR, Rθ, RZ for cylindrical, RR, Rθ, RΦ for spherical). If > 1.0, pattern is enlarged. If < 1.0, pattern is reduced. Ratios each default to 1.0.

  • rz – Scale factor ratios. Scaling is relative to the origin of the active coordinate system (RR, Rθ, RZ for cylindrical, RR, Rθ, RΦ for spherical). If > 1.0, pattern is enlarged. If < 1.0, pattern is reduced. Ratios each default to 1.0.

Notes

Generates a scaled pattern of keypoints from a given keypoint pattern. Scaling is done in the active coordinate system (see analogous node scaling [NSCALE]). Solid modeling in a toroidal coordinate system is not recommended.