UnrollSrf in C++

Hi,

I would like to unroll a surface(single brep face with holes in it). It is single curved so no deformation should happen. I would appreciate an advice or short code tip on how to do this. I see that there is a CRhinoUnroll Class but I am not sure how to use it.

Thanks!
Milos

Perhaps this sample helps. It is in RhinoCommon .NET SDK

Here is a C++ sample you might find helpful.

https://github.com/mcneel/Rhino5Samples_CPP/blob/master/SampleCommands/cmdSampleUnrollSurface.cpp

Thanks a lot! I will try it out.

On the first glimpse I see that in the .NET example you can unroll points and curves by “adding” them to the unrolling geometry…that seems very useful. Is that possible in C++?

Of course. See rhinoSdkUnrollSrf.h for details.