bowtle
2009-07-22, 04:56 AM
I am trying to write a lisp routine that will create offset 3d polylines and splines.
I pick a series of points to define the vertices and calculate the co-ordinates of the offset vertices.
I can draw a 3d polyline, but can not get it to work for the spline, I think it is because the spline command is expecting tangents to be specified.
I used the following for the 3DPoly .. ss_L is a list of 3D points
(command "._3Dpoly" )
(foreach Pt ss_L (command Pt ) )
(command)
I have tried various combinations for the Spline but cant figure it out.
Any help would be greatly appreciated.
I pick a series of points to define the vertices and calculate the co-ordinates of the offset vertices.
I can draw a 3d polyline, but can not get it to work for the spline, I think it is because the spline command is expecting tangents to be specified.
I used the following for the 3DPoly .. ss_L is a list of 3D points
(command "._3Dpoly" )
(foreach Pt ss_L (command Pt ) )
(command)
I have tried various combinations for the Spline but cant figure it out.
Any help would be greatly appreciated.