二、六角凉亭
绘制如图17.16所示的亭子,注意在制作的过程中随时改变颜色。
(一)3D视点
视图→三维视点→东南等轴测(View→3D Views→SE Isometric)
设置东南视点,观看三维效果。

图17.16 六角凉亭
命令:view
Command:view
输入选项[?/正交(O)/删除(D)/恢复(R)/保存(S)/UCS(U)/窗口(W)]:seiso
Enter option [?/Orthographic/Delete/Restore/Save/UCS/Window]:seiso
(二)缩放
视图→缩放→中心点(View→Zoom→Center)
按中心点缩放。在做图过程中,用户可按需随意缩放。
命令:zoom
Command:zoom
指定窗口角点,输入比例因子(nX或nXP),或[全部(A)/中心点(C)/动态(D)/范围(E)/上个(P)/比例(S)/窗口(W)]<实时>:c
Specify corner of window, enter a scale factor (nX or nXP), or [All/Center/Dynamic /Extents/Previous/Scale/Window]<real time>:c
指定中心点:0,0↙
Specify center point:0,0↙
输入比例或高度<643.1354>:1000↙
Enter magnification or height <643.1354>:1000↙
(三)多边形
绘图→正多边形(Draw→Polygon)
绘制六边形,将该六边形作为亭子的底座轮廓,如图17.17所示。
命令:polygon
Command:polygon
输入边的数目<4>:6↙
Enter number of sides <4>:6↙
指定多边形的中心点或[边(E)]:0,0↙
Specify center of polygon or [Edge]:0,0↙
输入选项[内接于圆(I)/外切于圆(C)]<I>:↙
Enter option [Inscribed in circle/Circumscribed about circle]<I>:↙
指定圆的半径:400↙
Specify radius of circle:400↙
(四)拉伸体
绘图→实体→拉伸(Draw→Solids→Extrude)
拉伸六边形以构成六棱柱,作为亭子的底座,如图17.18所示。

图17.17 亭子底座轮廓

图17.18 亭子底座
命令:extrude
Command:extrude
当前线框密度:ISOLINES=4
Current wire frame density:ISOLINES=4
选择对象:找到1个(选六边形)
Select objects:1 found
选择对象:↙
Select objects:↙
指定拉伸高度或[路径(P)]:100↙
Specify height of extrusion or [Path]:100↙
指定拉伸的倾斜角度<0>:↙
Specify angle of taper for extrusion<0>:↙
(五)圆柱体
绘图→实体→圆柱体(Draw→Solids→Cylinder)
用圆柱体绘制桌子的腿,如图17.19所示。
命令:cylinder
Command:cylinder
当前线框密度:ISOLINES=4
Current wire frame density:ISOLINES=4
指定圆柱体底面的中心点或[椭圆(E)]<0,0,0>:0,0,100↙
Specify center point for base of cylinder or [Elliptical]<0,0,0>:0,0,100↙
指定圆柱体底面的半径或[直径(D)]:20↙
Specify radius for base of cylinder or [Diameter]:20↙
指定圆柱体高度或[另一个圆心(C)]:100↙
Specify height of cylinder or [Center of other Circle]:100↙
(六)长方体
绘图→实体→长方体(Draw→Solids→Box)
用正方体绘制桌子的面,如图17.20所示。
命令:box
Command:box
指定长方体的角点或[中心点(CE)]<0,0,0>:-80,-80,200↙
Specify corner of box or [CEnter]<0,0,0>:-80,-80,200↙
指定角点或[立方体(C)/长度(L)]:@160,160↙(另一角)
Specify corner or [Cube/Length]:@160,160↙
指定高度:10↙
Specify height:10↙

图17.19 方桌腿

图17.20 方桌
(七)3D视点
视图→三维视图→主视(View→3D Views→Front)
将视窗的视点变为前(主)视图。
命令:view
Command:view
输入选项[?/正交(O)/删除(D)/恢复(R)/保存(S)/UCS(U)/窗口(W)]:front
Enter an option [?/Orthographic/Delete/Restore/Save/UCS/Window]:front
(八)多段线
绘图→多段线(Draw→Pline)
绘制鼓形凳子的一半轮廓线(或用面域制作),如图17.21所示。
命令:pline
Command:pline
指定起点:160,100↙
Specify start point:160,100↙
当前线宽为 0.0000
Current line-width is 0.0000

图17.21 凳子的半轮廓
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@15,0↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@15,0↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@0,10↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@0,10↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:a↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:a↙
指定圆弧的端点或[角度(A)/圆心(CE)/闭合(CL)/方向(D)/半宽(H)/直线(L)/半径(R)/第二点(S)/放弃(U)/宽度(W)]:d↙
Specify endpoint of arc or [Angle/CEnter/CLose/Direction/Halfwidth/Line/Radius/Second point/Undo/Width]:d↙
指定圆弧的起点切向:(向外随意点一下,改变弧的弯向)
Specify the tangent direction for the start point of arc:
指定圆弧的端点:@0,40↙
Specify endpoint of the arc:@0,40↙
指定圆弧的端点或[角度(A)/圆心(CE)/闭合(CL)/方向(D)/半宽(H)/直线(L)/半径(R)/第二点(S)/放弃(U)/宽度(W)]:L↙
Specify endpoint of arc or [Angle/CEnter/CLose/Direction/Halfwidth/Line/Radius/Second point/Undo/Width]:L↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@0,10↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@0,10↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@-15,0↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@-15,0↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:c↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:c↙
(九)回转体
绘图→实体→旋转(Draw→Solids→Revolve)
用回转体构成凳子。
命令:revolve
Command:revolve
当前线框密度:ISOLINES=4
Current wire frame density:ISOLINES=4
选择对象:找到1个
Select objects:1 found
选择对象:↙
Select objects:↙
指定旋转轴的起点或定义轴依照[对象(O)/X 轴(X)/Y 轴(Y)]:160,0↙
Specify start point for axis of revolution or define axis by[Object/X axis/Y axis]:160,0↙
指定轴端点:@0,100↙
Specify endpoint of axis:@0,100↙
指定旋转角度<360>:↙
Specify angle of revolution <360>:↙
(十)缩放
视图→缩放→上一个(View→Zoom→Previous)
回到前一窗口。
命令:zoom
Command:zoom
指定窗口角点,输入比例因子(nX或nXP),或[全部(A)/中心点(C)/动态(D)/范围(E)/上一个(P)/比例(S)/窗口(W)]<实时>:p
Specify corner of window, enter a scale factor (nX or nXP), or [All/Center/Dynamic/ Extents/Previous/Scale/Window]<real time>:p
(十一)坐标系变换
工具→新建UCS→世界坐标系(Tools→NewUCS→World)
回到世界坐标系。
命令:ucs
Command:ucs
当前 UCS 名称:*世界*
Current UCS name:*WORLD*
输入选项[新建(N)/移动(M)/正交(G)/上一个(P)/恢复(R)/保存(S)/删除(D)/应用(A)/?/世界(W)]<世界>:w
Enter option [New/Move/orthoGraphic/Previous/Restore/Save/Delete/Apply/?/World] <World>:w
(十二)圆柱体
绘图→实体→圆柱体(Draw→Solids→Cylinder)
绘制亭子立柱, 如图17.22所示。
命令:cylinder
Command:cylinder
当前线框密度:ISOLINES=4
Current wire frame density:ISOLINES=4
指定圆柱体底面的中心点或[椭圆(E)]<0,0,0>:360,0,100↙
Specify center point for base of cylinder or [Elliptical]<0,0,0>:360,0,100↙
指定圆柱体底面的半径或[直径(D)]:25↙
Specify radius for base of cylinder or [Diameter]:25↙
(十三)特性
修改→特性(Modify→Properties)
重复该命令,点击颜色按钮,将桌子、凳子、柱子和底座分别变成自己喜欢的颜色(也可边做边改变颜色,注意颜色不要随层,否则相加后颜色将变成一色)。
命令:properties
Command:properties
(十四)阵列
修改→阵列(Modify→Array)

图17.22 柱子和凳子
在对话框中选环形阵列,指定阵列中心点(0,0),数目为4个,将凳子阵列4个,如图17.23所示。重复命令,指定阵列中心点(0,0),数目为6个,将柱子阵列6个,如图17.24所示。
命令:array
Command:array
选择对象:找到1个
Select objects:1 found
选择对象:↙
Select objects:↙

图17.23 阵列凳子

图17.24 阵列柱子

图17.25 亭顶轮廓线
(十五)3D视点
视图→三维视图→主视(View→3D Views→Front)
将视点变为前(主)视图,并自动将坐标系绕X轴旋转90°,以便绘制亭顶的轮廓线。
命令:view
Command:view
输入选项[?/正交(O)/删除(D)/恢复(R)/保存(S)/UCS(U)/窗口(W)]:front
Enter an option[?/Orthographic/Delete/Restore/Save/UCS/Window]:front
(十六)平移
视图→平移(View→Pan)
将视图平移到合适的位置,以便绘制亭顶的轮廓线,此命令因经常使用,不再详细列出。
命令:pan
Command:pan
(十七)多段线
绘图→多段线(Draw→Pline)
绘制亭顶的一半轮廓线, 如图
17.25所示。
命令:pline
Command:pline
指定起点:0,700↙(https://www.daowen.com)
Specify start point:0,700↙
当前线宽为 0.0000
Current line-width is 0.0000
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@390,0↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@390,0↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@0,20↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@0,20↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@70,0↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@70,0↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@0,20↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@0,20↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@-150,50↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@-150,50↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@-200,120↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@-200,120↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@-110,120↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@-110,120↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width:↙
(十八)画线
绘图→直线(Draw→Line)
绘制一回转轴。
命令:line
Command:line
指定第一点:↙
Specify first point:↙
指定下一点或[放弃(U)]:@0,100↙
Specify next point or [Undo]:@0,100↙
指定下一点或[放弃(U)]:↙
Specify next point or [Undo]:↙
(十九)多段线
绘图→多段线(Draw→Pline)
绘制楼梯的轮廓线, 如图17.26所示。
命令:pline
Command:pline
指定起点:400,80↙
Specify start point:400,80↙
当前线宽为 0.0000
Current line-width is 0.0000
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@40,0↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@40,0↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@0,-20↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@0,-20↙

图17.26 楼梯轮廓线
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@40,0↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@40,0↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@0,-20↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@0,-20↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@40,0↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@40,0↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@0,-20↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@0,-20↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:@-160,0↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:@-160,0↙
指定下一点或[圆弧(A)/闭合(C)/半宽(H)/长度(L)/放弃(U)/宽度(W)]:c↙
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:c↙
(二十)变换坐标系
工具→新建UCS→世界坐标系(Tools→New UCS→World)
回到世界坐标系。
命令:ucs
Command:ucs
当前 UCS 名称:*主视*
Current UCS name:*FRONT*
输入选项[新建(N)/移动(M)/正交(G)/上一个(P)/恢复(R)/保存(S)/删除(D)/应用(A)/?/世界(W)]<世界>:w
Enter option [New/Move/orthoGraphic/Previous/Restore/Save/Delete/Apply/?/World] <World>:w
(二十一)缩放
视图→缩放→上一个(View→Zoom→Previous)
回到前一窗口。
命令:zoom
Command:zoom
指定窗口角点,输入比例因子(nX 或 nXP),或[全部(A)/中心点(C)/动态(D)/范围(E)/上一个(P)/比例(S)/窗口(W)]<实时>:p
Specify corner of window, enter a scale factor (nX or nXP), or [All/Center/Dynamic/ Extents/Previous/Scale/Window]<real time>:p
(二十二)网格密度
改变网格密度,做旋转曲面时,曲面边数与网格密度数相等。
命令:surftab1
Command:surftab1
输入 SURFTAB1 的新值<6>:6↙(绘制几个角,即改变为几)
Enter new value for SURFTAB1<6>:6↙
(二十三)旋转曲面
绘图→表面→旋转曲面(Draw→Surfaces→Revolved Surface)
用多段线绕直线旋转以构成亭顶旋转曲面,因网格线数为六,所以为六角亭,如图17.27所示。
命令:revsurf
Command:revsurf
当前线框密度:SURFTAB1=6 SURFTAB2=6
Current wire frame density:SURFTAB1=6 SURFTAB2=6
选择要旋转的对象:(选亭顶轮廓线)
Select object to revolve:
选择定义旋转轴的对象:(选回转轴直线)
Select object that defines the axis of revolution:
指定起点角度<0>:↙
Specify start angle<0>:↙
指定包含角(+=逆时针,-=顺时针)<360>:↙
Specify included angle(+=ccw,-=cw)<360>:↙
(二十四)拉伸体
绘图→实体→拉伸(Draw→Solids→Extrude)
用拉伸体构成楼梯, 如图17.28所示。

图17.27 亭顶

图17.28 楼梯
命令:extrude
Command:extrude
当前线框密度:ISOLINES=4
Current wire frame density:ISOLINES=4
选择对象:找到1个(选楼梯的轮廓线)
Select objects:1 found
选择对象:↙
Select objects:↙
指定拉伸高度或[路径(P)]:400↙
Specify height of extrusion or [Path]:400↙
指定拉伸的倾斜角度<0>:↙
Specify angle of taper for extrusion <0>:↙
(二十五)旋转
修改→旋转(Modify→Rotate)
将楼梯旋转-30°,与亭底对齐,如图17.29所示。
命令:rotate
Command:rotate
UCS 当前的正角方向:ANGDIR=逆时针 ANGBASE=0
Current positive angle in UCS:ANGDIR=counterclockwise ANGBASE=0
选择对象:找到1个
Select objects:1 found
选择对象:↙
Select objects:↙
指定基点:400,0↙
Specify base point:400,0↙
指定旋转角度或[参照(R)]:-30↙
Specify rotation angle or [Reference]:-30↙
(二十六)阵列
修改→阵列(Modify→Array)
在对话框中选环形阵列,指定阵列中心点(0,0),数目为3个,将楼梯阵列3个。
命令:array
Command:array
选择对象:找到1个
Select objects:1 found
选择对象:↙
Select objects:↙
(二十七)删除
修改→删除(Modify→Erase)
删除一个楼梯。
命令:erase
Command:erase
选择对象:找到1个(用鼠标选取楼梯)
Select objects:1 found
选择对象:↙
Select objects:↙
(二十八)镜像
修改→镜像(Modify→Mirror)
再镜像一个亭子。
命令:mirror
Command:mirror
选择对象:all↙

图17.29 对齐楼梯
Select objects:all↙
找到3个
3 found
选择对象:↙
Select objects:↙
指定镜像线的第一点:(捕捉一个角点)
Specify first point of mirror line:
指定镜像线的第二点:(捕捉第二个角点)
Specify second point of mirror line:
是否删除源对象?[是(Y)/否(N)]<N>:↙
Delete source objects?[Yes/No]<N>:↙
(二十九)颜色
格式→颜色(Format→Color)
将颜色设置为绿色。
命令:color
Command:color
(三十)圆柱体
绘图→实体→圆柱体(Draw→Solids→Cylinder)
用圆柱体绘制一个绿色的圆草坪。
命令:cylinder
Command:cylinder
当前线框密度:ISOLINES=4
Current wire frame density:ISOLINES=4
指定圆柱体底面的中心点或[椭圆(E)]<0,0,0>:↙
Specify center point for base of cylinder or [Elliptical]<0,0,0>:↙
指定圆柱体底面的半径或[直径(D)]:2500↙
Specify radius for base of cylinder or [Diameter]:2500↙
指定圆柱体高度或[另一个圆心(C)]:-1↙
Specify height of cylinder or [Center of other Circle]:-1↙
(三十一)着色
视图→着色(View→Shade)
观看各种着色效果。
命令:shademode
Command:shademode
(三十二)存储
文件→保存(File→Save)
命令:qsave
Command:qsave
图17.30~图17.34所示图形可供练习。

图17.30 实物练习图1

图17.31 实物练习图2

图17.32 实物练习图3

图17.33 实物练习图4

图17.34 实物练习图5