How to delete part of a line in AutoCAD. How to cut a line in AutoCAD. Deleting individual drawing objects using the Erase tool

Go to the Image tab → Crop panel → Create Crop Path command. Next, you need to select the appropriate subparameter (in our case, “Select polyline”). Then select the previously created polyline in the drawing and press Enter.

The cropping contour can be inverted by clicking on the small blue arrow, as shown in Fig.

To hide the cropping outline, you need to set the IMAGEFRAME system variable to “0”.

9 "Crop" command in AutoCAD

When constructing, very often fragments of segments, arcs, etc. are discovered that have “crawled out” beyond the boundaries of the objects. To trim such fragments in AutoCAD, use the “Crop” command. Trimming elements can also include segments, rectangles, splines, rays, etc.

Trimming in AutoCAD is carried out by specifying the so-called cutting edge and a fragment of an object, which, after intersecting with this edge, must be deleted.

You can call the command in several ways:

    On "Home" tabEditing panel.

    By entering keyword "OBR", and then press "Enter".

First you need to select the cutting edge (or edges), and then select the objects to be trimmed.

Example. You need to trim off part of the segment that extends beyond the rectangle. In this case, the cutting edge will be the rectangle itself, and the object being trimmed will be the part of the segment outside the rectangle. The whole process is shown in the figure.

There can be many cutting edges, as well as objects to be trimmed. For example, sometimes all objects or most of them are selected as cutting edges. And then click LMB on the elements that we want to trim. Immediately after specifying an object, it is trimmed. You can finish trimming by pressing the "Enter" or "Esc" key. The cut objects can also be parts of the cutting edges themselves.

If, when selecting objects to be cropped, the selection is made with the “Shift” key pressed, then the objects will not be cropped, but will be lengthened. When selecting objects to crop, you can use the following options:

Line and Sekramka– allow you to select objects to be cropped using a temporary polyline and a cutting frame.

Edge– turns on/off the mode of continuing the edge to an imaginary intersection. When the mode is enabled, AutoCAD will trim in cases where the object being trimmed does not clearly intersect with the cutting edge. Whether this mode is enabled or not can be seen from the command line prompt when calling the “Crop” command in AutoCAD.

If it says “Edges = No Continue,” it means the mode is turned off. You can enable it before selecting the objects to be trimmed by entering the letter “C” into the command line (or simply from the keyboard).

Cancel- an option that allows you to cancel cropping of the last object without completely canceling the execution of the entire command.

Delete- this option allows you to delete any objects without interrupting the execution of the trim command. After you use any option, you will again return to specifying the objects to be cropped.

(Finished page 75)

Images imported into AutoCAD are not always required in your full size— only a small area of ​​them may be needed for work. In addition, a large picture may cover important parts of the drawings. The user is faced with the fact that the image needs to be cropped, or, more simply put, cropped.

Feature-rich AutoCAD, of course, has a solution to this little problem. In this article we will describe the process of cropping a picture in this program.

Simple trimming

1. Among the lessons on our website there is one that tells you how to add a picture to AutoCAD. Let's assume that the image has already been placed in the AutoCAD workspace and all we have to do is crop the image.

2. Select the picture so that a blue frame appears around it and square dots around the edges. On the tool ribbon, in the Crop panel, click Create Crop Path.

3. Frame the area of ​​the picture that you need. With the first click of the left mouse button, set the beginning of the frame, and with the second click close it. The picture was cropped.

4. The cut off edges of the image have not disappeared forever. If you drag the picture by the square dot, the cropped parts will be visible.

Additional trimming options

While simple cropping allows you to limit a picture to just a rectangle, advanced cropping can crop along a set contour, along a polygon, or remove an area placed in a frame (reverse cropping). Let's consider cropping with a polygon.

1. Follow steps 1 and 2 above.

2. B command line select "Polygonal" as shown in the screenshot. Draw a cutting polyline on the image, fixing its points with LMB clicks.

3. The picture is cropped along the contour of the drawn polygon.

If you find snapping inconvenient, or, conversely, you need it for precise framing, you can enable and disable it with the 2D Object Snapping button on the status bar.

To undo cropping, choose Remove Crop from the Crop panel.

Computer-aided design systems - CAD

Working in AutoCAD
Self-instruction manual

2.2.2. Deleting individual drawing objects using the Erase tool

Now we will look at an example of creating the same drawing, but in relative polar coordinates. However, you must first delete previously created drawing objects. To do this, you can use the command you are already familiar with Erase in mode All, however, this time we will look at methods of using the tool Erase to delete individual drawing objects.

1. Select the command from the menu system Change? Erase. The pointer will change from a crosshair to a small square called marking pointer. When it appears on the screen, it means the pointer can be used to select drawing objects. Also pay attention to the command window: a request to select objects has appeared in it.

2. Place the marking pointer on one of the lines and click the mouse - the line will turn from solid to dotted. This process is called drawing object selection.

Note. To make it easier for you to understand which line the marking pointer is on, AutoCAD temporarily highlights it with a thick outline. In our case, this is not significant, but in complex drawings it greatly simplifies the task of selecting the necessary objects.

3. Do the same with the rest of the lines.

4. Press Enter to complete the selection and apply the command to the selected objects Erase. The quadrilateral you created will be removed from the drawing, and running the command Erase will end.

Usage raster images This is a very common practice in AutoCAD drawings. Images can be used as backgrounds, illustrations, drawings, etc.

An image inserted into a drawing often needs to be trimmed to fit into existing geometry. Standard remedy AutoCAD - team CUT (_XCLIP)— allows you to select a polyline, a polygonal arbitrary contour and a rectangular one as a cropping contour

The result of cropping with a polygon and a rectangle

How to trim around the circumference? Obviously, this can be done using a polyline. There are two ways: 1. create a circle from a polyline; 2. create a regular polygon. It will not work to simply draw a circle from two arc segments of a polyline - such a primitive cannot be a contour for trimming.

Round polyline

1. Draw a rectangle of the required dimensions (let me remind you that the command Rectangle I create a special type of polyline)

2. Run the polyline editing command PEDIT (_PEDIT), select our rectangle and select the option Spline

3. We get a rounded spline

4. As a command option CUT (_XCLIP) select the resulting spline and you're done!

Regular polygon

1. We build POLYGON (_POLYGON) With big amount sides How many sides are needed? The issue is decided in each specific case - it is necessary that the polygon looks like a circle. Don't overuse it - in most cases, 50-60 sides is enough.

2. As in the previous method, select a polyline as a cropping contour and indicate our polygon

To work comfortably when creating a drawing, you need to know how to cut a line in AutoCAD and how to extend a line in AutoCAD. Using line editing is very convenient and fast; there is no need to draw a line until it intersects with another line, because it can be extended or trimmed if desired.

In the previous lesson, I talked about creating chamfers and rounding corners. Sometimes, due to bindings, it is not possible to draw a segment to the desired location, and that is when the “Cut” and “Extend” commands are required. Both of these operations are located in the “Editing” block.

Click on the command triangle and select “Crop”. Chose. The program will prompt you to select objects; instead, press the “Enter” button, the following dialog box will appear in the bottom panel.

By default, Line is selected. Now you can move the mouse cursor over the desired line, a small cross will appear at the cursor, and by clicking the mouse the line will be truncated. AutoCAD cuts the line to the nearest intersection point. The operation allows you to cut several lines at once; for this, the desired area is selected. To select an area, just click left button mouse, displaying courses in free place and, without releasing the button, select. As soon as you release the button, the line will be cut.

Thus, it is possible to trim several lines at once in AutoCAD.

Extending lines in AutoCAD occurs in the same way as cutting. The only difference is that the “Lengthen” command is selected, all other actions are performed the same way. Even if you mistakenly selected “Crop”, the situation can be corrected without pressing the “Enter” button, in the bottom panel, click on the checkbox next to the word “Crop” and select “Extend”, then press enter and extend the necessary lines.

In AutoCAD, you can extend several lines at once, in the same way as cutting them.

You can extend and trim not only straight lines and segments, but also circles, arcs and polylines.

The process of extending or trimming takes only a few seconds, and any number of lines can be changed in one operation. The ability to edit lines saves a lot of time and greatly simplifies the work of creating drawings.

In subsequent lessons we will look at other interesting ways to edit lines and drawing views, which will greatly simplify your work.

Still have questions? I suggest you ask them in the comments below.