I'm trying to make precise models of lab glassware to ISO specs and I've noticed that when I create a UV-sphere and look at it's dimensions, they aren't actually equal. The y and z dimensions are according to the specified radius, but the x dimension isn't so it's slightly compressed in the x dimension. Is this expected behaviour? I figured out that if I set the x dimension after creating the UV-Sphere to my desired diameter, then I get the desired result, but if I set it for all of them, then it becomes an ellipsoid.
I create it using a script, so maybe that has something to do with it?
import bpy
ext = 0.66
bpy.ops.mesh.primitive_uv_sphere_add(segments=res, ring_count=ring_count, radius=ext, enter_editmode=False, align='WORLD', location=(0, 0, ext), scale=(1, 1, 1))
bpy.context.object.dimensions[0] = ext*2
x
withbpy.context.object.dimensions[0]
$\endgroup$