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

  1.  
  2.    7.1.2 TRIM ENTITY
  3.  
  4.  
  5. The TRIM ENTITY command is used to trim - shorten or lengthen - an existing
  6. entity. Not all entities can be trimmed. Valid entities are lines, strings,
  7. arcs and ellipses.
  8.  
  9.  
  10.    COMMAND FORMAT
  11.  
  12. The command format varies depending on which trim option is chosen. In the
  13. default mode with no specific option chosen, the format is :
  14.  
  15.    #TRIM ENTITY :Ent x1 :Loc x2 [:Ent ... ]
  16.  
  17. The entity identified at location 'x1' is the entity to be trimmed. Location
  18. 'x2' defines the trim point. This is the point of intersection of a normal
  19. projected from location 'x2' to the selected entity.
  20.  
  21. Which end of the entity is trimmed is determined by the identifying
  22. location ('x1'). The end-point farthest from this location is left as it is.
  23. The end-point nearest to the identifying location is trimmed to the point
  24. defined by 'x2'. ( See figs. 7.4 to 7.6 ).
  25.  
  26.  
  27.    MODIFIERS
  28.  
  29. INTERSECTION   Format:
  30.  
  31.                   #TRIM ENTITY INTERSECTION :Ent x1 x2 :Ent ...
  32.  
  33.                This modifier is used to trim two entities - identified by
  34.                'x1' and 'x2'. The entities will be trimmed to their common
  35.                point of intersection if one exists. ( See fig. 7.7 ).
  36.  
  37.                Which end of the entity is trimmed is determined by the
  38.                identifying locations in the same manner as the default trim
  39.                mode.
  40.  
  41. AGAINST        Format:
  42.  
  43.                   #TRIM ENTITY AGAINST :Ent x1 x2 x3 ... xn
  44.  
  45.                When the AGAINST modifier is used, a number of entities can
  46.                be trimmed to their respective points of intersection with
  47.                a common entity. The entity to be trimmed against is iden-
  48.                tified with 'x1'. The entities to be trimmed are identified
  49.                by 'x2' through to 'xn'. All of the latter entities will be
  50.                trimmed to the point where they intersect with the first
  51.                entity. ( See fig. 7.8 ).
  52.  
  53.                Which end of the entity is trimmed is determined by the
  54.                identifying locations in the same manner as the default trim
  55.                mode.
  56.  
  57. LENGTH         Format:
  58.  
  59.                   #TRIM ENTITY LENGTH value :Ent x1 x2 ... xn
  60.  
  61.                The length modifier can be used to trim any line entity to a
  62.                specific length. The required length is entered after the
  63.                LENGTH modifier. ( See fig. 7.9 ).
  64.  
  65.                Which end of the line is trimmed is determined by the iden-
  66.                tifying location. The end-point farthest from this location
  67.                is left as it is. The end-point nearest to the identifying
  68.                location is changed to reflect the new line length.
  69.  
  70.  
  71.