Hello guys
I have a for loop with a bunch of nodes in it for creating curves.
but I need each curve to look at the merged result of the previous iteration and check if there are more shared points than a threshold or not and if yes, delete this created curve and move on to the next iteration.
I need you geniuses to help me how I can get this data.
for this example, copying the Block Begin node and setting it to "fetch feedback" doesn't work because It returns just the last iteration result not the merged result to that point.
thank you in advance
Foor loop, acsess the Nth 'merge' iteration
1331 3 0- MirHadi
- Member
- 147 posts
- Joined: 7月 2015
- Offline
- MirHadi
- Member
- 147 posts
- Joined: 7月 2015
- Offline
- tamte
- Member
- 8772 posts
- Joined: 7月 2007
- Offline
keep your Block End set to By Pieces Or Points, but change Method to Feedback Each Iteration
then keep your Block Begin set to Extract Piece Or Point
but create another Block Begin set to Fetch Feedback, this one will bring back your previous iteration
then either pass data from Fetch Feedback directly to output to skip this iteration or merge with result of this iteration before output which will behave like Merge Each Iteration Gather input
here is a simple example that compares the current piece with geo of all previously merged iterations and if it intersects it will skip (pass previous iter) otherwise merge in the new piece
then keep your Block Begin set to Extract Piece Or Point
but create another Block Begin set to Fetch Feedback, this one will bring back your previous iteration
then either pass data from Fetch Feedback directly to output to skip this iteration or merge with result of this iteration before output which will behave like Merge Each Iteration Gather input
here is a simple example that compares the current piece with geo of all previously merged iterations and if it intersects it will skip (pass previous iter) otherwise merge in the new piece
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- MirHadi
- Member
- 147 posts
- Joined: 7月 2015
- Offline
-
- Quick Links