DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

best fit curve

Started by nils, January 24, 2010, 04:21:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nils

Can DesigncadCAd 3D MAX 18, v18.0, draw a best fit curve for a series of points (TurboCAD calls it a "Spline by Control Points", I believe)?  Thanks for any help.

Nils Ohberg

Rob S


I think that is basically what design-cad's curve command does.

You can set any number of points and the curve will pass through all the points you set.

If you don't like it's resulting curvature, you can add points using point-select mode wherever it deviates too much.

Setting two points on top of each other creates a sharp bend, and you can insert astright segment by having double points at both ends of it.

However, Designcad does not do polylines consisting of straight segments and radius arcs.
User since forever

magic

Hi Nils and Rob,

Here is a little film about curves:

www.magicsystems.com/curves.htm

Hope it helps.
It's a kind of magic!




bdeck

Design cad draws 2 types of splines.

Both "Curve" and "Bezier Curve" are exact functions, not statistical best fit.

A "best fit" curve would presume some fixed polynomial, and then perform regression analysis on a data set to find the curve of that order that comes closest to that data.

A good low cost shareware statistics package that does multivariate regression is XLStats. You may need to condition your data first so that the result can be viewed as a linear function in 2d.

BD

nils

Thanks BD for your reply which I got as I was writing my last post.  It seems that my question has been answered.  Thanks again for all ya'll's (as we say in Georgia) help.

Signing off,

Nils Ohberg

Bob P

After creating a curve, try modifying it with Smooth line by point reduction or slope detection.

It would be nice to know the math involved by DC in setting the new points.

nils

The Smooth line by point reduction is close to what I was looking for.  Thanks for the tip.

Nils