How to make a spline with more than 6 keypoints in a 'spline' command?
How to make a spline with more than 6 keypoints in a 'spline' command?
(OP)
Hi,everyone:
I got a question here. The command 'spline' or 'bsplin' has just 6 keypoint numbers to be fill,and if the 7th KP is chosen, ANSYS ignore it.You must use the command twice.If I want to make a spline with more than 6 keypoints in one command, what can I do?
I got a question here. The command 'spline' or 'bsplin' has just 6 keypoint numbers to be fill,and if the 7th KP is chosen, ANSYS ignore it.You must use the command twice.If I want to make a spline with more than 6 keypoints in one command, what can I do?





RE: How to make a spline with more than 6 keypoints in a 'spline' command?
The use of the spline command is bounded to a max. use of 6 keypoints. So you need to use the command twice.
Grtz
Garry
RE: How to make a spline with more than 6 keypoints in a 'spline' command?
I noticed that if you create 2 consecutive splines, and then add them to one another, it works and you get a single spline curve (which doesn't EXACTLY match the original ones, of course).
I don't know if this can be useful for you. I personally prefer to leave the 2 splines separated.
Regards
RE: How to make a spline with more than 6 keypoints in a 'spline' command?
!##########################
fini
/cle
/prep7
csys,1
! -> Making n Keypoints
n_=20
k,1:n_,1,1:n_
!Write Spline Macro
*cfopen,spl_ine,mac
*cfwrite,FLST,3,n_,3
*do,i_,1,n_
*cfwrite,FITEM,3,i_
*enddo
*cfwrite,BSPLIN, ,P51X
*cfclose
!Spline with n_ points
spl_ine.mac
!##########################
The making of:
If you make the spline by pinking, ANSYS use the FITEM commands and write it to the *.log file. So you can learn from the log file a lot!!!
If you know the order of the keypoints -> you can create splines with many many keypoints
.... Stefan.
RE: How to make a spline with more than 6 keypoints in a 'spline' command?