In Chapter 3, “Establishing Existing Conditions Using Survey Data,” you learned how to establish the existing conditions of a project by playing a very elaborate game of connect-the-dots. So far, you’ve been solving the connect-the-dots puzzle in only two dimensions—creating the treelines, fence lines, buildings, trees, and so on. Now, you’ll use the same data to establish the third dimension of your existing conditions model, and you’ll do that using AutoCAD® Civil 3D®surfaces.
Many would say the goal in this process is to generate existing contours for the project. Twenty years ago, that would have been the case; but in this era of 3D modeling, the result of your efforts will serve a much greater purpose. Although it’s true that you’ll be able to create contours from your surface model, you’ll also create an accurate 3D representation of the ground that can be used in many ways throughout the project.
In this chapter, you’ll learn to
As you might guess, the 3D game of connect-the-dots is a bit more sophisticated than the 2D version. In addition, you need the result to be a 3D model rather than just lines. To accomplish this, Civil 3D uses a computer algorithm that connects the dots in the most efficient and accurate way possible. This algorithm is known as a Triangular Irregular Network (TIN).
The TIN algorithm works by connecting one point to at least two of its neighbors using 3D lines. Because each point connects to two or more of its neighbors, the resulting model looks something like a spider web made up of triangles (the T in TIN). Because the spacing between points is typically nonuniform, the triangles come in many shapes and sizes, which is why it’s called irregular (the I in TIN). The network (the N in TIN) part comes from all the points being connected by lines, and the points and lines being related to one another. Figure 4-1 shows a surface with its TIN lines visible.
Figure 4-1: A surface model displayed as TIN lines. Note the irregular triangular shapes that make up the surface model.
There’s even more to it than the triangles, though. In fact, the triangles are just a handy visual representation of the algorithm at work, and, by themselves, they aren’t all that useful. What is useful is that the algorithm can calculate the elevation of any point within the area covered by the TIN model. So, even if you pick a point in the open space inside a triangle, the elevation will be calculated. This is what makes the TIN model a true model. It can be sliced, be turned on its side, have water poured on it, be excavated, and be filled in—all virtually, of course. The capability of using surface models for these types of calculations and simulations is what makes them so useful and puts them at the core of Civil 3D functionality.
You create a surface in Prospector by simply right-clicking the Surfaces node of the tree and selecting Create Surface, as shown in Figure 4-2. The newly created surface appears in Prospector immediately, but it can’t be seen in the drawing until some data is added to it. The fundamental components of a surface are points and lines. It’s your job to supply the source of the points, and Civil 3D takes care of drawing the lines. At this phase of the project, you’ll be using survey points as the initial source of surface-point data.
Figure 4-2: Creating a surface from within Prospector
In this exercise, you’ll create a surface from survey data.
If you haven’t already done so, go to the book’s web page at www.sybex.com/go/civil3d2015essentials and download the files for Chapter 4. Unzip the files to the correct location on your hard drive according to the instructions in the introduction. Then, follow these steps:
Create an EG Surface.dwg
located in the Chapter 04
class data folder.Figure 4-3: The contents of a surface shown in Prospector
Figure 4-4: Changing the visual style to 2D Wireframe in the lower-right viewport
You can view the results of successfully completing this exercise by opening Create an EG Surface - Complete.dwg
.
Figure 4-5: A surface shown using the Conceptual visual style
The TIN algorithm creates surfaces by drawing 3D lines between points that are closest to each other. In certain instances, this is not the most accurate way to model the surface, and the TIN lines must be forced into a specific arrangement. This arrangement typically coincides with a linear feature such as a curb, the top of an embankment, or a wall. This forced alignment of TIN lines along a linear feature is best handled with a breakline. In Figure 4-6, the blue lines represent the edges of a channel and the TIN lines are shown in red. In the image on the top, the blue lines have not been added to the channel surface as breaklines, resulting in a rough and inaccurate representation of the channel. In the image on the bottom, the breaklines have been applied and force the TIN lines to align with the edges of the channel, producing a much smoother and more accurate model.
From Prospector, you can add breaklines by right-clicking the Breaklines node for a given surface and selecting Add (see Figure 4-7). When it comes to survey data, there is an even easier way. From the Survey Toolspace, you can right-click Figures and select Create Breaklines. This opens a list of all your survey figures with some checked as breaklines and some not (see Figure 4-8). How does the command know which is which? This was specified in the figure prefix database you learned about in Chapter 3. As the figures were created, they were automatically tagged as breaklines or non-breaklines according to the code assigned to the points that define them.
Figure 4-6: The effect of breaklines on a surface
Figure 4-7: Adding breaklines from within Prospector
Figure 4-8: Creating breaklines from survey figures. Note how some figures are checked as breaklines and some are not.
In this exercise, you’ll add breaklines to a surface and observe their effect on the accuracy of the surface.
If you haven’t already done so, go to the book’s web page at www.sybex.com/go/civil3d2015essentials and download the files for Chapter 4. Unzip the files to the correct location on your hard drive according to the instructions in the introduction. Then, follow these steps:
Add Breaklines.dwg
located in the Chapter 04
class data folder.Chapter 04
class data folder. Click OK. You should see a different survey database named Essentials
.Essentials
survey database, and select Open For Edit.Essentials
database. Right-click Figures, and select Create Breaklines.You should notice a change in the contours along the red breaklines. These breaklines define the swales, edges, and ridges that were recognized in the field and explicitly located as terrain features. In addition, notice that contours now cover the road area to the north. The surface in this area is made strictly of breaklines.
Figure 4-9: Unchecking the Add Breakline operation for the surface
You have removed the effect of the breaklines temporarily. Notice how the TIN lines cross back and forth over the swale and ridge lines, creating a rough edge where there should be a sharp, well-defined edge.
You can view the results of successfully completing this exercise by opening Add Breaklines - Complete.dwg
.
This exercise shows you the importance of breaklines. Connecting a bunch of points together with 3D triangular shapes does not necessarily generate an accurate surface. In certain areas, the shapes themselves have to be manipulated so that they align with terrain features in order to model their form accurately. Figure 4-10 compares the surface with and without breaklines in both 2D and 3D views.
Figure 4-10: The two top views show the surface in 2D and 3D without the breaklines; the two bottom views show the surface with the breaklines included.
With the inclusion of points and breaklines in the surface, you have essentially provided all the data that will be needed to create the surface model. However, you should continue manipulating this data until you achieve the most accurate representation possible of the existing ground surface. You can edit surfaces in many ways. In the following sections, you’ll learn about three surface-editing methods: adding boundaries, deleting lines, and editing points.
As discussed earlier, boundaries are a way of defining where the surface is and where it isn’t. In the example project, you don’t want the surface to exist outside the area that has been surveyed. Why would the surface extend beyond the survey data? If the edge of an area represented by the points happens to bend inward, the lines will extend across the “bay” (see Figure 4-11) and will create misrepresented surface data in that area. One way to avoid or correct this situation is to provide an outer boundary that prevents the surface from existing in these areas.
Figure 4-11: Erroneous TIN lines created across a bay in the surface data
Another common example of surfaces being where they shouldn’t be is within the shape of a building. It’s considered poor drafting practice to show contours passing through a building. After all, the ground surface isn’t accessible in that location. Another type of boundary, called a hide boundary, can be used to remove surface data from within a surface, thus creating a void or “hole” in the surface.
In this exercise, you’ll add boundaries around the buildings that will remove surface data from within their footprints.
If you haven’t already done so, go to the book’s web page at www.sybex.com/go/civil3d2015essentials and download the files for Chapter 4. Unzip the files to the correct location on your hard drive according to the instructions in the introduction. Then, follow these steps:
Surface Boundaries.dwg
located in the Chapter 04
class data folder.This is the effect we’re looking for with separating info for instruction. You should immediately see a hole appear in the surface shown in the lower-right viewport. If you’ve selected a building with contours running through it, you’ll see the contours disappear in the upper-right viewport. It appears that they have been trimmed, but actually, the surface data has been removed from within the shape of the building.
Figure 4-12: The effect of hide boundaries added at building locations
You can view the results of successfully completing this exercise by opening Surface Boundaries - Complete.dwg
.
Another, less eloquent way of removing unwanted TIN lines is to delete them from the surface rather than use a boundary to do it for you. This method is best when you need to remove only a few TIN lines in isolated areas. There are two important things to remember when deleting TIN lines. First, in order for the lines to be deleted, they must be visible, which means you must apply a style that displays them. Second, you can’t use the AutoCAD ERASE
command to remove them; instead, you must use the Delete Line command created especially for surfaces.
In this exercise, you’ll delete unwanted TIN lines from the surface.
If you haven’t already done so, go to the book’s web page at www.sybex.com/go/civil3d2015essentials and download the files for Chapter 4. Unzip the files to the correct location on your hard drive according to the instructions in the introduction. Then, follow these steps:
Delete TIN Lines.dwg
located in your Chapter 04
class data folder.Figure 4-13: The extents of the surface after erroneous TIN lines have been removed. The areas of removal are highlighted.
You can view the results of successfully completing this exercise by opening Delete TIN Lines - Complete.dwg
.
As you have learned, the fundamental building blocks of surfaces are points and lines. The points are derived from some other source of data, such as standard breaklines, contours, survey points, and so on. If there is an error in one of those source objects, there will be an error in the surface as well. When this occurs, you can either edit the source data and rebuild the surface, or edit the surface itself.
You have already learned about editing survey source data (survey points and survey figures). In this exercise, you’ll edit the surface.
If you haven’t already done so, go to the book’s web page at www.sybex.com/go/civil3d2015essentials and download the files for Chapter 4. Unzip the files to the correct location on your hard drive according to the instructions in the introduction. Then, follow these steps:
Editing Points.dwg
located in your Chapter 04
class data folder.
The two right viewports are zoomed in to the location where the driveway meets the road on the north side of the property. In this area, one of the surface points is incorrect. In the plan view on the top right, the effects of the incorrect point can be seen in the densely packed contours. In the 3D view on the bottom right, the erroneous point appears as a downward spike in the surface.
The display of the surface changes to lines and points, with the points appearing as plus-sign markers.
190.76 (58.144)
, and press Enter.
Notice how the surface is modified but the survey figure is left behind. Depending on the situation, it may be prudent to go back to the source data for the survey figure and correct that as well.
Figure 4-14: 3D view of incorrect surface point
Notice that the closely spaced contours in the top-right viewport are no longer there.
You can view the results of successfully completing this exercise by opening Editing Points - Complete.dwg
.
Because you’re working with surface objects in Civil 3D, you can do much more than simply show contours. Civil 3D surfaces can help you tell many different stories about the shape of the land and how water will flow across it. They are able to do this through multiple types of analyses as well as the ability for styles to display analysis results in nearly any way you wish. With these tools at your disposal, you can study the terrain thoroughly and make smart choices about the direction of your design early in the process.
Elevation analysis allows you to delineate any number of elevation ranges and then graphically distinguish the different ranges by color. This is a useful tool in many instances, especially when you’re working with someone who doesn’t know how to read contours.
In this exercise, you’ll perform an elevation analysis on a surface in your drawing.
If you haven’t already done so, go to the book’s web page at www.sybex.com/go/civil3d2015essentials and download the files for Chapter 4. Unzip the files to the correct location on your hard drive according to the instructions in the introduction. Then, follow these steps:
Elevation Analysis.dwg
located in the Chapter 04
class data folder.The surface undergoes an obvious change, and it’s now displayed as a series of colored bands with red signifying the lowest elevations and purple signifying the highest.
Now the 3D view displays the colored bands as a 3D representation with exaggerated elevations. This tells a clear story about the existing shape of the land for this site (see Figure 4-15).
Figure 4-15: A 3D view of a surface using the Elevation Banding (3D) style
You can view the results of successfully completing this exercise by opening Elevation Analysis - Complete.dwg
.
Another important aspect of the terrain is the slope. Areas with very steep slopes are difficult to navigate either by construction vehicles or the eventual occupants of the property. Flat slopes are much more accessible, but if they are too flat, then drainage problems often occur. One of your tasks as a designer is to ensure that your project has the right slopes in the right areas. By studying the slopes of the existing topography, you can locate features where slopes are good or determine that terrain modifications will be necessary to create good slopes.
Civil 3D can display slopes in two ways. The first is to show the slopes as colored ranges like the ones you saw in the previous section. The second is to use slope arrows that can be color coded to indicate in what range they’re located, with the added benefit of always pointing downhill to show you the direction of water flow.
In this exercise, you’ll perform a slope analysis on a surface in your drawing.
If you haven’t already done so, go to the book’s web page at www.sybex.com/go/civil3d2015essentials and download the files for Chapter 4. Unzip the files to the correct location on your hard drive according to the instructions in the introduction. Then, follow these steps:
Slope Analysis.dwg
located in the Chapter 04
class data folder.In the 3D image on the bottom right, the darkest reds signify the steepest slopes. This enables you to see that the area north of the farm is fairly flat pasture land while the area to the south of the farm slopes dramatically toward the stream farther to the south (see Figure 4-16).
Figure 4-16: Slope analysis of surface shown in 3D
In this view, the darker blues and blacks are the steepest slopes, and the arrows themselves always point downhill. As you study the arrows, you should notice a drainage divide that runs west to east through the farm buildings; it’s delineated in red in Figure 4-17. Rain falling to the north of this area drains to the road, and rain falling south of it drains to the stream.
Figure 4-17: Slope arrows can be used to identify a drainage divide (delineated in red) in the project.
You can view the results of successfully completing this exercise by opening Slope Analysis - Complete.dwg
.
In addition to analyzing elevations, slopes, and slope arrows, you can perform the following types of analyses:
There are even more ways of analyzing your surface that aren’t found in Surface Properties. For example, the following tools are especially useful on many projects:
You’ll learn more about these tools and get hands-on experience with them in Chapter 18, “Analyzing, Displaying, and Annotating Surfaces.”
As you have read, surfaces are used to tell a story about the shape of a piece of land. I have presented nearly a dozen different ways to tell that story, but I have yet to discuss the most obvious and most common way: telling the story with text. In the following exercise, you’ll use three types of labels to annotate a surface: spot elevation labels, slope labels, and contour labels.
In this exercise, you’ll annotate a surface using spot elevation labels, slope labels, and contour labels.
If you haven’t already done so, go to the book’s web page at www.sybex.com/go/civil3d2015essentials and download the files for Chapter 4. Unzip the files to the correct location on your hard drive according to the instructions in the introduction. Then, follow these steps:
Labeling Surfaces.dwg
located in the Chapter 04
class data folder.
The top-right viewport is zoomed in to the north end of the project near the location where the magenta centerline meets the centerline of the existing road. Your task is to label the elevation of the existing road where these two centerlines meet.
Note the steep slope to the south of the road in this area. You want to measure and label the slope in this area to determine whether homes can be built here and/or if guardrails will be required for the road.
Figure 4-18: Spot elevation label showing 189.80' (57.85m) added where the new road meets the existing road
Contour labels appear where contours fall between the two points you’ve selected (see Figure 4-19). You’ve actually drawn an invisible line that intersects with the contours.
Notice the line that appears. Click one of the grips, and move it to a new location to change the location of the line. The contour labels go where the line goes, even if you stretch it out and cause it to cross through more contours, in which case it will create more labels.
Figure 4-19: Contour labels
You can view the results of successfully completing this exercise by opening Labelling Surfaces - Complete.dwg
.