Loop In¶
This node in conjunction with the Loop out node can create loops with nodes
Offers two different modes ‘Range’ and ‘For Each’
Range¶
In this mode the all the data inputted to the Loop In node will be processed every iteration.
For Each¶
In this mode the inputted data will be split before being processed and there will be one loop per every level 1 object.
Operators¶
Create Loop Out: creates a Loop out node and links the Loop In - Loop Out socket.
Inputs¶
Iterations: Number of repetitions (only in Range mode).
Data0, Data1… inputs will be created when the last one is linked
Options¶
Max Iterations: Maximum iterations (in N-panel and Contextual Sverchok Menu) Socket Labels: To change sockets names (in N-panel)
Outputs¶
Loop Out: Socket to link with the Loop Out node.
Loop Number / Item Number: Actual Repetition / Item.
Total Loops / Total Items: Total Repetitions / Items.
Data0, Data1… output sockets will be created when the last input is linked
Examples¶
Range mode example, Break used to control the maximum vertices.
Generator-> Box
CA: Faces Area: Analyzers-> Component Analyzer
CAD-> Inset Special
Number-> Random Num Gen
MULT X: Number-> Scalar Math
List->List Main-> List Length
BIG X:Logic-> Logic Functions
Logic-> Logic Functions
For Each mode example, Skip input used to mask the results.
Generator-> Box
Transform-> Noise Displace
CA: Faces Area: Analyzers-> Component Analyzer
BIG X:Logic-> Logic Functions
Logic-> Loop Out
You can change the socket labels in the N-Panel
Generator-> Box
CAD-> Inset Special
CA: Faces Area: Analyzers-> Component Analyzer
CA: Faces Center: Analyzers-> Component Analyzer
Modifiers->Modifier Change-> Smooth Vertices
Number-> Random Num Gen
MUL X Number-> Scalar Math
Vector-> Vector Noise
List->List Main-> List Length
BIG X:Logic-> Logic Functions
Logic-> Loop Out
Viz-> Viewer Draw