open all | close all

Range

范围

Basic 基础Inputs 投入Outputs 产出

Range

范围

This Node offers the functions of a program loop available and corresponds, for example, to a for in range() Python structure in its functionality. Two integer numeric values have to be defined and output digit for digit. Note that the End value itself does not count among the output values.

这个 Node 提供了可用的程序循环函数,并且在其功能上与 for in range () Python 结构相对应。必须为数字定义两个整数数值和输出数字。注意,End 值本身不计入输出值中。

Loops, as with the Range Node, are always helpful if a result should be calculated in multiple steps. In this example, the output values are, for example, simply multiplied and re-used as components of a position. This way, the cube can be multiplied to create a staircase. 与 Range Node 一样,如果一个结果需要分多个步骤计算,那么循环总是有帮助的。例如,在本例中,输出值被简单地相乘并重复使用作为位置的组件。这样,立方体可以被乘以来创建一个楼梯