Using the Honeybee Rotate Component

Hi All,

I am trying to figure out how to use the HB rotate component. Everything is working except setting the axis. The documentation says I need to input a Vector3d representing the axis of rotation. Does anyone know what component(s) I would need to plug in to the axis input to change the axis of rotation?

Thanks!

Hey @julian108 ,

If you just want to rotate everything in the XY plane (around the Z axis), then you don’t need to put in anything for the _axis_. Maybe you just want to change the _origin_ of the point around which you are rotating.

Otherwise, if you want to rotate things to be outside of the XY plane, you will need to plug in a Vector. Grasshopper comes natively with components that create an X-Axis or Y-Axis unit vector. More custom vectors can be set with the native Grasshopper Vector parameters component.

Hi Chris,

Thanks for your help. Without a vector plugged into the axis, the rotation works fine. I tried plugging in the X-axis and Y-axis unit vectors as well as many other grasshopper vector components and I always the get the same error: “Solution exception: expected float, got point 3D”. Attached is a screenshot of the error and setup.

Hi @julian108 ,

Ah, that’s a bug. This has been fixed in the development version of the LBT plugin for some time now:

You can get the fix on your end if you run the LB Versioner component and it will also be in the upcoming LBT 1.5 release.

Thanks Chris- that solved my problem. I have another related question, but I will ask it in a separate thread.

1 Like