VoxelTools grid rotation

I’ve been using your VoxelTools plugin for a week. I was wondering if there was any way to align/rotate the voxel grid? I’m working on a site rn where my building is not aligned perpendicularly with the world coordinate system so my voxel output is skewed. (see pics below)

I tried rotating the VoxCreate output to be aligned with my plot however that and some other tests got me no results.

I want to avoid having to rotate my entire 3D file, is there a way around this?

voxelgridalign.gh (6.1 KB)

Transform the building so it is aligned and then rotate back is one way to do this.


Supplying a rotated plane to the boundingbox will also rotate the voxelgrid, does that solve it for you?