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

  1.  
  2.    5.8.2 CHANGE XHATCH
  3.  
  4.  
  5. The CHANGE XHATCH command is used to alter the shape or to change the cross-
  6. hatch parameters for an existing xhatch polygon entity.
  7.  
  8.  
  9.    COMMAND FORMAT
  10.  
  11. The command format varies depending on the modification mode chosen. The
  12. different formats are explained with their associated modifiers.
  13.  
  14.  
  15.    MODIFIERS
  16.  
  17. ADD            The ADD modifier is used to indicate that a sub-polygon
  18.                definition is to be added to an existing xhatch polygon. The
  19.                command format when using ADD is:
  20.  
  21.                   #CHANGE XHATCH ADD :Ent x1 :Loc x2 x3 ... xn [:Ent ... ]
  22.  
  23.                'x1' is used to select the required xhatch polygon. Locations
  24.                'x2' through to 'xn' define the boundary of a sub-polygon which
  25.                is added to the xhatch polygon entity. This allows you to cut
  26.                out sections of an existing xhatch polygon. ( See fig. 5.57
  27.                ).
  28.  
  29. SUBTRACT       The SUBTRACT modifier is used to indicate that sub-polygon
  30.                definitions are to be removed from an existing xhatch polygon
  31.                entity. The command format when using SUBTRACT is:
  32.  
  33.                   #CHANGE XHATCH SUBTRACT :Ent x1 :Loc x2 ... xn [:Ent .. ]
  34.  
  35.                'x1' is used to select the required xhatch polygon. Locations
  36.                'x2' through to 'xn' are used identify which sub-polygon
  37.                definitions are to be removed. The main xhatch polygon boundary
  38.                cannot be removed. ( See fig. 5.58 ).
  39.  
  40. EDIT           The EDIT modifier is used to indicate that the main xhatch
  41.                polygon boundary or any sub-poygon boundary for an existing
  42.                xhatch entity will be altered. The command format when using
  43.                EDIT is:
  44.  
  45.                   #CHANGE XHATCH EDIT :Ent x1 :Loc x2 x3 ... xm xn [:Ent ]
  46.  
  47.                'x1' is used to select the required xhatch polygon. Locations
  48.                'x2' through to 'xn' define the boundary alteration and are
  49.                also used to select whether the main xhatch polygon boundary
  50.                or a sub-polygon boundary will be changed.
  51.  
  52.                Locations 'x2' and 'xn' mark the start and end of the boundary
  53.                alteration. Both the points 'x2' and 'xn' must lie in the
  54.                vicinity of the same xhatch polygon boundary. The boundary
  55.                nearest to these two points will be altered.
  56.  
  57.                The new boundary shape is made by adding the section defined
  58.                by the locations 'x2' through to 'xn' at the two points where
  59.                the new section joins the existing boundary. These two points
  60.                are made at the intersection of the two vectors x2,x3 and
  61.                xm,xn with the selected xhatch polygon boundary. ( See fig.
  62.                5.59 ).
  63.  
  64.  
  65.