This online regression curve generator uses various calculation methods to generate an optimized line segment, a polynomial curve (2nd–10th order), or a general curve interpolated from a specified set of 2D X-Y points.
Paste the point coordinates from the clipboard, from Excel, or by importing a CSV or XLS file, then select the calculation algorithm and the order of the generated curve. You can (after logging in) export the resulting regression curve to a DXF file as LINE or POLYLINE entities, or to an AutoCAD script as LWPOLYLINE or SPLINE (requires JavaScript)
See also the LISP/JS application Regress, which runs directly in the AutoCAD environment. See more information and download.

