Unroller that works correctly on a consistent basis

I had posted this into the main Grasshopper forum but have not found a fix.
I have not been able to get consistent accurate results from any of the allowed unrollers, or a python unroller that was suggested.

With the Python unroller, in certain situations when it errors, the correct result can be obtained by increasing the tolerance, but in other situations where it errors, the tolerance has to be decreased to get the correct result.
On each situation where the unroll errors, if i bake the surface and unroll in rhino, i get the correct result.

This is preventing me from finalizing a definition in Shapediver that we can then embed with their API into a website.


unroll error.gh (5.6 KB)
image

There seems to be a problem with the original surface and it needs some cleaning. Just run the surface through the Rebuild Surface component from Pufferfish before you unroll it and you get desired result.

unroll error SD.gh (21.8 KB)

1 Like

Thank you Pavol.
I will try using the rebuild as per your suggestion.