I have a grasshopper script that simulates a folding pattern using Kangaroo solver and hinges command.
The Kangaroo command works all good but I am having difficulty finding the right points as folding points.
currently, the folding points that I am giving to Hinge component are not right, therefore, the folded simulation is as follows:
But the final state that I am trying to fold it into is as follows:
I can choose the points manually, but I want to have the code parametric therefore I rather to find the points through the script.
Can anyone help me, please?
here is the grasshopper code:
FoldingSimulatiion.gh (23.3 KB)
Thanks in advance.