
5.1 绘制复合图形结构
本节主要学习“复制”和“偏移”两个命令,以便创建和组合多重的复合图形结构。
5.1.1 复制对象
“复制”命令用于对图形进行复制,复制出的图形尺寸、形状等保持不变,唯一发生改变的就是图形的位置,如图5-1所示,执行“复制”命令主要有以下几种方式。

图5-1 “复制”示例
单击“默认”选项卡→“修改”面板→“复制”按钮
。
选择菜单栏中的“修改”→“复制”命令。
在命令行输入“copy”后按“Enter”键。
按“CO”快捷键。
一般情况下,通常使用“复制”命令创建结构相同、位置不同的复合图形结构。下面通过实例来学习此命令。
打开配套资源中的“\素材文件\5-1.dwg”,如图5-1(a)所示。
单击“默认”选项卡→“修改”面板→“复制”按钮
,配合点的输入功能,对栏杆进行多重复制。


图5-2 窗交选择框

图5-3 捕捉中点1

图5-4 捕捉中点2

图5-5 捕捉中点3

图5-6 捕捉中点4

图5-7 捕捉中点5

图5-8 捕捉中点6

图5-9 捕捉中点7

图5-10 复制结果
小技巧
此命令只能在当前文件中复制对象,如果用户需要在多个文件之间复制对象,则必须启动菜单“编辑”→“复制”命令。
按“TR”快捷键执行“修剪”命令,对最后复制出的栏杆轮廓线进行修剪。修剪结果如图5-11所示。

图5-11 修剪结果
5.1.2 偏移对象
“偏移”命令用于将图线按照一定的距离或指定的通过点偏移,执行“偏移”命令主要有以下几种方式。
单击“默认”选项卡→“修改”面板→“偏移”按钮
。
选择菜单栏中的“修改”→“偏移”命令。
在命令行输入“offset”后按“Enter”键。
按“O”快捷键。
不同结构的对象,其偏移结果也不同。例如,圆、椭圆等对象偏移后,对象的尺寸发生了变化,而直线偏移后,尺寸保持不变。下面通过实例来学习使用“偏移”命令。
打开配套资源中的“\素材文件\5-2.dwg”,如图5-12所示。

图5-12 打开结果
单击“默认”选项卡→“修改”面板→“偏移”按钮
,对各图形进行距离偏移。


图5-13 偏移结果1
小技巧
在执行“偏移”命令时,只能以“点选”的方式选择对象,且每次只能偏移一个对象。
重复执行“偏移”命令,对水平直线和外侧的轮廓线进行偏移。


图5-14 选择偏移对象

图5-15 偏移结果2
● 定点偏移
在偏移对象时,除了根据事先指定的距离偏移,还可以通过指定的目标点来偏移对象。下面通过偏移圆,使偏移出的圆过椭圆的左象限点,如图5-16所示,来学习定点偏移功能,具体操作步骤如下。

图5-16 “定点偏移”示例
新建文件,并设置捕捉模式为象限点捕捉。
随意绘制一个圆和一个椭圆,如图5-17所示。

图5-17 绘制圆和椭圆
单击“默认”选项卡→“修改”面板→“偏移”按钮
,对圆图形进行定点偏移。

小技巧
“通过”选项用于按照指定的通过点偏移对象,所偏移出的对象将经过事先指定的目标点。

偏移结果如图5-16所示。
小技巧
“删除”选项用于将源偏移对象删除;“图层”选项用于设置偏移后的对象所在图层(有关图层的概念将在第6章中详细讲述)。