Surface Connect and Surface Patch

Started by Dr PR, March 24, 2012, 06:03:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

"Surface Connect" can be a bit tricky until you understand it. There are two general cases - open curves (C shaped for example) and closed curves (circles, ellipses, etc.).

Open Curves

1. First you draw a bunch of more or less parallel "template" lines (they don't have to be perfectly parallel) to determine where the surface should be at specific places. Then "Surface Connect" draws a grid surface between the template lines.

You can use multi-segmented lines (V), curves (C), arcs - whatever, DesignCAD isn't picky. However, with some options described below it is very important that the template lines be similar.

DesignCAD pays attention to where you click on the lines to select them and the order you select them. This is important. It is best to gravity snap to the ends of the lines, and to the corresponding ends of each line. If you snap to the bottom end of one line, and the top of the next, the surface will be "bow-tied" between the template lines. This can also happen if you snap near the middle of the lines - one snap may be nearer the top end of a line and another near the bottom end.

If you select the lines in random order all bets are off on what DesignCAD will do - it takes your "instructions" quite literally and the surface may be folded back on itself in the order that you commanded. Be careful what you ask for or you may get it! It is best to start at one end of the set of template lines and work toward the other.

"Surface Connect" has an option to "Use Original Points." In most cases it is better to ignore this. However, you can use this option to gain finer control over the grid surface (explained below).

You also have an option to "Retain Original Point Order." If this is not selected the program just works its way around the curves in the same direction - if you are lucky - sometimes this is unpredictable. If for some reason it goes one way around one curve and the other way around the next, badly distorting the surface, you can force it to follow the template lines in the order that you drew them. Use this with caution, because you MUST create the template lines with this in mind, otherwise when the program does what you tell it to do you will get a real mess!

You can reverse the order of points in a line with the Info Box, using the button with the horizontal red and blue arrows.

2. You have three "Connection Type" options for connecting the grid surface between the template lines. See the attached image - the template lines are black and the surface grids are red.

"Smooth" stretches a smoothly curved surface between and over the template lines - there are no kinks at the template lines.

"Curved" creates a curved surface between the template lines. It may be a concave or convex curve. The template lines stand out as distinct sharp edges in a surface. This is very useful for depicting canvas stretched over a set of wire frames. Here is an example:

http://www.okieboat.com/Copyright%20images/Mk37%20director%203%201024%20C.jpg

"Normal" stretches a "flat" surface between the template curves, with the template lines producing sharp edges.

3. You have control over the grid density.

The "Number of Planes Per Line" option tells the program how many segments or facets are to be drawn along each template line. The more segments the smoother the surface will be, but more segments also means the file size will be larger (take longer to load, oonger to render,etc.). In the attached image there are 12 planes per template line.

The "Number of Intermediate Breaks" option determines how many facets are to be drawn between each template line. For example, 4 breaks will create five facets between lines (a "break" is the junction between facets). Again, more breaks means smoother surfaces, larger files, slower rendering, etc. In the attached image there are four intermediate breaks between template lines.

The number of planes and breaks are not unlimited. In fact, they are quite restricted. I don't remember the exact numbers but it is posted somewhere on the Forum. The number of template lines times the number of breaks times the number of facets cannot exceed some magic number that has never been revealed. However, if you have a lot of template lines (as with the hull of a ship) you will find that the program allows you only a restricted number of planes and breaks.

4. Normally the program spaces the "planes per line" evenly along the curves. This is OK if the template lines do not have sharp curves or kinks/knuckles (see below). But if there are sharp curves or points in the template lines facets may span them and this detail will be lost in the surface.

However, if you choose the "Use Original Points" you can draw the template lines with more points at the sharply curved sections and wider spaced points at the gently curving or straight sections. This way the facets will be concentrated in the highly curved part of the surface and widely spread along the straighter sections.

CAUTION: Thus is far more difficult to accomplish than it may seem at first! You should have exactly the same number of points in each template line, and the number of "Planes Per Line" should equal the number of points less one. The point order MUST be the same in each template line. In other words, you have to plan this carefully. But if you do you can create amazing surfaces.

5. Knuckles. This is what creases in otherwise smooth surfaces are called. You can create smoothly curved surfaces that nicely blend into surfaces with sharp kinks or knuckles (what they are called in ship hulls).

When you create your template lines, if you place two points at the same position the program will try to force a sharp edge to the surface at these points. Here is where you must really plan ahead carefully. The "Number of Planes Per Line" has to work out perfectly or the program will stretch a flat facet over where the kink should be. Again, you may have to use the "Use Original Points" option to get this to work.

Here is an example of a knuckle transitioning into a curved surface. The knuckle extends a short distance ahead of the top of the armor belt before it blends into the smooth curve of the forward part of the hull:

http://www.okieboat.com/Copyright%20images/bow%20details%201024%20C.jpg

Closed Curves

Closed curve template lines work just like open curves except DesignCAD will start at the point you select on the closed template lilne and work all the way around and back to the starting point. If you click on the template lines at different points around the curves you will get a strangely twisted surface - again, the program is just trying to do what you tell it to do.

So it is best to always click at a common position - such as the top of the curves. It is wise to remember this when drawing the curves so they all have points to snap to at the same relative position.

****

"Surface Patch" is an entirely different beast. However, the options and cautions work the same way. Instead of connecting more or less parallel template lines it connects three or four template lines that connect to enclose an area.

The "Number of Planes Across" and "Number of Planes Down" determine the number of planes and how they are connected. "Across" and "down" are pretty much meaningless terms as far as I can tell. With twisted and angles surfaces "up" and "down" are pretty arbitrary. And the concept is totally meaningless if you have only three template lines.

It seems "across" and "down" really relate to which template line you select first and which is second. You can create three different grids with three template lines, and at least two different grids with four template lines.

Experiment.

This function is useful for filling in a surface with round corners.

Phil
DesignCAD user since 1987