i am trying to convert a compas box into rhino object.As i use the ‘box_to_rhino’, it does not work, while the feedback is ‘ModuleNotFoundError: No module named ‘Rhino’’.
Should I install rhinoceros software or rhinocommon?
Here below is my python code
from compas.geometry import Box
from compas_rhino.conversions import box_to_rhino
box = Box.from_corner_corner_height([1,1,0],[0,0,0],3)
rhino_box=box_to_rhino(box)
Thank you for your reply!
Do you mean the code should be run in Rhino software environment, if i want to use any command of compas_rhion? Actually, I want to covnert a compas object to 3dm fomart to edit or export.
yes, code using compas_rhino should be run in Rhino. if the goal is to create an object with COMPAS and edit it with Rhino, you can do as i wrote above and use an artist to “convert”.