TweenSurface

Hi,
I was wondering if there is a way to if there is a way to generate a surface tween using RhinoCommon (other than calling _TweenSurfaces from the plugin). I searched in the documentation but I only found out curve tweens. I would like to avoid re-implementing the algorithm in my code, as the rhino version is surely more stable and tested.

Thanks !

Hi Alberto,

RhinoCommon does not contain a function equivalent to the TweenSurfaces command. I’ve added your request to the wish list.

http://mcneel.myjetbrains.com/youtrack/issue/RH-35494

For the time being, you might be able to script the TweenSurface command using RhinoApp.RunScript().

http://developer.rhino3d.com/guides/rhinocommon/run_rhino_command_from_plugin/

– Dale

Thanks Dale,
sounds cool to have it in the future! I will reimplement it in my code for the time being because I need to have manipulate further the Brep in the code.

Alberto

Just to follow this up, I created a simple script as a prototype to generate the tween surface by sampling. Attaching it here, if anyone needs it.

cmd_tweensurface.py (2.3 KB)

RH-35494 is fixed in Rhino 8 Service Release 14