TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: luisternou on June 12, 2014, 07:33:10 PM

Title: Spline created with selection of 3d points/nodes
Post by: luisternou on June 12, 2014, 07:33:10 PM
Hello!
As said I am looking for a lisp that creates/ draws a fit curved spline after selecting 3d points/nodes. The points are the Z coordinates on a train rail.
The plan is to connect the two created splines (left and right rail) into a smooth surface.
Thanks in advance!

Regards,
Luis
Title: Re: Spline created with selection of 3d points/nodes
Post by: ymg on June 12, 2014, 08:00:59 PM
How is one supposed to derive the order of the points ?

If it is along a  coordinate axis, it can be done easily,
otherwise there is no guaranties as to the order of
the points returned by ssget

ymg
Title: Re: Spline created with selection of 3d points/nodes
Post by: luisternou on June 19, 2014, 01:19:31 PM
I found this lisp. This did the job for me. If you place the points yourself in a specific order, it creates the (s)pline in that same order. If you have imported xyz data it takes the nearest second point etc. after window selection.