Command to Draw Regular Polygon with N Sides (Polygon) A. Enter Command

Cursor menu : Osnap setting.

Type in : Osnap/ Ddosnap.

Toolbar : Osnap.

To assign permanent capture mode using the Drafting Setting dialog box, we have the following ways:

+Execute Ddosnap, Osnap, Ddrmodes commands.

+Press Shift or Ctrl and the right mouse button at the same time when the cursor is in the graphics area, the Osnap Shotrcut menu will appear and select Osnap Setting.

+If the permanent point capture mode is not assigned, we can select the osnap button on the Status bar.

3. Use the coordinate input method to draw:

CAL (Calculator) can define points using vector and numeric expressions to calculate common functions and vector operations. While using the ACAD command, we can use the CAL command as an intermediate command by adding a ' before CAL ('CAL). Before using the CAL command, it is necessary to turn off the permanent point capture mode.

Common calculations and functions in ACAD.

+ / - / * / / : Add, subtract, multiply, divide numbers and vectors. 0: Group of expressions.

^: Power of a number.

Abs(x): Absolute value of real number x. Abs(v): Length of vector.

Ang (P 1 ,P 2 ): Angle between line P 1 P 2 and x-axis. Dist (P 1 ,P 2 ): Distance between 2 points P 1 , P 2 .

Dist (cen,cen)/2: Half the distance between the 2 centers of an arc, circle, ellipse. Ill (P 1 ,P 2 ,P 3 ,P 4 ): Distance between the 2 lines P 1 P 2 and P 3 P 4 .

Mee (end+end)/2: Finds the midpoint of a line determined by 2 points.

Rad: Radius of the arc.

Pld (P 1 ,P 2 , dist): Find a point on line P 1 P 2 and a given distance dist from P 1 .

R2d(x): Converts radian x to degrees.

Round(x): Rounds the real number x.

Rot (A, origin, ang): Rotate a point A around an angle origin 1 angle ang.

For example: Draw a circle with center K between centers O and I, with a radius equal to half the radius of the large circle.

Command: C

Specify center point for circle or {2P/3P/Ttr (Tan tan radius)]: 'CAL

>>Expression: (cen+cen)/2

>>Select entity for CEN snap: Select circle O

>>Select entity for CEN snap: Select circle I Specify radius of circle or {Diameter}:'CAL 

>>Expression: rad/5

Select circle, arc, polyline segment for RAD function: Select large circle.


During the drawing process, sometimes we have to enter a

point whose coordinates coincide with at most 2 points

points available on the drawing. For example, we want to draw a circle with

The center is the intersection of the two diagonals of a rectangle but you don't want to draw those two diagonals.

We see that the center of the circle has coordinate X as the coordinate of the midpoint of the horizontal side, coordinate Y is the coordinate Y of the midpoint of the vertical side. Therefore, we can use the coordinate filtering method. To enter coordinates using this method, we must enter a "." before the corresponding character of the coordinate to be selected.

Example: Command: C

Specify center point for circle or {2P/3P/TTR}: enter .X of (we enter MID) of (we choose horizontal edge)

need YZ: (we continue to enter .YZ)

of (we enter MID) of (we choose vertical edge) We have determined the center of the circle.

In summary, the coordinate filtering method can enter .X, .Y, .Z, .XY, .YZ, .

4.Draw lines and polygons using basic commands:

4.1. Polyline drawing command (Pline)

A polyline is a polygonal line, which can consist of straight lines and circular arcs, but AutoCAD only sees it as a single object. When drawing, we can choose the thickness of the line.

a.Enter command

Pulldown Menu: DrawPolyline Screen menu: DRAW1Pline

Toolbar :

Type command: Pline or PL

b. Statement structure

Command: pl

Specify start point: enter the first point of the pline. Current line width is 0.0000:

Specify next point or {Arc/Close/Halfwidth/Length/Undo/Width}: enter the next point or select A to switch to arc drawing mode.

* Options in the Pline command when drawing a line segment

+Close ( C ): This function allows drawing a line to close the pline. If the line drawn before using the Close function is a Line, the Close line is also a Line. If the line drawn before using the Close function is an Arc, the Close line is also an Arc. They both start at the current point and end at the starting point.

+ Halfwidth (H ): Enter half the thickness of the line to be drawn:

Starting halfwidth < >: Enter the half width at the beginning of the line segment

about to draw


about to draw


Ending halfwidth < >: Enter half width at the end of the line segment

+Width (W ): Enter the thickness of the line to be drawn, this function is similar to Halfwidth.

+Length (L ): Draw a straight line adjacent to the previous line. If the previous line is a straight line, the new line Length will extend the old line. If the old line is an arc, the new line Length will be its tangent at the end point with the length we enter.

+Undo (U ): Cancel the previous stroke.

* Options in the Pline command when drawing an arc

+Close (CL ), Haldwidth, Width, Undo are similar to in drawing mode

Line.


+Angle (A ): Draw an arc (Start, Angle, End).

Specify included angle: Enter the included angle value.

Specify endpoint of arc or {Center/Radius}: Enter the endpoint location,

center or radius.

+Center (CE ): Draw an arc (Start, Center, Angle or Length).

+Direction (D ): Draw an arc (Start, Direction, Endpoint).

+Radius (R ): Draw an arc (Start, Radius, Endpoint or Angle).

+Second pt (S ): Draw an arc using 3 points.

+Line (L ): Return to drawing a straight line.

c.Pline Edit (Pedit)

Pline allows editing of the entire polyline or its vertices and segments.

Enter command: Pulldown menu: Modify/ Object/ Pline Toolbar :

Type: Pedit

Command structure:

Command: Pedit

Select polyline: Select the polyline to edit.

If the selected object is a Line or Arc and not a polyline, a prompt appears: Object selected is not a polyline.

Do you want to turn it to one? <Yes>: Convert the selected object to a polyline. The following prompt appears:

Enter an option{ Close/Join/Width/Edit vertex/Fit/Spline/Decurve/Ltype gen/Undo}:

Options:

Close: Closes the polyline. After performing this function, the Close position is replaced by the Open function, allowing us to cancel the previously performed Close function.

Join: Joins other lines, arcs or polylines with the originally selected polyline into a single polyline. Note that polylines can only be joined to other lines, arcs or polylines if they form a continuous line. After joining, ACAD will notify the number of joined objects.

Width: Specify the width for the polyline, a prompt appears: Specify new width for all segment: Enter the new width for the polyline.

We cannot change a circle to a polyline, so we cannot change the width of the circle. However, we can do the following:

-Draw a circle using the arcs of the Pline command, then change the width of the circle using Pedit.

-Use the Break command to cut the circle into an arc, then use Pedit to change the width of the arc and finally use Close to close the arc.

- Fit: Converts a polyline into a curve that is a set of consecutive arcs passing through the vertices of the polyline.

Spline: Convert polyline to 2nd order Spline tangent at midpoint of polyline segments when Splinetype =5, and Splinetype=6 is 3rd order Spline curve.

To change the Splinetype variable: Command: Splinetype

Enter new value for splinetype<5>: enter new value for Splinetype variable, default is closest value.


Decurve: To convert circular arcs into straight lines.

Ltype gen: Ltype gen =ON then the current linetype will run evenly on the polyline. Ltype gen =OFF then solid dashes will appear at the start and end of each segment.

Edit vertex: Edit vertices or segments of a polyline.

4.2. Command to draw a regular polygon with n sides (Polygon) a. Enter the command

Pulldown Menu: DrawPolygon

Toolbar: Polygon command button Type command: Polygon or pol

b. Statement structure

Command: pol

Enter numbers of side<4>: Enter the number of polygon sides.

Specify center of polygon or {Edge}: Enter the coordinates of the circle center.

* Draw a regular polygon inscribed in a circle

Enter an option (Inscribed in Circle/Circumscribbled about circle): I Specify radius of Circle: enter the radius of the circle.

* Draw a regular polygon circumscribing a circle

Enter an option (Inscribed in Circle/Circumscribbled about circle): C Specify radius of Circle: enter the radius of the circle.

* Draw a regular polygon with 1 edge

Specify center of polygon or {Edge}:E

Specify first endpoint of Edge: enter 1 vertex of Polygon. Specify second endpoint of Edge: enter 2 vertex of Polygon.


B. REVIEW QUESTIONS AND EXERCISES:

I. Review questions

1. Question 1: List 8 commonly used capture points.

2. Question 2: Describe the syntax of the Polygon statement?

II. Exercises

80

120

Exercise 1: Use the Line, ARC, Polyline commands to draw the following shapes:

35

70

60

100


1 0

2 0

7 0

2 0

24

5 6

20

20

29

35

58

R 25

R 40

80


1 0

30 12030

60

100

90


Exercise 2: Use the Line, Polygon, and Polyline commands to draw the following shapes.



60°

100

50


60°

60

38


50


R5

4 l? Ø 10

10

20

61

81

Ø100

Ø40

R50

50

9

30

21 11 19

100


Ø40

100

100

Ø40

R50




Ø80

Maybe you are interested!

150


COURSE CODE CNOT 08.1

CHAPTER 5: USING HELP COMMANDS AND OPTIONS

STATUE

Time (hours)

LT

TH

BT

KT

TS

3

9

0

0

12

Target:

After completing this chapter, students will be able to:

- Select and delete single objects or groups of objects.

- Use editing commands to draw quickly.

- Change the drawing size to a required ratio.

- Practice being careful, meticulous and accurate in work.

Key issues to be covered

- 1. Help commands and object selection

- 2. Command to delete object using ERASE command

- 3. Object selection method

- 4. Move objects using the MOVE command

- 5. Trim a part of an object between 2 objects with the TRIM command

- 6. Cut a part of the object between 2 points, select the BREAK command

- 7. Extend the EXTEND command object

- 8. Rotate objects around a point with the ROTATE command

- 9. Resize objects proportionally with the SCALE command

Comment


Agree Privacy Policy *