getbbox_size(0) returning completely wrong dimensions
367
3
2
mchaloner
Member
5 posts
Joined: May 2015
Offline
Oct. 20, 2025 4:59 a.m.
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)
BabaJ
Member
2155 posts
Joined: Sept. 2015
Offline
Oct. 20, 2025 11:16 a.m.
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.
AslakKS
Member
284 posts
Joined: Feb. 2016
Offline
Oct. 20, 2025 11:17 a.m.
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.
mchaloner
Member
5 posts
Joined: May 2015
Offline
Oct. 20, 2025 12:02 p.m.
kept looking at the 5 and didn't even notice the e-5 - now I feel dumb!