Duplicate Elements Node
The Duplicate Elements node creates a new geometry with the specified elements from the input duplicated an arbitrary number of times. The positions of elements are not changed, so all of the duplicates will be at the exact same location.
输入
- 几何数据(Geometry)
Standard geometry input.
- 选择
Boolean field that is true for parts of the geometry to be deleted.
- 数量
Field indicating how many times each input element should be duplicated. If the value is zero for an element, it will not be included in the output at all.
属性
- 域
The type of geometry element to duplicate
- 点光
Duplicate the points of meshes, curves, or point clouds. Any other elements will not be included in the output.
- 边
Duplicate mesh edges. Faces will not be included in the output.
- 面
Duplicate mesh faces. Each duplicated face will be separate, in other words they will not share edges with other faces.
- 样条线
Individual curves from the input curves component will be duplicated.
- 实例项
Input top-level instances will be duplicated.
输出
- 几何数据(Geometry)
Standard geometry output.
- Duplicate Index
An attribute field with a value for every output element describing which duplicate of the corresponding input. The value for every input element will start at 0 and increase to Amount - 1.
示例
Combined with the Geometry to Instance Node, this can be used to create a basic efficient "Array" operation. This should be more efficient because the duplicates are instances.
The "Duplicate Index" is used to move each instance in the result a different amount.