Create Ellipsoid with input I use to define of a sphere to draw an ellipsoidale, for the case of a sphere:
bpy.ops.mesh.primitive_uv_sphere_add(size = size, location = location)

For the case of an ellipsoidale, I created in this menu:

I use the lines:
bpy.ops.mesh.primitive_uv_sphere_add(radius_a = self.mesh.getRadius(), radius_b = self.mesh.getRadius(), radius_c = self.mesh.getRadius(), location = loc, segments = res*2, ring_count = res)


class Ellipsoid(particle) :
    &quot;&quot;&quot;
    Ellipsoid mesh class
    &quot;&quot;&quot;
    def __init__(self, radius_a, radius_b, radius_c) :
        &quot;&quot;&quot; radius_a (int), radius_b (int), radius_c (int) &quot;&quot;&quot;
        self.radius_a = radius_a
        self.radius_b = radius_b
        self.radius_c = radius_c

But the problem is displayed that there is an error in the ellipsoidal definition.
Can you help me to define the ellipsoidale with input of the 3 dimensions
If you want to create an ellipsoid, just create a sphere, scale it up or down (based on the sliders), then apply the scale