getbbox_size(0) returning completely wrong dimensions

   367   3   2
User Avatar
Member
5 posts
Joined: May 2015
Offline
trying to work out orientation of a plane in a for loop, getbbox_size giving me a size of 5 for a completely flat ZY plane

even if I move it back to i still get the wrong size. No other primitives there, so strange!


Attachments:
sd.png (1.1 MB)
prims.png (950.9 KB)

User Avatar
Member
2155 posts
Joined: Sept. 2015
Offline
Why do you say it's the wrong size?
No one can tell by just a screen shot since if the bottom of your grid(y-axis) is not even with world grid,
it will make it seem like a different length visually because of the perspective.

Post your hip.
User Avatar
Member
284 posts
Joined: Feb. 2016
Offline
That's floating point notation, 5.07832e-5 is 0.0000507832 or rather a really small number.
It's a precision issue, not much you can do about that.
User Avatar
Member
5 posts
Joined: May 2015
Offline
kept looking at the 5 and didn't even notice the e-5 - now I feel dumb!
  • Quick Links