im trying to unroll a tree of double curved surfaces, within grasshopper, the only command that seems to be helpful is smash, because even though its results work with pretty high tolerances. i dont mind having a surface that would have to be stretched to have the same area/ edge length as the original one.
my problem is that i cannot find the smash command on rhinocommons to plug it in a python component. am i missing something in rhino commons? is there a better way to unroll double curved surfaces, within loose tolerances? any help is welcome
In RhinoCommon that’s the Rhino.Geometry.Unroller class. Smash’s distinguishing behavior (unrolling even non-developable surfaces) is controlled through the tolerance settings on that class rather than a separate entry point.
The Unroller.RelativeTolerance doc says it directly: the surface must be linear within length * RelativeTolerance to be treated as developable, “otherwise smash will ignore that tolerance and unroll anything.”
So to replicate Smash via RhinoCommon:
Create a Unroller from your surface or brep.
Set RelativeTolerance (and AbsoluteTolerance) loosely / effectively force it to unroll regardless of developability.