Volume Moments Component in Grasshopper

I am interested in determining radius of gyration or moment of inertia around a specific axis for a certain shape.

  • For example, I constructed a simple cube as follows:

  • The radius of gyration depends on the specified axis. However, when I used the VMoments component in Grasshopper, the radius of gyration did not change as I randomly rotateed the cube.

  • Anyone has an idea on how to specify the axis of rotation such that radius of gyration changes accordingly?

Cube.gh (15.6 KB)