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.

Hard and soft break lines in Surface Connect

Started by bdeck, August 12, 2007, 09:53:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bdeck

The drawing at the following link shows the benefit of splitting curve sets into multiple sets of similar curvature prior to using the surface connect command.

http://www.1log1.com/nogo/tandemo.dcd


1) It would be helpful if DC could recognize hard breaks in curves (2 consecutive control points with the same coordinates) when preforming surface connect. Currently it is necessary to split the curve into 2 separate curves if a break line is to be included.

2) It would be even more helpful to be able to set soft break points to designate where a curve encounters sudden changes in radius of curvature. Each segment of the curve would be treated as a separate curve when perfoming surface connect, resulting in much better fairing of the surface, as can be seen by analyzing the grids of the example. The surface made up of 3 surface connects is better than the single surface. But it would be better still if it were a single surface  drawn as 3 regions.

Doing all this by manually splitting the curve at the tangent point has the following problems:
    a) The terminal ends of a cubic spline always have zero curvature, requiring the user to try to hack up the drawing with extra control points near the ends to create pseudo curvature and prevent a break line appearing where the curves join.
    b) Even with this extra effort, the tangency where the two curves meet will likely not be precise enough to avoid a telltale break line that will show in the surface, especially if it is a shiny black surface.

Thus a way to recognize soft breaks in unmolested curves will provide a fairer result than the present method of splitting the curves into subsets.

3) An alterntive method to improve the quality of joining curves at a tangent point would be to use at least one bezier curve. Unfortunately, the DC bezier command draws not a curve, but a polyline of finite resolution, regardless of whether the "save as line" option is selected.

The resolution of bezier curves needs to be improved or adjustable to reduce the faceting effect, particularly at tangents. The primary reason to use a bezier curve is to control the slope at the endpoints. So the resolution at least at the ends should be improved.

As a workaround, one could go through the step of converting a bezier to a line, and then converting the line to a curve (cubic spline). But the cubic spline will reduce the angular error at the tangent point by only about half, so the workaround still fails unless the resolution at the end is first improved.

(Perhaps the utlimate curve would be a cubic spline with a bezier terminator)

On a slightly different subject:
4) After using vector convert on a bezier or  cubic curve, it is sometimes necessary to use the smooth command to reduce the point count. I work in both low precision textile cutting and high precision cam cutting. In order to work properly the smooth command or the vector convert command should have a tolerace for both the maximum bend angle and the maximum displacement from the original curve. Point spacing for textile cutting is normally limited by the displacement error, with little concern for angle.