home *** CD-ROM | disk | FTP | other *** search
/ Global Amiga Experience / globalamigaexperience.iso / graphic / cad / xcad3000 / xcdoc / drawdim < prev    next >
Text File  |  1995-07-10  |  16KB  |  343 lines

  1.  
  2.    5.11.1 DRAW DIMENSION
  3.  
  4. The DRAW DIMENSION command is used to draw one or more dimension entities.
  5. The dimension and text parameters are taken from the currently selected
  6. parameters for the viewport or the system default parameters. Any of the
  7. selected or system parameters can be overridden using the DPARAMETERS or
  8. TPARAMETERS modifiers.
  9.  
  10.  
  11.    COMMAND FORMAT
  12.  
  13. The command format for DRAW DIMENSION varies according to the modifiers
  14. used. When the command and the required modifiers have been selected,
  15. entering a colon will result in the 'Loc', 'Ent' or 'View' prompt being
  16. issued:
  17.  
  18.    #DRAW DIMENSION modifiers :Loc/Ent
  19.  
  20.       or
  21.  
  22.    #DRAW DIMENSION modifiers :View
  23.  
  24. If the current active viewport is the sheet viewport, the 'View' prompt will
  25. be issued if one or more internal viewports exist. The purpose if this
  26. prompt is to enquire if you wish to use a different viewport for
  27. dimensioning. If a viewport is selected, then all dimension values will be
  28. calculated using the scale and units of the identified viewport. The
  29. dimension entities themselves will always be created on the sheet viewport,
  30. but will be related to the dimension viewport.
  31.  
  32. When the viewport has been selected, a colon must be entered to go on to the
  33. next stage of input. To use the sheet viewport to calculate dimension
  34. values, a colon is entered without selecting one of the other viewports:
  35.  
  36.    #DRAW DIMENSION modifiers :View x1 :Loc/Ent  ( To select a dimension
  37.                                                 viewport ).
  38.  
  39.       or
  40.  
  41.    #DRAW DIMENSION modifiers :View :Loc/Ent     ( To use the sheet
  42.                                                 viewport ).
  43.  
  44. Whether or not the next prompt for input is 'Loc' or 'Ent' is dependent on
  45. the type of dimension selected using the TYPE modifier. These differences in
  46. format are described below.
  47.  
  48.  
  49.    MODIFIERS
  50.  
  51. LAYER          Requires a layer number. This will override the current
  52.                active layer.
  53.  
  54. DEPTH          Requires a depth number. This will override the current
  55.                active depth.
  56.  
  57. TYPE           The TYPE modifier is used to select the type of dimension
  58.                required. There are seven available dimension types to choose
  59.                from:
  60.  
  61.                   HORIZONTAL     Used to dimension the horizontal distance
  62.                                  between two points. This is the default
  63.                                  type used if TYPE is omitted.
  64.  
  65.                   VERTICAL       Used to dimension the vertical distance
  66.                                  between two points.
  67.  
  68.                   LINEAR         Used to dimension the total distance
  69.                                  between two points.
  70.  
  71.                   POINT          Used to draw a single point dimension.
  72.  
  73.                   ANGULAR        Used to dimension an angle.
  74.  
  75.                   DIAMETRIC      Used to dimension an arc or circle.
  76.  
  77.                   RADIAL         Used to dimension an arc or circle.
  78.  
  79.                Each of these dimension types requires a slightly different
  80.                sequence of command input:
  81.  
  82.                   #DRAW DIMENSION TYPE HORIZONTAL :Loc x1 x2 x3 [x4] [:Loc ]
  83.  
  84.                Locations 'x1' and 'x2' define the object points of the
  85.                dimension. The dimension value will be obtained from the
  86.                horizontal distance between these two points. Location 'x3'
  87.                defines the y point for the witness line. The optional
  88.                location 'x4' will be used as an origin point for the
  89.                dimension value text if it is entered. ( See fig. 5.75 ). If
  90.                If 'x4' is omitted, the dimension value text will be placed
  91.                automatically. ( See fig. 5.76 and 5.77 ).
  92.  
  93.                The optional text origin is applicable to all dimension
  94.                types.
  95.  
  96.                   #DRAW DIMENSION TYPE VERTICAL :Loc x1 x2 x3 [x4] [:Loc ]
  97.  
  98.                Locations 'x1' and 'x2' define the object points of the
  99.                dimension. The dimension value will be obtained from the
  100.                vertical distance between these two points. Location 'x3'
  101.                defines the x point for the witness line. ( See fig. 5.78 ).
  102.  
  103.                   #DRAW DIMENSION TYPE LINEAR :Loc x1 x2 x3 [x4] [:Loc ]
  104.  
  105.                Locations 'x1' and 'x2' define the object points of the
  106.                dimension. The dimension value will be obtained from the
  107.                total distance between these two points. Points 'x1' and 'x2'
  108.                also define the angle of the witness line and leader lines.
  109.                Location 'x3' is used as reference point to place the witness
  110.                line. ( See fig. 5.79 ).
  111.  
  112.                   #DRAW DIMENSION TYPE POINT :Loc x1 x2 x3 [x4] [:Loc ]
  113.  
  114.                Location 'x1' defines the object point of the dimension.
  115.                Locations 'x2' and 'x3' define the start and end point of a
  116.                leader line. The dimension value will be obtained from the
  117.                ordinate value of 'x1'. ( See fig. 5.80 ).
  118.  
  119.                   #DRAW DIMENSION TYPE ANGULAR :Loc x1 x2 x3 x4 [x5] [:Loc ]
  120.  
  121.                Locations 'x1', 'x2' and 'x3' define the dimension angle.
  122.                The points 'x2' and 'x3' should be entered anticlockwise in
  123.                relation to the angle origin at 'x1'. Location 'x4' defines
  124.                the radius of the witness line as the distance between points
  125.                'x1' and 'x4'. ( See fig. 5.81 ).
  126.  
  127.                   #DRAW DIMENSION TYPE DIAMETRIC :Ent x1 :Loc x2 [x3]
  128.  
  129.                Diametric dimensions are always created by referencing an arc
  130.                entity. The dimension value is obtained from the diameter of
  131.                the entity selected by 'x1'. Location 'x2' is used to place
  132.                the witness line. If location 'x2' is inside the radius of
  133.                the arc, then the witness line will be drawn within the
  134.                circumference of the arc or circle. If location 'x2' is
  135.                outside the radius of the arc, then the witness line will be
  136.                from point 'x2' through the middle of the circle. The angle
  137.                of the witness line is obtained by the angle formed between
  138.                the centre of the arc or circle and point 'x2'. No leader
  139.                lines are drawn. The dimension value text will be prefixed
  140.                by the diameter symbol. ( See fig. 5.82 and 5.83 ).
  141.  
  142.                   #DRAW DIMENSION TYPE RADIAL :Ent x1 :Loc x2 [x3] [:Loc ]
  143.  
  144.                Radial dimensions are always created by referencing an arc
  145.                entity. The dimension value is obtained from the radius of
  146.                the arc selected by 'x1'. A single line is drawn from the arc
  147.                circumference to the location 'x2'. ( See fig 5.84 ).
  148.  
  149. ALIGN          The ALIGN modifier is used to align a new dimension with an
  150.                existing dimension. ALIGN can only be used with the dimension
  151.                types HORIZONTAL, VERTICAL, LINEAR and ANGULAR. The command
  152.                format changes when the ALIGN modifier is used:
  153.  
  154.                   #DRAW DIMENSION ALIGN modifiers :Ent x1 :Loc x2 [:Ent ]
  155.  
  156.                'x1' is used to select an existing dimension entity. The
  157.                witness line for the new dimension entity will be aligned to
  158.                the witness line of the selected entity. The location of 'x1'
  159.                is also used to obtain the first object point for the
  160.                dimension. Location 'x2' defines the second object point for
  161.                the dimension. If location 'x3' is entered, then this defines
  162.                the origin for the dimension value text. If 'x3' is omitted,
  163.                the dimension value text will be placed automatically. ( See
  164.                fig. 5.85 ).
  165.  
  166. DPARAMETERS    The DPARAMETERS modifier is used to enter a further set of
  167.                modifiers used to control the dimension parameters.
  168.  
  169. .SUPPRESSLEAD  This modifier can be used to suppress one or both of the
  170.                dimension leader lines. SUPPRESSLEAD is followed by one of
  171.                four keywords:
  172.  
  173.                   FIRST    Suppress the first leader line.
  174.                   SECOND   Suppress the second leader line.
  175.                   BOTH     Suppress both leader lines.
  176.                   NONE     Do not suppress any of the leader lines.
  177.  
  178.                ( See fig. 5.86 ).
  179.  
  180. .LEADGAP       The LEADGAP modifier is used to define the gap left between
  181.                the start of the leader line and the object point of the
  182.                dimension. If a negeative value is entered, then the leader
  183.                lines will extend beyond the dimension object points. LEADGAP
  184.                should be followed by a real value. ( See fig. 5.87 ).
  185.  
  186. .LEADEXT       The LEADEXT modifier is followed by a real value used to
  187.                define the distance that each leader line is extended beyond
  188.                the dimension witness line.
  189.  
  190. .ARROWHEAD     The ARROWHEAD modifier is used to select the type of
  191.                arrowhead to be used for all dimension entities. The modifier
  192.                is followed by one of 5 keywords to select the arrowhead
  193.                type:
  194.  
  195.                   CLOSED      Use a closed unfilled arrowhead.
  196.                   FILLED      Use a closed filled arrowhead.
  197.                   OPEN        Use an open arrowhead ( < shape ).
  198.                   DASH        Use a diagonal dash as the arrowhead ( /
  199.                               shape ).
  200.                   NONE        No arrowhead will be used.
  201.  
  202. ..LENGTH       Requires a real value to specify the length of the arrowhead
  203.                in the creation viewport units.
  204.  
  205. ...RATIO       Specifies the ratio between the arrowhead length and width.
  206.                If the arrowhead length was entered as 5mm, a ratio of 2.5
  207.                will make the arrowhead width 2mm.
  208.  
  209. .SCALE         The SCALE modifier can be used to specify a scale factor
  210.                which will be applied to all dimension values.
  211.  
  212. .UNITS         If this modifier is used, any dimension values will be
  213.                converted from their dimension viewport units to a specified
  214.                units type. The units types that can be entered are:
  215.  
  216.                   MM       Millimetres.
  217.                   CM       Centimetres.
  218.                   M        Metres.
  219.                   KM       Kilometres.
  220.                   IN       Inches.
  221.                   FT       Feet.
  222.                   ML       Miles.
  223.                   DEFAULT  Use the default units.
  224.  
  225. .TEXT          The TEXT modifier is used to enter a further set of modifiers
  226.                used to control layout and formatting characteristics for
  227.                dimension text.
  228.  
  229. ..POSITION     This modifier has a number of options to decide how the
  230.                dimension text is positioned relative to the witness line:
  231.  
  232.                   HORIZONTAL  Always position the text horizontally. ( See
  233.                               fig. 5.88 ).
  234.  
  235.                   ALIGN       Always align the text with the witness
  236.                               line. ( See fig. 5.89 ).
  237.  
  238.                               The above 2 options override any selected
  239.                               text angle.
  240.  
  241.                   MANUAL      Position the text manually. The text angle
  242.                               and justification is taken from the
  243.                               currently selected text parameters.
  244.  
  245. ...BREAK       If the BREAK modifier is used with POSITION options
  246.                HORIZONTAL or ALIGN, then the witness line will be broken to
  247.                fit the dimension value text. ( See fig. 5.90 ).
  248.  
  249. ..DTEXT        The DTEXT modifier can be used to enter a character string
  250.                that will be used as the dimension text instead of the
  251.                actual dimension value. ( See fig. 5.91 ).
  252.  
  253. ..PREFIX       The PREFIX modifier can be used to enter a character string
  254.                that will act as a prefix to any dimension value text. ( See
  255.                fig 5.92 ).
  256.  
  257. ..NOPREFIX     NOPREFIX will cancel any prefix text that may have already
  258.                been selected using the SELECT TEXT command.
  259.  
  260. ..SUFFIX       The SUFFIX modifier can be used to enter a character string
  261.                that will act as a suffix to any dimension value text.
  262.  
  263. ..NOSUFFIX     NOSUFFIX will cancel any suffix text that may have already
  264.                been selected using the SELECT TEXT command.
  265.  
  266. ..PRECISION    The PRECISION modifier is followed by an integer value used
  267.                to define the number of decimal places of precision to use
  268.                when formatting dimension value text. ( See fig. 5.93 ).
  269.  
  270. ..TRAILZERO    TRAILZERO is a toggle use to switch between displaying or
  271.                not displaying any trailing zeros when fromatting dimension
  272.                value text.
  273.  
  274. ..TOLERANCE    The TOLERANCE modifier is used to specify one of 4
  275.                tolerancing formats that can be used with dimensions. The
  276.                modifier is followed by one of 4 keywords:
  277.  
  278.                   T±    Used to enter a single value for plus and minus
  279.                         tolerances.
  280.  
  281.                   T+T-  Used to enter two tolerance values; one positive
  282.                         and one negative tolerance.
  283.  
  284.                   T+    Used to enter a single value for a positive
  285.                         tolerance only.
  286.  
  287.                   T-    Used to enter a single value for a negative
  288.                         tolerance only.
  289.  
  290. ...VALUE       This modifier is used to specify the tolerance value ( or
  291.                values in the case of T+T- ) for the above modifier.
  292.  
  293. ..FORMAT       The FORMAT modifier is used to select the format for
  294.                dimension values if the dimension viewport units or selected
  295.                units type are imperial - feet or inches. The default is to
  296.                use feet and inches format with decimal fractions: one foot
  297.                six and a half inches would be formatted as " 1'-6.500" ".
  298.  
  299. ...DECIMAL     Will select decimal format for imperial units: one foot six
  300.                and a half inches will be formatted as "1.5416".
  301.  
  302. ...IMPERIAL    Selects the default imperial format. ( See fig. 5.94 ).
  303.  
  304. ....FRACTIONS  Will use fractional values in formatting dimension text
  305.                values for imperial units. The modifier should be followed by
  306.                an integer value defining the lowest denominator to be used
  307.                for fractional values. Unless the FIXED modifier is used, the
  308.                lowest common denominator will be sought; ie, if a value of 
  309.                16 is chosen for the FRACTIONS value, 0.5 will be formatted
  310.                as "1/2" and not "8/16". ( See fig. 5.95 ).
  311.  
  312.                The above example of one foot six and a half inches will
  313.                be formatted as " 1'-6 1/2" ".
  314.  
  315. .....FIXED     Will used fixed fractions when formatting imperial values.
  316.                The denominator specified under FRACTIONS will always be
  317.                used.
  318.  
  319. TPARAMETERS    The TPARAMETERS modifier is used to enter a further family
  320.                of modifiers used to control the text parameters and
  321.                appearance.
  322.  
  323.                See the documentation for the command DRAW TEXT for a full
  324.                description of the modifiers used to control text parameters.
  325.  
  326. EXPLODE        Specifies that the dimension should be exploded into all of
  327.                its component parts. If this modifier is used, individual
  328.                entities are created as opposed to a single dimension entity.
  329.                This means that each entity that makes up the dimension can
  330.                be edited or referenced in the normal way.
  331.  
  332.                All of the entities created will be related to each other to
  333.                form a group of equal members.
  334.  
  335. .UNLINK        If the UNLINK modifier is used in conjunction with EXPLODE,
  336.                the entities that compose the dimension will not be related.
  337.  
  338. ATTRIBUTE      Used to enter one or more attributes associated with this
  339.                entity. For a full description of the ATTRIBUTE option, see
  340.                the documentation for the command ADD ATTRIBUTE.
  341.  
  342.  
  343.