kscale#
- Keypoints.kscale(kinc='', np1='', np2='', ninc='', rx='', ry='', rz='', **kwargs)#
Generates a scaled pattern of keypoints from a given keypoint pattern.
Mechanical APDL Command: KSCALE
- Parameters:
- kinc
str Do this scaling operation one time, incrementing all keypoints in the given pattern by
KINC. IfKINC= 0, keypoints will be redefined at the scaled locations.- np1
str Scale keypoints from pattern beginning with
NP1toNP2(defaults toNP1) in steps ofNINC(defaults to 1). IfNP1= ALL,NP2andNINCare ignored and pattern is all selected keypoints ( ksel ). IfNP1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forNP1(NP2andNINCare ignored).- np2
str Scale keypoints from pattern beginning with
NP1toNP2(defaults toNP1) in steps ofNINC(defaults to 1). IfNP1= ALL,NP2andNINCare ignored and pattern is all selected keypoints ( ksel ). IfNP1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forNP1(NP2andNINCare ignored).- ninc
str Scale keypoints from pattern beginning with
NP1toNP2(defaults toNP1) in steps ofNINC(defaults to 1). IfNP1= ALL,NP2andNINCare ignored and pattern is all selected keypoints ( ksel ). IfNP1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forNP1(NP2andNINCare ignored).- rx
str 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
str 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
str 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.
- kinc
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.