Book Image

Practical Autodesk AutoCAD 2021 and AutoCAD LT 2021

By : Yasser Shoukry, Jaiprakash Pandey
Book Image

Practical Autodesk AutoCAD 2021 and AutoCAD LT 2021

By: Yasser Shoukry, Jaiprakash Pandey

Overview of this book

AutoCAD and AutoCAD LT are one of the most versatile software applications for architectural and engineering designs and the most popular computer-aided design (CAD) platform for 2D drafting and 3D modeling. This hands-on guide will take you through everything you need to know to make the most out of this powerful tool, starting from a simple tour of the user interface through to using advanced tools. Starting with basic drawing shapes and functions, you'll get to grips with the fundamentals of CAD designs. You’ll then learn about effective drawing management using layers, dynamic blocks, and groups and discover how to add annotations and plot like professionals. The book delves into 3D modeling and helps you convert your 2D drawings into 3D models and shapes. As you progress, you’ll cover advanced tools and features such as isometric drawings, drawing utilities for managing and recovering complex files, quantity surveying, and multidisciplinary drawing files using xRefs, and you'll learn how to implement them with the help of practical exercises at the end of each chapter. Finally, you’ll get to grips with rendering and visualizing your designs in AutoCAD. By the end of the book, you’ll have developed a solid understanding of CAD principles and be able to work with AutoCAD software confidently to build impressive 2D and 3D drawings.
Table of Contents (17 chapters)

The Trim command

Using the Trim command, you can remove parts of a drawing up to its intersection point or vertex. To explain this command properly, I will use the diagram shown here:

Figure 2.65: A sample drawing for the Trim command

Here, we have three lines, A, B, and C, intersected by two arcs. We will trim the lines and arcs with respect to one another in the following examples:

  1. Select the Trim command from the Modify panel or use its command, TR.
  2. Hover your cursor over the A, B, or C lines on the right side of the red arc. You will notice that the color of the line will fade up to the red arc, indicating the part that will be trimmed.
  3. Click the line and it will be trimmed up to the red arc.

In this case, if you click another line or arc, it will be trimmed up to the next available boundaries. This is the default way that the trim command works in the 2021 version of AutoCAD.

However, if you are using older versions of AutoCAD, then the workflow will be slightly different. Here is the trim command's workflow for the older versions of AutoCAD:

  1. Select the Trim command from the Modify panel or use its command, TR.
  2. Now, the command line will prompt you to select the objects. Click on the green arc and press Enter.
  3. Now, click on the A, B, or C lines near the text and you will notice that the line will be trimmed up to the green arc, even though you have a red arc crossing the line before the green one.

In this case, you have selected the green arc as the boundary. So, it will trim the line with respect to the selected boundary only.

To include everything as a trimming boundary in older AutoCAD versions, select the Trim command again and press the Enter key directly, without making any specific selection from the drawing. The select all option is selected in the angle bracket and hence, pressing the Enter key selects all the objects in the drawing as trimming boundaries, as shown here:

Figure 2.66: The select all option in the trim command line

This will select everything in the drawing area as a trimming boundary because the select all option is selected in the angle bracket, as in figure 2.66, and now if you click on any object, it will be trimmed up to the next boundary.

So, if you click on the A line somewhere near the A text, then the line will be trimmed up to the next boundary, which is the red arc, in this case. Selecting the same line again will trim it to the next boundary, which is a green arc, and so on. The last segment of the line will not be trimmed as there is no further trimming boundary.

Similar to the Trim tool, we have a tool that does the opposite of trim, that is, it will extend the object to the selected boundary. The workflow of the Extend tool is also similar to the Trim tool and we will discuss that in the next section.