RhinoScript Unroll loses following geometry

I have noticed a potential bug with the RhinoScript unroll surface, both the rhinoscriptsyntax and RhinoCommon version. I discovered this as one of the tools I have made for my team uses unroll surface and it was reported to me that on some surfaces, points were being lost. The command line ‘UnrollSrf’ works fine, it just appears to be something with the scripting side.

I have created a test script with the aid of Claude that reproduces the problem I am seeing. Python file and a screenshot of its output below.

unroller_drops_points_test.py (7.7 KB)

Let me know if I am missing something here.

Hi @Liam_Phillips,

This is fixed in Rhino 9.1. With a current Rhino 9 build, your script returns all points and dots for both surface orientations.

In Rhino 8, your workaround is the way to go: unroll the surface a second time with only the points and dots, and keep those results.

– Dale