Computer Aided Engineering Drawing Entity Draw Commands in

  • Slides: 37
Download presentation
Computer Aided Engineering Drawing Entity Draw Commands in Auto. CAD Chapter No 3 Sir

Computer Aided Engineering Drawing Entity Draw Commands in Auto. CAD Chapter No 3 Sir Syed University of Engineering & Technology Computer Engineering Department University Road, Karachi-75300, PAKISTAN 1

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Text Book n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Text Book n Text Book: Mastering AUTOCAD 14 By George Omura n Course Outline is available at CAED course website. 2

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Chapter Outline n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Chapter Outline n LINE Command n POLYGON Command n LINETYPE Command n SKETCH Command n CHANGE Command n ELLIPSE Command n POINT Command n DONUT Command n PDMODE AND PDSIZE n SOLID Command n CIRCLE Command n TRACE Command n ARC Command n TEXT and DTEXT n STYLE Command 3

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Line Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Line Command n The LINE command lets you draw straight lines. n You can specify the desired endpoints using either 2 D or 3 D coordinates, or a combination of the two. If you enter 2 D coordinates, Auto. CAD uses the current elevation as the Z component of the point. n n Format: From point: To point: LINE Enter a point. to end line sequence. 4

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Line Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Line Command n To erase the last line segment without exiting the LINE command, enter "u" at the To point: prompt. n You can constrain lines to horizontal or vertical by using the ORTHO command. n Relative, cylindrical, and spherical coordinate point entry is allowed. n You can also use object snap to specify particular points -- endpoints of lines, centers of circles, etc. -- of previously drawn entities. 5

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Drawing Lines n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Drawing Lines n To draw single-segment and multiple-segment lines: n 1. n 2. 3. n n n 4. 5. Choose Line from the Draw menu, then choose Segments. Using the mouse, click a point on the screen. Move the crosshairs to a second point on the screen. As you move the crosshairs, a rubber-band line shows you what the line will look like. Click on the second point. To end the line at the second point, press the right mouse button (this is the same as pressing ). n If you want to continue the line, keep clicking points on the screen. Auto. CAD draws additional lines, each starting at the endpoint of the previous line. When you are done, press the right mouse button. 6

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Draw Line Sub

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Draw Line Sub Menu n Segments Draws multiple line segments. See LINE and Drawing Lines. n 1 Segment Draws a single line segment. See LINE and Drawing Lines. n Double lines Draws a continuous double line using straight-line segments and arcs. n Sketch Lets you draw freehand. 7

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Line Type n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Line Type n The LINETYPE command sets the linetype for new entities. n It can also load linetype definitions from a library file, write new definitions to a library file, and list the linetype definitions in a library file. n You can control the dot-dash linetype of each entity individually, or by layer. n Format: LINETYPE ? / Create / Load / Set: ? 8

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Line Type n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Line Type n To change the linetype of existing objects, use the CHANGE command. To control layer linetypes, use the LAYER command. n Options n ? Lists the linetypes defined in a specified library file. n Create Allows creation of a new linetype and stores it in a specified library file. n Loads selected linetypes from a specified library file. n Sets the current linetype used for newly drawn entities. 9

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Change Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Change Command n The CHANGE command lets you modify or change the properties of existing objects in the drawing. n n n Format: CHANGE Select objects: Properties/<Change point>: 10

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Point Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Point Command n The POINT command lets you place a Point entity in the drawing. n Points are useful as "nodes" for object snap purposes. n The appearance of Points in your drawing is governed by the PDMODE and PDSIZE system variables. n n Format: Point: POINT Designate a point. n You can enter the DDPTYPE command to view the various forms a point can take. 11

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD PDMODE n PDMODE

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD PDMODE n PDMODE is a system variable that stores the display mode for Point entities. n The value stored is an integer and is saved in the drawing file. n When you enter the POINT command, Auto. CAD draws the Point entity in the form specified by PDMODE, and at the size specified by the PDSIZE system variable. 12

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD PDMODE n Options

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD PDMODE n Options n n n 0 1 2 3 4 (Default) A dot at a point. Nothing. A cross through a point. An X through a point. A vertical line upward from a point. n To each of these values you can add 32, 64, or 96 to set a figure to be drawn around a point. n + 32 Draws a circle around a point. n + 64 Draws a square around a point. n + 96 Draws a circle and square around a point. 13

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD PDMODE n Therefore,

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD PDMODE n Therefore, there are 16 valid PDMODE settings: 0 1 2 3 4 n Note: 32 33 34 35 36 64 65 66 67 68 96 97 98 99 100 All Points are redrawn to the form currently specified by PDMODE when the drawing is regenerated. 14

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD PDSIZE n PDSIZE

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD PDSIZE n PDSIZE is a system variable that stores the display size for Point entities. The value stored is a real number and is saved in the drawing file. n By default, Auto. CAD displays Point entities as a single pixel. n If PDSIZE is set to a positive number, it specifies an absolute size for Point entities. If negative, it is interpreted as a percentage of the viewport size, and Point entities retain their appearance as you zoom in and out, provided the zoom performs a drawing regeneration. 15

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD DDTYPE – Point

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD DDTYPE – Point Style Dialogue Box n The DDPTYPE command lets you specify a new point display mode and size. n Format: DDPTYPE n When you enter the DDPTYPE command, Auto. CAD displays the Point Style dialogue box. Current values for the point display mode and size are shown. Change the point display mode by clicking the new image tile. n The PDMODE system variable is updated when you exit the dialogue box. The value you specify in the Point Size edit box depends on which radio button you select 16

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Circle n The

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Circle n The CIRCLE command draws a circle as specified by any one of four methods. n Format: CIRCLE n 3 P/2 P/TTR/<Center point>: Enter a point. n Diameter/<Radius>: Enter radius value. n Options n n n 3 P 2 P TTR Three points about the circumference Two points defining the diameter Tangent, tangent, radius 17

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Draw Circle Sub

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Draw Circle Sub Menu n Center, Radius n Draws a circle based on center point and radius. n Center, Diameter n Draws a circle based on center point and diameter. n 2 Point n Draws a circle based on 2 endpoints of diameter. n 3 Point n Draws a circle based on 3 points on the circumference. n Tangent, Radius n Draws a circle based on the radius and two lines the circle is tangent to. 18

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Arc Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Arc Command n The ARC command draws an arc (circle segment) as specified by any of the following methods: n n n n Three points on the arc Start point, center, endpoint Start point, center, included angle Start point, center, length of chord Start point, endpoint, radius Start point, endpoint, included angle Start point, endpoint, starting direction 19

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Arc Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Arc Command n n Format: ARC Center/<Start point>: Enter a point. Center/End/<Second point>: Enter a point. Endpoint: Enter a point. n Options n n n A C D E R Included Angle Center point Starting Direction Endpoint Radius 20

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Draw Arc Sub

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Draw Arc Sub Menu n 3 Point n Draws an arc based on 3 points. n Start, Center, End n Draws an arc based on a start, center, and endpoint. n Start, Center, Angle n Draws an arc based on a start point, center point, spanning an angle. n Start, Center, Length n Draws an arc based on a start point, center point, and length of chord. n Start, End, Angle n Draws an arc based on start point, endpoint, and specified angle. n Start, End, Radius n Draws an arc based on a start point, endpoint, and radius. 21

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD BPOLY -- Polyline

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD BPOLY -- Polyline Creation Dialogue Box n The BPOLY command creates a Polyline of a boundary. n The area isn't hatched, and it's saved in your drawing. n In the Polyline Creation dialogue box, the Define boundary Set area and the Ray Casting popup list are identical to the ones in the Advanced Options dialogue box used by BHATCH. n When you use BPOLY, Auto. CAD disables the Retain Boundaries check box. Pick the "Pick Points" button to accept the settings in the Polyline Creation dialogue box and create a Polyline. Auto. CAD clears the dialogue box and displays this prompt: 22

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Polygon Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Polygon Command n The POLYGON command lets you draw regular polygons that can have 3 -1024 sides. The size of the polygon can be specified by the radius of a circle in which it is inscribed or about which it is circumscribed, or by the length of an edge. n n n Format: POLYGON Number of sides <default>: Enter a number or press Edge/<Center of polygon>: Enter a point. Inscribed in circle/Circumscribed about circle (I/C): Radius of circle: 23

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Polygon Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Polygon Command n If you respond to the Edge/Center. . . option with E, you'll be prompted to specify the first and second endpoints of one of its edges: n If you respond to the Inscribed. . /Circumscribed. . . option with I, you should then enter the radius of a circle on which all the vertices of the polygon will lie. You can enter the radius numerically, or pick a point relative to the center of the polygon. If you pick a point, a vertex of the polygon is drawn at that point. 24

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Polyside Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Polyside Command n POLYSIDES is a system variable that sets the default number of sides for the POLYGON command. The value stored is an integer; the range is 3 -1024. n Draw / Polygon Submenu n Edge n Draws an equal sided polygon based on the endpoints of one edge of the polygon. n Circumscribed n Draws an equal sided polygon circumscribing a circle of a specified radius. n Inscribed n Draws an equal sided polygon inscribed within a circle of a specified radius. 25

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Sketch Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Sketch Command n The SKETCH command lets you draw freehand. It requires a pointing device such as a digitizing tablet or mouse. n n n Format: SKETCH Record increment <current>: Enter a number. Sketch. Pen e. Xit Quit Record Erase Connect. 26

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Sketch Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Sketch Command n Options n Pen Quit n Record n Erase n Connect n Raises/lowers sketching pen. Discards temporary lines, and exits Sketch. Records temporary lines, but remains in Sketch. Erases temporary lines from a specified point Restarts sketch at last endpoint. 27

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Ellipse Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Ellipse Command n The ELLIPSE command lets you draw ellipses. n n Format: ELLIPSE <Axis endpoint 1>/Center: Enter a point or C. Axis endpoint 2: Enter a point. <Other axis distance>/Rotation: n If you respond to the <Axis endpoint 1>/Center prompt with C, Auto. CAD prompts for the center point, and one endpoint of each axis. 28

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Ellipse Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Ellipse Command n If you have selected isometric Snap mode, ELLIPSE lets you draw a circle in the current isometric drawing plane, as follows: n n Format: <Axis endpoint 1>/Center/Isocircle: Center of circle: <Circle radius>/Diameter: distance or D. ELLIPSE I Enter a point. Enter a radius n The "Center of circle" is the center point of the original circle as projected into the isometric drawing plane. The radius or diameter is the radius or diameter of the original circle as it would appear in a face-on projection. 29

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Donut Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Donut Command n The DONUT (or DOUGHNUT) command draws a filled circle or ring. n Format: n Inside diameter <last>: n Outside diameter<last>: n Center of doughnut: DOUGHNUT Enter a value or two points. Enter a point. n The "Center of doughnut" prompt is repeated for multiple locations of the doughnuts. A null response ends the DOUGHNUT command. n The DOUGHNUT command constructs a closed Polyline (composed of wide arc segments) represents the specified object. 30

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Solid Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Solid Command n The SOLID command lets you draw solid-filled regions by entering them as quadrilateral or triangular sections. n Format: SOLID n First point: Enter a point. n Second point: Enter a point. n Third point: Enter a point. n Fourth point: Enter a point or press for triangular section. n Third point: Enter a point or press to end solid. n The SOLID command prompts for the third and fourth point recursively, letting you continue drawing solidfilled regions. 31

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Trace Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Trace Command n The TRACE command lets you draw Traces, solid-filled lines of specified width. Traces may be constrained to horizontal or vertical by the ORTHO command. n n n Format: Trace width <current>: From point: To point: TRACE Enter a point. Press to end trace entry. 32

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD TEXT Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD TEXT Command n The TEXT command draws text of any desired size and angle. Format: n Justify/Style/<Start Point>: n TEXT Enter a point. 33

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD TEXT Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD TEXT Command n Options n Justify Allows you to pick from a list of text alignment options: Align (A), Fit (F), Center (C), Middle (M), Right (R), Some alignment options prompt you to identify Height and Rotation angle. n Style Displays the current text style name, and allows you to name a new style or pick from a list of available styles. n Start point Left-justifies text to the point you specify. Also prompts you to identify Height and Rotation angle. 34

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD DTEXT Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD DTEXT Command n The DTEXT command allows you to enter text dynamically: text appears on the screen character by character as you enter it. n You can enter multiple lines of text with one command. DTEXT is similar to the TEXT command, and begins by prompting for the same information. n n Format: DTEXT Justify/Style/<Start point>: 35

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Draw TEXT Sub

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD Draw TEXT Sub Menu n Dynamic Draws text characters of any size, with selected styles. See DTEXT. n Import Text Lets you import a text file into the current drawing. n Set Style. . . Displays dialogue box of available text styles. See STYLE. n Attributes > Attributes submenu 36

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD STYLE Command n

CAED - Chapter No 3 Entity Draw Commands in Auto. CAD STYLE Command n The STYLE command lets you create new text styles and modify existing ones. n n n n Format: Text style name (or ? ) <current>: Font file <default>: Height <default>: Width factor <default>: Backwards? <N> Upside-down? <N> Vertical? <N> STYLE Enter a scale factor. 37