CAED____ Chapter3b

download CAED____ Chapter3b

of 37

Transcript of CAED____ Chapter3b

  • 8/14/2019 CAED____ Chapter3b

    1/37

    1

    Computer Aided Engineering Drawing

    Entity Draw Commands in AutoCAD

    Chapter No 3

    Sir Syed University of Engineering & Technology

    Computer Engineering DepartmentUniversity Road, Karachi-75300, PAKISTAN

  • 8/14/2019 CAED____ Chapter3b

    2/37

    2

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Text Book

    Text Book:Mastering AUTOCAD 14

    By George Omura

    Course Outline is available at CAED course website.

  • 8/14/2019 CAED____ Chapter3b

    3/37

    3

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Chapter Outline

    LINE Command

    LINETYPE Command

    CHANGE Command POINT Command

    PDMODE AND PDSIZE

    CIRCLE Command

    ARC Command

    POLYGON Command

    SKETCH Command

    ELLIPSE Command DONUT Command

    SOLID Command

    TRACE Command

    TEXT and DTEXT

    STYLE Command

  • 8/14/2019 CAED____ Chapter3b

    4/37

    4

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Line Command

    The LINE command lets you draw straight lines.

    You can specify the desired endpoints using either 2D

    or 3D coordinates, or a combination of the two. If you

    enter 2D coordinates, AutoCAD uses the current

    elevation as the Z component of the point.

    Format: LINE

    From point: Enter a point.

    To point: Enter a point.

    To point: to end line sequence.

  • 8/14/2019 CAED____ Chapter3b

    5/37

    5

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Line Command

    To erase the last line segment without exitingthe LINE command, enter "u" at the To point:prompt.

    You can constrain lines to horizontal or verticalby using the ORTHO command.

    Relative, cylindrical, and spherical coordinatepoint entry is allowed.

    You can also use object snap to specifyparticular points -- endpoints of lines, centersof circles, etc. -- of previously drawn entities.

  • 8/14/2019 CAED____ Chapter3b

    6/37

    6

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Drawing Lines

    To draw single-segment and multiple-segment lines: 1. Choose Line from the Draw menu, then choose

    Segments. 2. Using the mouse, click a point on the screen. 3. Move the crosshairs to a second point on the

    screen.As you move the crosshairs, a rubber-band lineshows you what the line will look like.

    4. Click on the second point. 5. To end the line at the second point, press the right

    mouse button (this is the same as pressing ).

    If you want to continue the line, keep clicking points on thescreen. AutoCAD draws additional lines, each starting at theendpoint of the previous line. When you are done, press the rightmouse button.

  • 8/14/2019 CAED____ Chapter3b

    7/37

    7

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Draw Line Sub Menu

    SegmentsDraws multiple line segments. See LINE and Drawing Lines.

    1 Segment

    Draws a single line segment. See LINE and Drawing Lines.

    Double linesDraws a continuous double line using straight-line segmentsand arcs.

    SketchLets you draw freehand.

  • 8/14/2019 CAED____ Chapter3b

    8/37

    8

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Line Type

    The LINETYPE command sets the linetype for new

    entities.

    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.

    You can control the dot-dash linetype of each entity

    individually, or by layer.

    Format: LINETYPE

    ? / Create / Load / Set: ?

  • 8/14/2019 CAED____ Chapter3b

    9/37

    9

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Line Type

    To change the linetype of existing objects, use theCHANGE command. To control layer linetypes, usethe LAYER command.

    Options

    ? Lists the linetypes defined in a specifiedlibrary file.

    Create Allows creation of a new linetype andstores it in a specified library file.

    Load Loads selected linetypes from a specifiedlibrary file. Set Sets the current linetype used for newly

    drawn entities.

  • 8/14/2019 CAED____ Chapter3b

    10/37

    10

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Change Command

    The CHANGE command lets you modify or change the

    properties of existing objects in the drawing.

    Format:CHANGE Select objects:

    Properties/:

  • 8/14/2019 CAED____ Chapter3b

    11/37

    11

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Point Command

    The POINT command lets you place a Point entity in the

    drawing.

    Points are useful as "nodes" for object snap purposes.

    The appearance of Points in your drawing is governed

    by the PDMODE and PDSIZE system variables.

    Format:POINT

    Point: Designate a point.

    You can enter the DDPTYPE command to view the

    various forms a point can take.

  • 8/14/2019 CAED____ Chapter3b

    12/37

    12

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    PDMODE

    PDMODE is a system variable that stores the display

    mode for Point entities.

    The value stored is an integer and is saved in thedrawing file.

    When you enter the POINT command, AutoCAD

    draws the Point entity in the form specified byPDMODE, and at the size specified by the PDSIZE

    system variable.

  • 8/14/2019 CAED____ Chapter3b

    13/37

    13

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    PDMODE

    Options 0(Default) A dot at a point.

    1Nothing.

    2A cross through a point.

    3An X through a point. 4A vertical line upward from a point.

    To each of these values you can add 32, 64, or 96 to set afigure to be drawn around a point. + 32 Draws a circle around a point. + 64 Draws a square around a point.

    + 96 Draws a circle and square around a point.

  • 8/14/2019 CAED____ Chapter3b

    14/37

    14

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    PDMODE

    Therefore, there are 16 valid PDMODE settings:

    0 32 64 96

    1 33 65 97

    2 34 66 98

    3 35 67 99

    4 36 68 100

    Note: All Points are redrawn to the form currentlyspecified by PDMODE when the drawing is

    regenerated.

  • 8/14/2019 CAED____ Chapter3b

    15/37

    15

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    PDSIZE

    PDSIZE is a system variable that stores the displaysize for Point entities. The value stored is a realnumber and is saved in the drawing file.

    By default, AutoCAD displays Point entities as a singlepixel.

    If PDSIZE is set to a positive number, it specifies anabsolute size for Point entities. If negative, it is

    interpreted as a percentage of the viewport size, andPoint entities retain their appearance as you zoom inand out, provided the zoom performs a drawingregeneration.

  • 8/14/2019 CAED____ Chapter3b

    16/37

    16

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    DDTYPE Point Style Dialogue Box

    The DDPTYPE command lets you specify a new pointdisplay mode and size. Format:DDPTYPE

    When you enter the DDPTYPE command, AutoCADdisplays the Point Style dialogue box. Current values forthe point display mode and size are shown. Change thepoint display mode by clicking the new image tile.

    The PDMODE system variable is updated when you exitthe dialogue box. The value you specify in the Point Sizeedit box depends on which radio button you select

  • 8/14/2019 CAED____ Chapter3b

    17/37

    17

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Circle

    The CIRCLE command draws a circle as specified by any

    one of four methods.

    Format:CIRCLE

    3P/2P/TTR/: Enter a point.

    Diameter/: Enter radius value.

    Options

    3P Three points about the circumference

    2P Two points defining the diameter

    TTR Tangent, tangent, radius

  • 8/14/2019 CAED____ Chapter3b

    18/37

    18

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Draw Circle Sub Menu

    Center, Radius Draws a circle based on center point and radius.

    Center, Diameter Draws a circle based on center point and diameter.

    2 Point Draws a circle based on 2 endpoints of diameter.

    3 Point Draws a circle based on 3 points on the circumference.

    Tangent, Tangent, Radius Draws a circle based on the radius and two lines the

    circle is tangent to.

  • 8/14/2019 CAED____ Chapter3b

    19/37

    19

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Arc Command

    The ARC command draws an arc (circle segment) as

    specified by any of the following methods:

    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

  • 8/14/2019 CAED____ Chapter3b

    20/37

    20

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Arc Command

    Format: ARC

    Center/: Enter a point.

    Center/End/: Enter a point.

    Endpoint: Enter a point.

    Options

    A Included Angle

    C Center point

    D Starting Direction

    E Endpoint

    R Radius

  • 8/14/2019 CAED____ Chapter3b

    21/37

    21

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Draw Arc Sub Menu

    3 Point Draws an arc based on 3 points.

    Start, Center, End Draws an arc based on a start, center, and endpoint.

    Start, Center, Angle Draws an arc based on a start point, center point, spanning an

    angle.

    Start, Center, Length Draws an arc based on a start point, center point, and length of

    chord.

    Start, End, Angle Draws an arc based on start point, endpoint, and specified angle. Start, End, Radius

    Draws an arc based on a start point, endpoint, and radius.

  • 8/14/2019 CAED____ Chapter3b

    22/37

    22

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    BPOLY -- Polyline Creation Dialogue Box

    The BPOLY command creates a Polyline of aboundary.

    The area isn't hatched, and it's saved in your drawing.

    In the Polyline Creation dialogue box, the Define

    boundary Set area and the Ray Casting popup list areidentical to the ones in the Advanced Options dialoguebox used by BHATCH.

    When you use BPOLY, AutoCAD disables the RetainBoundaries check box. Pick the "Pick Points" button toaccept the settings in the Polyline Creation dialoguebox and create a Polyline. AutoCAD clears thedialogue box and displays this prompt:

  • 8/14/2019 CAED____ Chapter3b

    23/37

    23

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Polygon Command

    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.

    Format: POLYGON

    Number of sides : Enter a number or press

    Edge/: Enter a point.

    Inscribed in circle/Circumscribed about circle (I/C):

    Radius of circle:

  • 8/14/2019 CAED____ Chapter3b

    24/37

    24

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Polygon Command

    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:

    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.

  • 8/14/2019 CAED____ Chapter3b

    25/37

    25

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Polyside Command

    POLYSIDES is a system variable that sets the defaultnumber of sides for the POLYGON command. Thevalue stored is an integer; the range is 3-1024.

    Draw / Polygon Submenu Edge

    Draws an equal sided polygon based on the endpoints ofone edge of the polygon.

    Circumscribed Draws an equal sided polygon circumscribing a circle of a

    specified radius. Inscribed

    Draws an equal sided polygon inscribed within a circle ofa specified radius.

  • 8/14/2019 CAED____ Chapter3b

    26/37

    26

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Sketch Command

    The SKETCH command lets you draw freehand. Itrequires a pointing device such as a digitizing tablet ormouse.

    Format: SKETCH Record increment : Enter a number. Sketch.Pen eXit Quit Record Erase Connect.

  • 8/14/2019 CAED____ Chapter3b

    27/37

    27

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Sketch Command

    Options

    Pen Raises/lowers sketching pen.

    Quit Discards temporary lines, and exitsSketch.

    Record Records temporary lines, but remains in

    Sketch.

    Erase Erases temporary lines from a specifiedpoint

    Connect Restarts sketch at last endpoint.

    h i d i

  • 8/14/2019 CAED____ Chapter3b

    28/37

    28

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Ellipse Command

    The ELLIPSE command lets you draw ellipses.

    Format: ELLIPSE /Center: Enter a point or C. Axis endpoint 2: Enter a point. /Rotation:

    If you respond to the /Center promptwith C, AutoCAD prompts for the center point, and oneendpoint of each axis.

    CAED Ch N 3 E i D C d i A CAD

  • 8/14/2019 CAED____ Chapter3b

    29/37

    29

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Ellipse Command

    If you have selected isometric Snap mode, ELLIPSElets you draw a circle in the current isometric drawingplane, as follows: Format: ELLIPSE /Center/Isocircle: I Center of circle: Enter a point. /Diameter: Enter a radius

    distance or D.

    The "Center of circle" is the center point of the originalcircle as projected into the isometric drawing plane.The radius or diameter is the radius or diameter of theoriginal circle as it would appear in a face-onprojection.

    CAED Ch N 3 E i D C d i A CAD

  • 8/14/2019 CAED____ Chapter3b

    30/37

    30

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Donut Command

    The DONUT (or DOUGHNUT) command draws a filledcircle or ring.

    Format:DOUGHNUT Inside diameter : Enter a value or two points.

    Outside diameter: Enter a value or two points. Center of doughnut: Enter a point.

    The "Center of doughnut" prompt is repeated for multiplelocations of the doughnuts. A null response ends the

    DOUGHNUT command. The DOUGHNUT command constructs a closed Polyline

    (composed of wide arc segments) represents the specifiedobject.

    CAED Ch t N 3 E tit D C d i A t CAD

  • 8/14/2019 CAED____ Chapter3b

    31/37

    31

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Solid Command

    The SOLID command lets you draw solid-filled regions byentering them as quadrilateral or triangular sections.

    Format: SOLID First point: Enter a point.

    Second point: Enter a point. Third point: Enter a point. Fourth point: Enter a point or press for triangular section. Third point: Enter a point or press to end solid.

    The SOLID command prompts for the third and fourth pointrecursively, letting you continue drawing solid-filled regions.

    CAED Ch t N 3 E tit D C d i A t CAD

  • 8/14/2019 CAED____ Chapter3b

    32/37

    32

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Trace Command

    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.

    Format: TRACE

    Trace width :

    From point: Enter a point.

    To point: Enter a point. To point: Enter a point.

    To point: Press to end trace entry.

    CAED Chapter No 3 Entit Dra Commands in A toCAD

  • 8/14/2019 CAED____ Chapter3b

    33/37

    33

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    TEXT Command

    The TEXT command draws text of any desired

    size and angle.

    Format: TEXT Justify/Style/: Enter a point.

    CAED Chapter No 3 Entity Draw Commands in AutoCAD

  • 8/14/2019 CAED____ Chapter3b

    34/37

    34

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    TEXT Command

    Options 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.

    Style Displays the current text style name,and allows you to name a new style orpick from a list of available styles.

    Start point Left-justifies text to the point youspecify. Also prompts you to identifyHeight and Rotation angle.

    CAED Chapter No 3 Entity Draw Commands in AutoCAD

  • 8/14/2019 CAED____ Chapter3b

    35/37

    35

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    DTEXT Command

    The DTEXT command allows you to enter text

    dynamically: text appears on the screen character by

    character as you enter it.

    You can enter multiple lines of text with one command.

    DTEXT is similar to the TEXT command, and beginsby prompting for the same information.

    Format: DTEXT

    Justify/Style/:

    CAED Chapter No 3 Entity Draw Commands in AutoCAD

  • 8/14/2019 CAED____ Chapter3b

    36/37

    36

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    Draw TEXT Sub Menu

    Dynamic Draws text characters of any size, with

    selected styles. See DTEXT.

    Import Text Lets you import a text file into the

    current drawing.

    Set Style...Displays dialogue box of available text

    styles. See STYLE.

    Attributes > Attributes submenu

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

  • 8/14/2019 CAED____ Chapter3b

    37/37

    37

    CAED - Chapter No 3 Entity Draw Commands in AutoCAD

    STYLE Command

    The STYLE command lets you create new text styles

    and modify existing ones.

    Format: STYLE

    Text style name (or ?) :

    Font file :

    Height :

    Width factor : Enter a scale factor.

    Backwards?

    Upside-down?

    Vertical?