Hi everyone,
A bit of a curious one for you today. I’ve never used ‘sets’ in gh before, so I was tinkering around seeing if they could improve any workflow or script design.
In this example I’ve taken a curve, divided into points, used Cull Nth to remove every Nth point to do something with, the idea being I could use Set Difference to grab the culled items to do something else with.
I applied the same logic to the outputs of Divide: Points, Tangents, and Parameters.
However as you can see, the Tangents output is shorter than the rest.
I realise in this example that I could use something like Cull pattern with 15 trues to 1 false, invert and have the result I want. I’m trying to understand why I might use Sets, and why there is a difference between Points/Parameters and Tangents.
Thanks in advance,
Luke
Set Difference - Tangent count.gh (17.8 KB)