I am trying to fold a mesh using engine in kangaroo 2.
Meanwhile, I encounter a few problems. Firstly, two mesh faces didn’t weld properly when I am setting up for hinge component. As a result, when I extract the exterior edge it gave me the interior edge as well. I tried to solve this by isolating the unweld mesh, culling out the interior edge and replacing the path.
Apart from that, after grouping two adjacent mesh faces, some remain non-quadrilateral faces. I tried to solve this by culling out faces that have only 3 segments.
Currently, the maximum number of hinge faces that I can control is 69, anything more than that return an error at the hinge component.
Eventually, the folding behavior is also weird with the values I used in the engine.
Please find the gh code in the attachment.
A3_TLam (question to ask rod).gh (62.5 KB)