Author Topic: Spline created with selection of 3d points/nodes  (Read 1396 times)

0 Members and 1 Guest are viewing this topic.

luisternou

  • Newt
  • Posts: 32
Spline created with selection of 3d points/nodes
« 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

ymg

  • Guest
Re: Spline created with selection of 3d points/nodes
« Reply #1 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

luisternou

  • Newt
  • Posts: 32
Re: Spline created with selection of 3d points/nodes
« Reply #2 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.