
实例001 轴套
本实例将介绍绘制轴套的方法,通过本案例的学习,读者可以掌握偏移和修剪命令的使用方法,其效果如图1-1所示。

图1-1 轴套效果
技法解析
本实例所绘制的轴套效果,首先使用LINE(直线)命令绘制出辅助线,并通过OFFSET(偏移)命令偏移辅助线,然后使用TRIM(修剪)命令对多余的线条进行修剪,从而获得最终效果。
实例路径 实例\第1章\轴套.dwg
素材路径 无
步骤01 启动AutoCAD 2011绘图程序,然后将当前绘图环境设置为“二维草图与注释”,如图1-2所示。

图1-2 设置绘图环境
步骤02 执行LAYER命令,打开“图层特性管理器”选项板,新建一个“实线”图层,设置其“线形”为Continuous, “颜色”为黑色,如图1-3所示。

图1-3 新建“实线”图层
步骤03 新建一个“中心线”图层,设置其“颜色”为红色,然后单击其“线形”列,弹出“选择线形”对话框,如图1-4所示。

图1-4 “选择线形”对话框
步骤04 单击“加载”按钮,弹出“加载或重载线形”对话框,选择CENTER选项,如图1-5所示。

图1-5 “加载或重载线形”对话框
步骤05 单击“确定”按钮,返回“选择线形”对话框,选择CENTER选项,并单击“确定”按钮,将“中心线”图层的“线形”设置为CENTER,然后双击该图层,将其设置为当前图层,如图1-6所示。

图1-6 设置为当前图层
步骤06 按【F8】键,开启正交模式,执行LINE命令,在绘图区的任意位置指定起点,绘制一条任意长度的水平直线a,然后利用同样的方法,绘制两条垂直于水平直线a的直线b和c,如图1-7所示。

图1-7 绘制辅助线
步骤07 选择直线b,然后在“图层”面板中将其移至“实线”图层中,效果如图1-8所示。

图1-8 将虚线改为实线
步骤08 执行OFFSET命令,设置偏移距离为120,选择直线b,然后在直线左侧单击,即可将该直线向左侧偏移120,效果如图1-9所示。

图1-9 偏移直线
步骤09 参照上述方法,重复执行OFFSET命令,将直线a分别向上和向下各偏移35,然后将偏移后的虚线移至“实线”图层中,效果如图1-10所示。

图1-10 偏移直线
技巧提示
在使用OFFSET命令时,如果偏移距离不变,可以在将直线向一侧偏移后,继续选择直线向其另一侧偏移。
步骤10 执行CIRCLE命令,以直线a与直线c的交点为圆心,绘制一个半径为20的圆,并将圆移至“实线”图层中,效果如图1-11所示。

图1-11 绘制圆
步骤11 执行OFFSET命令,将直线c分别向左和向右各偏移5,然后将偏移后的直线移至“实线”图层中,效果如图1-12所示。

图1-12 偏移直线
步骤12 重复执行OFFSET命令,将直线a向上偏移25,并将偏移后的直线移至“实线”图层中,效果如图1-13所示。

图1-13 偏移直线
步骤13 执行TRIM命令,选择当前绘制的所有图形对象,然后通过单击多余部分直线对图形进行修剪,效果如图1-14所示。

图1-14 修剪图形
技巧提示
在使用TRIM命令时,用户不仅可以清除不需要的图形对象,如果同时按住【Shift】键,则可以延伸图形对象。
步骤14 执行XLINE命令,捕捉右侧主视图中的对应点,绘制3条水平构造线,效果如图1-15所示。

图1-15 绘制构造线
步骤15 执行TRIM命令,对刚刚绘制的水平构造线进行修剪,即可完成轴套图形的绘制,最终效果如图1-16所示。

图1-16 最终效果