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?
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.
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.