Sử dụng lệnh TRIM để cắt xén đối tượng trong autocad


Trong AutoCAD có 3 lệnh xoá và xén đối tượng là: Erase, Trim, Break. Ta cần phân biệt sự khác nhau giữa 3 lệnh này để dễ dàng sử dụng. Lệnh Erase là xoá cả đối tượng, còn lệnh Trim, Break chỉ xén một phần đối tượng. Đoạn cần xén trong lệnh Trim được giới hạn bởi một hoặc hai đối tượng giao, còn đoạn cần xén trong lệnh Break được giới hạn bởi hai điểm.
Lệnh Trim dùng để cắt bớt đoạn cuối của đối tượng được giao bởi một đối tượng khác hoặc đoạn giữa của hai đối tượng khác. Truy xuất lệnh bằng các cách sau: 
* Trên thanh Modify : click vào biểu tượng 
* Trên dòng Command : Trim hoặc Tr
Command: Trim (hoặc Tr) ¿
Current settings: Projection=UCS, Edge=None
Select cutting edges ...
Select objects: Chọn đối tượng giao với đoạn mà ta muốn xoá
Select objects: Chọn tiếp các đối tượng giao hay ấn Enter để kết thúc việc lựa chọn
Select object to trim or shift-select to extend or [Project/Edge/Undo]: chọn phần ta muốn cắt bỏ của đối tượng (hình dưới là đoạn có dấu ), nếu ta không thực hiện lệnh Trim, chọn U (Undo) 
Select object to trim or shift-select to extend or [Project/Edge/Undo]: Chọn tiếp đoạn muốn cắt bỏ hay ấn Enter để kết thúc.
Chú ý: Tại dòng “Select objects” nếu muốn chọn tất cả các đối tượng ta chỉ cần nhấn Enter, dòng nhắc tiếp của lệnh Trim sẽ xuất hiện.
Các lựa chọn khác
Edgemode: Xác định phần đối tượng được giao với các đối tượng đượcgiao kéo dài hay không (Extend hoặc No Extend)
Projectmode: Dùng để xoá các đoạn của mô hình 3 chiều, xuất hiện các lựa chọn phụ 
Select object to trim or shift-select to extend or [Project/Edge/Undo]: p
Enter a projection option [None/Ucs/View] :
View: xén một đoạn bất kì của hình chiếu mô hình 3 chiều lên mặt phẳng song song với màn hình mặc dù thực tế các đối tượng giao và các đoạn cần xén không giao nhau.
None: Chỉ cho phép Trim khi tất cả các đối tượng cùng nằm trên một mặt phẳng
UCS Các đối tượng của mô hình 3 chiều được chiếu lên mặt phẳng XY của UCS hiện hành và các đối tượng được xén trên mặt phẳng này
Undo: Lựa chọn này cho phép phục hồi lại đoạn vừa đoạn xoá

The TRIM command allows you to shorten an entity to an intersection or remove a section of an entity between two intersections.


To select the Trim command you can:

type trim and pressing Enter at a Command: prompt,
OR
select Trim under the Modify menu,
OR
click on the Trim  button.

--Prompt: Select cutting edges(s)...
Select objects: 

Click on entity or entities that the element should be trimmed back to or betweenSee FIGURE below.

--Prompt: Select objects:
Prompt repeats to allow you to continue selecting boundary edges. You can trim more than one element at a time. 

--Press the Enter key to tell AutoCAD you are through selecting boundary entities.

--Prompt: <Select object to trim>/Project
/Edge/Undo: Click on the part of the objects you wish to remove.

--Prompt: <Select object to trim>/Project
/Edge/Undo: 
Either select additional objects that you wish to trim or press Enter to exit the command.


Trim

The trim function in AutoCAD is very useful but it is commonly not understood or used correctly. Here are some helpful tips on using TRIM.

<command> TRIM or TR <enter> on the RIBBON – Home tab/ribbon > Modify panel > Trim button



If you do the above command or push the button, you have two options 1) “Select objects” or 2) hit enter one more time to “<select all>.”
1) SELECT OBJECTS

  • Think of this as selecting the edge that you want to trim to or trim between.

  • Pick the line or lines that will be the cutting edges and hit <enter>.

  • Now select the line or lines that cross the cutting edge and hit <enter>

  • Note – the side of the edge you select will be trimmed.

In the picture below, #s 1 & 2 are the cutting edges and #3 is the object that I want to trim.



2) <SELECT ALL>
This is also known as “TRIM <enter> <enter>”
What this does is instead of individually selecting your cutting edges, everything in the drawing is selected as a cutting edge.
In the above picture, if the TRIM <enter> <enter> function was to be used to create the same results , you would have to select each portion of the circle between the lines.
There area times when TRIM <enter> <enter> is useful, but knowing when to use both functions will save you time.

Drafters use the trim function so much that they have added an EXTEND function into TRIM. To do this:
TRIM <enter> <enter> then hold down the SHIFT button, then pick the side of any line(s) and the line will extend itself to the nearest object that is in the line’s path. To make the line go further, just keep clicking on it until it extends to the desired object.

TRIM with a “Fence”
This trim function may sound confusing, but it is really just drawing a polyline through other lines and objects, and the segment where the “fence” (polyline) crosses, it trims.
See the picture below. the greens line is the “fence” and it passes through the overhanging lines and trims them.



BONUS!!!    EXTRIM
The command EXTRIM is not found in the ribbon. It is just one of those secret commands that people wish they knew yesterday.
It is great for trimming little lines that  are too small to see or large amounts of overhanging lines.
To use EXTRIM:

  • <command> EXTRIM <enter>

  • Select the boundary edge

  • Pick the side of the boundary that you want to be trimmed. Everything on the side that choose that crosses the boundary will be trimmed.

See Picture Below:  The yellow line is a ployline that has been selected as the boundary and the outside of the boundary was chosen for the “side” to be trimmed.



Post a Comment

Mới hơn Cũ hơn