hunszab Posted August 2, 2010 Posted August 2, 2010 (edited) Hi all! How can I create a spline from n points? (command "spline" point1 point2 pointi ... pointn) works, but I have to specify the start and end tangent. I want to do it automaticly i.e. 0, 0. How can I do that? That'd be better if I could make it with the entmake command! Thanks any help! Edited August 2, 2010 by hunszab Quote
Tiger Posted August 2, 2010 Posted August 2, 2010 I have moved your question to its own thread, please start a new thread for each new question. Quote
MSasu Posted August 2, 2010 Posted August 2, 2010 To get default tangents just use "" (equivalent to ) – a series of 3 "" at the end of the function call will do the job (one to end points input and the folowing two to accept default tangents: (command "_spline" point1 point2 pointi ... pointn [color=blue]"" "" ""[/color]) Regards, PS. Maybe the best location for this thread is under AutoLISP, Visual LISP & DCL sub-forum. Quote
hunszab Posted August 2, 2010 Author Posted August 2, 2010 Thanks a lot! And I modify my problem: I have a list that contains n points, and I want to make spline! Quote
MSasu Posted August 2, 2010 Posted August 2, 2010 For this case can use the below approach: (command "_SPLINE") ;start command function (foreach thePoint MyPointsList (command thePoint) ;parse points list and feed the SPLINE command ) (command "" "" "") ;close points input and accept default tangents Regards, Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.