Sweep Object
扫描对象
Basic 基础Coord.Object 对象Caps 帽子Selections 选择Sweep Object
扫描对象
The Sweep object requires two or three splines. The first spline, the contour spline, defines the cross section and is swept along the second spline, the path, to create the object. The optional third spline Rail Spline can be used to modify the scale of the contour spline over the object’s length. Alternatively, the function graphs can be used, with which all pertinent Rail Spline functions can be adjusted.
Sweep 对象需要两个或三个样条。第一条样条曲线,即轮廓样条曲线,定义了横截面,并沿着第二条样条曲线,即路径扫描,以创建对象。可选的第三条样条轨道样条可以用来修改轮廓样条的比例超过对象的长度。另外,函数图也可以用来调整所有相关的轨道样条函数。
The contour spline should lie on the local XY plane. 轮廓样条应该位于局部 XY 平面上You can use splines with multiple segments, e.g., you can sweep an entire word along the path.
您可以使用多段样条,例如,您可以沿着路径扫描整个单词。
The contour spline is swept along the path in the direction of the contour’s Z axis. If you are using a planar (two-dimensional) path spline, there are no further considerations. However, the behavior of the sweep is a little more complicated with a non-planar (three-dimensional) path.
等高线样条沿着等高线 z 轴方向的路径扫描。如果您使用的是平面(二维)路径样条,则不需要进一步考虑。然而,对于非平面(三维)路径,扫描的行为稍微复杂一些。
If you enable Banking, the following rules apply: The contour spline is rotated at the start of the path spline so that its X axis is parallel to the average plane of the path spline. The contour is still placed with its Z axis tangential to the path spline. All subsequent contours are placed in such a way that the angle change from start to finish is kept to a minimum. If necessary, the contour is also given a rotation so that the start and end contours meet with closed path splines.
如果启用 Banking,则应用以下规则: 在路径样条的开始处旋转轮廓样条,使其 x 轴平行于路径样条的平均平面。轮廓仍然是放置其 z 轴切线的路径样条。所有随后的轮廓放置在这样的方式,从开始到结束的角度变化是保持在最低限度。如果有必要,轮廓也给予一个旋转,使起始和结束轮廓满足封闭的路径样条。
Banking allows you to use arbitrary 3D paths. However, it is not suitable for a precise sweep since the contours may break up, depending on the path.
银行允许你使用任意的3D 路径。然而,它不适合一个精确的扫描,因为轮廓可能打破,取决于路径。
If the Banking option is disabled, the following applies: the contour spline is rotated for each subdivision so that on the one hand its Z axis is always tangential to the path spline and on the other hand its X axis is parallel to the XZ plane of the path spline. You can use this XZ plane to control the sweep, although you do lose the ability to model loops, since the contour flips over when the path runs vertically.
如果停用 Banking 选项,应用如下: 每次细分轮廓样条都要旋转,这样一方面它的 z 轴总是与路径样条切线相交,另一方面它的 x 轴与路径样条的 XZ 平面平行。您可以使用这个 XZ 平面来控制扫描,虽然您确实失去了建模循环的能力,因为轮廓翻转时,路径垂直运行。
Finally, there is another, much more powerful functionality — you can use a rail spline to control the direction and/or scale of the contour as it runs along the path. The path spline controls the positioning of the subdivisions. Adaptive spline interpolation is usually a good choice since it generates a relatively low number of surfaces. Uniform spline interpolation, on the other hand, is the better choice for animation since the subdivisions will be a uniform distance apart.
最后,还有一个功能强大得多的功能ーー你可以使用轨道样条控制轮廓沿路径的方向和/或比例。路径样条控制细分的定位。自适应样条插值通常是一个不错的选择,因为它生成的表面数量相对较少。另一方面,统一的样条插值是动画更好的选择,因为细分将是一个统一的距离。
![]() |
![]() |
![]() |
![]() |
Troubleshooting tilted contour splines
倾斜轮廓样条故障排除
The most commonly encountered problem when using Sweep object is when the contour spline appears to tilt or flip over for no apparent reason as it runs along the spline. The cause of this is rooted in complex math. We will not concern ourselves with the math here. Instead, take a look at the examples below for the solution.
当使用扫描对象时,最常遇到的问题是轮廓样条似乎倾斜或翻转,没有明显的原因,因为它沿着样条运行。其根源在于复杂的数学。我们不关心这里的数学问题。相反,看看下面的例子来找到解决方案。
Figure 1. demonstrates the typical problem: the contour spline suddenly changes direction. In Figure 2., the Banking option has been enabled, only partially solving the problem by tilting the spline as it travels along the path.
图1。演示了典型的问题: 轮廓样条突然改变方向。图2。,银行选项已启用,只有部分解决问题的倾斜样条,因为它沿着路径旅行。
Figures 3. and 4. represent alternative solutions to the problem. In Figure 3., the X and Y measurements for the contour have been swapped around and Banking has been enabled. Figure 4. demonstrates how you can overcome the problem using a rail spline — there’s no need to enable Banking in this case.
图3。及4。代表问题的替代解决方案。图3。时,轮廓的 x 和 y 测量已交换周围和银行业已启用。图4。演示了如何使用轨道样条来克服这个问题ー在这种情况下不需要启用 Banking。