Have in mind that if you run a PS like K2 against a crap/invalid/non manifold etc etc mesh (and/or a collection of “wrong” points etc etc) … chances are that you’ll get a crap result. Same for your goals. PS is kinda martial Arts: finesse and not brute force is the secret.
Have in mind that hinges are defined via classic mesh connectivity … meaning that an invalid mesh (and/or a mesh that yields faulty connectivity data) could yield bananas IGoals.
Other than that the good news are that you can do anything imaginable including a vast variety of checks with regard the mesh (is it valid? and if not why? etc etc) … but … er … in my case I work solely via code: this is either Nirvana (you know how to code) or Hell (you don’t).
In the Image captured above (the “big” C#) everything is controlled and since the K2 runs via a Method (in user defined loops, threshold values blah, blah) it’s easy to mastermind an “auto-tune” loop for better approximating the desired results. Obviously bending using hinges is a fine ballance between hinge related stuff, plastic anchors stuff and spring related stuff. Not using negative bending in some (clothed) edges makes things … worse.
So … here’s the deal: if no good Samaritan could provide a solution with K2 242 components I could post here a 100% C# driven def … but the benefit could be highly questionable if you are not familiar with code matters.