home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Global Amiga Experience
/
globalamigaexperience.iso
/
graphic
/
cad
/
xcad3000
/
xcdoc
/
brkent
< prev
next >
Wrap
Text File
|
1995-07-10
|
2KB
|
55 lines
7.1.1 BREAK ENTITY
The BREAK ENTITY command is used to break or divide an existing entity into
two individual entities of the same type and attributes. Not all entities
can be broken, valid entities are lines, strings, arcs and ellipses.
COMMAND FORMAT
The command format varies depending on which break option is chosen. In the
default mode with no specific option chosen, the format is :
#BREAK ENTITY :Ent x1 :Loc x2 [:Ent ... ]
The entity identified at location 'x1' is the entity to be broken. Location
'x2' defines the break point. This is the point of intersection of a normal
projected from location 'x2' to the selected entity. ( See fig. 7.1 ).
MODIFIERS
INTERSECTION Format:
#BREAK ENTITY INTERSECTION :Ent x1 x2 :Ent ...
This modifier is used to break two entities - identified by
'x1' and 'x2'. The entities will be divided to their common
point of intersection if one exists. ( See fig. 7.2 ).
Some cases such as the intersection of a line and a circle
can have more than one solution. The point of intersection
chosen will be the point nearest to the identifying
locations.
AGAINST Format:
#BREAK ENTITY AGAINST :Ent x1 x2 x3 ... xn
When the AGAINST modifier is used, a number of entities can
be broken at their respective points of intersection with
a common entity. The entity to be trimmed against is iden-
tified with 'x1'. The entities to be broken are identified
by 'x2' through to 'xn'. All of the latter entities will be
divided at the point where they intersect with the first
entity. ( See fig. 7.3 ).
Some cases such as the intersection of a line and a circle
can have more than one solution. The point of intersection
chosen will be the point nearest to the identifying
locations.