Convert Vec3() to integer?

Python docet. Great piece of code.
Thank you!