getting an interpolation of a list of points
getting an interpolation of a list of points
(OP)
Is it possible to input a list of points via script and get AutoCAD to interpolate a nice smooth transition form one point to another? I have to have the smooth curve from one point to another as they are for a ship?
I dont want the usual stuff from AutoCAD where it generates a curve thats close to the points ..it has to be on them
My boss is using rhino to generate it and import it into CAD..
He said he was not aware of a function to generate it in CAD....
The rhino version hes got is old so there is no layer function in it. To make life easier and remove the guess factor I need the layers....
I dont want the usual stuff from AutoCAD where it generates a curve thats close to the points ..it has to be on them
My boss is using rhino to generate it and import it into CAD..
He said he was not aware of a function to generate it in CAD....
The rhino version hes got is old so there is no layer function in it. To make life easier and remove the guess factor I need the layers....





RE: getting an interpolation of a list of points
You could input the points via a script, such as;
polyline
x1,y1
x2,y2
x3,y3,
etc...
[blank line at end, to end the command]
Another way is to start the "pline" command, then copy and paste a point group from Excel or a text file into the command line.
RE: getting an interpolation of a list of points
I did a dummy up test... the control points are the points I intended the line to go through but in spline it just makes the line go closer to em....
Need either a script or something that makes the line go through the line.
Would have thought AutoCAD had it all.. and not have to use Rhino
RE: getting an interpolation of a list of points
RE: getting an interpolation of a list of points
RE: getting an interpolation of a list of points
RE: getting an interpolation of a list of points
RE: getting an interpolation of a list of points
-You cannot pause a script for user entry
-A space and a blank line serve as an enter/return
Some basic info at
ht
http://www.upfrontezine.com/tailor/tailor19.htm
RE: getting an interpolation of a list of points
I looked the that sites
RE: getting an interpolation of a list of points
A little more detail, create a column of coordinates in Excel that has the x-y coordinates.
Formula in say col c would be:
=A1&","&B1
copy down for all cells/points.
In AutoCAD, start the "spline" command
Copy & paste entire column range of coordinates
then manually close the spline command with 2 "enters".
You could also do it with a script file, formatted as follows:
Spline
x1,y1
x2,y2
x3,y3
;;etc
;;2 blank lines to finish
RE: getting an interpolation of a list of points