ansys.mapdl.core.Mapdl.ktran#
- Mapdl.ktran(kcnto='', np1='', np2='', ninc='', kinc='', noelem='', imove='', **kwargs)#
Transfers a pattern of keypoints to another coordinate system.
Mechanical APDL Command: KTRAN
- Parameters:
- kcnto
str Reference number of coordinate system where the pattern is to be transferred. Transfer occurs from the active coordinate system.
- np1
str Transfer 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 Transfer 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 Transfer 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).- kinc
str Keypoint increment between sets. If zero, the lowest available keypoint numbers are assigned ( numstr ).
- noelem
intorstr Specifies whether nodes and elements are also to be generated:
0- Generate nodes and point elements associated with the original keypoints, if they exist.1- Do not generate nodes and elements.
- imove
intorstr Specifies whether keypoints will be moved or newly defined:
0- Generate additional keypoints.1- Move original keypoints to new position retaining the same keypoint numbers (KINCandNOELEMare ignored). Valid only if the old keypoints are no longer needed at their original positions. Corresponding meshed items are also moved if not needed at their original position.
- kcnto
Notes
Transfers a pattern of keypoints (and corresponding mesh) from one coordinate system to another (see analogous node transfer command, transfer ). The MAT, TYPE, REAL, and ESYS attributes are based upon the keypoints in the pattern and not upon the current settings. Coordinate systems may be translated and rotated relative to each other. Initial pattern may be generated in any coordinate system. Coordinate values are interpreted in the active coordinate system and are transferred directly. Solid modeling in a toroidal coordinate system is not recommended.