I wrote a compas extension with conversion functions between COMPAS objects and RhinoGeometry objects. The plan is to add Blender support and expand the conversions offered in the Rhino part.
There’s not only functions like frame_to_rhino_plane
but also a universal function compas_convert.convert
which matches the input object to available converters and picks the one best suited (see the README.md
for some more details).
There’s a Grasshopper component included that uses the universal converter as well.
Hope this helps save some copypasting
Install with pip install compas_convert
, I’ll set up a conda package soon!