
4.2 对齐和扭曲工具
在Rhino中,对齐和扭曲是比较常用的变动工具,用于对模型进行造型设计变换。
4.2.1 对齐
该工具的功能是将所选物件对齐。单击并按住【变动】标签中的【对齐】按钮不放,将弹出【对齐】工具列,如图4-49所示。
1.向上对齐
选择全部需要对齐的物件,单击【向上对齐】按钮,则物件将以最上面的物件的上边沿为参考进行对齐,如图4-50所示。

图4-49 【对齐】工具列

图4-50 向上对齐
2.向下对齐
选择全部需要对齐的物件,单击【向下对齐】按钮,则物件将以最下面的物件的下边沿为参考进行对齐,如图4-51所示。

图4-51 向下对齐
3.向左对齐
选择全部需要对齐的物件,单击【向左对齐】按钮,则物件将以最左面的物件的左边沿为参考进行对齐,如图4-52所示。

图4-52 向左对齐
4.向右对齐
选择全部需要对齐的物件,单击【向右对齐】按钮,则物件将以最右面的物件的右边沿为参考进行对齐,如图4-53所示。

图4-53 向右对齐
5.水平置中
选择全部需要对齐的物件,单击【水平置中】按钮,则物件将以所有物件位置的水平中心线为参考进行对齐,如图4-54所示。

图4-54 水平置中
6.垂直置中
选择全部需要对齐的物件,单击【垂直置中】按钮,则物件将以所有物件位置的垂直中心线为参考进行对齐,如图4-55所示。

图4-55 垂直置中
7.双向置中
选择全部需要对齐的物件,单击【双向置中】按钮,则物件将以所有物件位置的水平中心线和垂直中心线为参考分别进行对齐,如图4-56所示。

图4-56 双向置中
技术要点:双向置中只是水平置中与垂直置中的组合,并不是将所有物体的中心移到一点。
如果是执行【对齐】命令而非其子命令,则选择所需对齐物件后,命令行中会有如下提示。

其中的各选项可通过输入对应字母或鼠标单击的方式进行选择,结果和单击工具列中相应的工具按钮一致。
4.2.2 扭转
该工具的功能是对物件进行扭转变形。
动手操作——扭转
01新建Rhino文件。
02在菜单栏中执行【圆】|【中心点、半径】命令,在Top视窗中建立3个两两相切的圆,如图4-57所示。

图4-57 创建3个圆
03在Right视窗中坐标系原点绘制Z轴方向直线,如图4-58所示。此直线作为扭转轴参考。
04在菜单栏中执行【实体】|【挤出平面曲线】|【直线】命令,创建挤出实体,如图4-59所示。

图4-58 绘制直线

图4-59 创建挤出实体
05单击【变动】标签中的【扭转】按钮,然后选中3个挤出曲面物件,按Enter键确认。
06选择直线的两个端点,分别作为扭转轴的参考起点和终点,如图4-60所示。

图4-60 选择扭转轴的参考起点和终点
07指定扭转的第一参考点或第二参考点,如图4-61所示。

图4-61 扭转第一参考点和扭转第二参考点
08旋转结束后右击结束操作。扭曲效果如图4-62所示。

图4-62 扭曲效果
4.2.3 弯曲
该工具的功能是对物件进行弯曲变形。
动手操作——弯曲
01新建Rhino文件。
02在视窗中建立一个圆柱体,如图4-63所示。

图4-63 创建圆柱体
03单击【弯曲】按钮,然后选中物件,按Enter键确认。
04在物件上选择一点作为骨干起点,选择另一点作为骨干终点,如图4-64所示。

图4-64 指定弯曲的骨干起点与终点
05物件会随着光标的移动进行不同程度的弯曲,在所需要位置单击鼠标左键即可结束操作,如图4-65所示。

图4-65 完成弯曲