Loop Carried Value
循环进行值
Basic 基础Inputs 投入Outputs 产出
Loop Carried Value
循环进行值
This Node can be used to execute complex loop configurations that use different variables and data types. This
is also the main difference to the Range Node, which simply outputs a continuous
series of integer values. With this Node you can implement multiple Nodes directly like a group and perform
calculations within a loop and also output intermediate steps. To do so, open the Node by clicking on the
Folder symbol at the top of the Node.
此 Node 可用于执行使用不同变量和数据类型的复杂循环配置。这也是 Range Node 的主要区别,Range Node 只输出一系列连续的整数值。使用这个 Node,您可以像实现一个组那样直接实现多个 Node,并在循环中执行计算,还可以输出中间步骤。为此,请单击“节点”顶部的“文件夹”符号打开“节点”。
This is a more complex example. At the top
half of the image you can see how a cube is transformed into a simple chain link via Extrude Inner,
Extrude, deletion of surfaces, optimization and finally subdivision and smoothing. The bottom half of
the expression runs through a loop in order to generate the desired number of chain links. A Loop
Carried Value Node was used to make the position of each chain link dependet on the previous chain
link. The contents of this Node can be seen in the following image. 这是一个更复杂的例子。在图片的上半部分,你可以看到一个立方体是如何通过挤压内部,挤压,删除表面,优化,最后细分和平滑变成一个简单的链环。表达式的下半部分通过一个循环运行,以生成所需的链环数。使用循环附带值节点使每个链环的位置依赖于前一个链环。这个节点的内容可以在下图中看到
|
|
The primary structure consists of connections of
the previous variables with the outputs of the next variables. In the expression range in-between, these
values can be modified as desired. In this expression, for example, a complete circular rotation is divided by
the number of chain links in order to ascertain a rotational angle. The X axis of each chain link points in
the direction of the previous chain link. Furthermore, every second chain link id angled 90° in order to
create the typical chain look, as can be seen in the following image. 主结构由前面的变量和后面的变量的输出之间的连接组成。在介于两者之间的表达式范围内,可以根据需要修改这些值。例如,在这个表达式中,为了确定一个旋转角,一个完整的圆周旋转除以链条的数目。每个链条的 x 轴指向前一个链条的方向。此外,为了创建典型的链条外观,每一个第二个链环都呈90 ° 角,如下图所示
Here you can see the result of the expressions. A
simple circular chain of parametric chain links is generated. 在这里你可以看到表达式的结果。一个简单的参数链环链是生成的