def create_sphere(rows=10, cols=10, depth=10, radius=1.0, offset=True, subdivisions=3, method='latitude'):
 if (method == 'latitude'):
  return _latitude(rows, cols, radius, offset)
 elif (method == 'ico'):
  return _ico(radius, subdivisions)
 elif (method == 'cube'):
  return _cube(rows, cols, depth, radius)
 else:
  raise Exception("Invalid method. Accepts: 'latitude', 'ico', 'cube'")

def create_sphere ( rows = 10 , cols = 10 , depth = 10 , radius = 1.0 , offset = True , subdivisions = 3 , method = 'latitude' ) : if ( method == 'latitude' ) : return _latitude ( rows , cols , radius , offset ) elif ( method == 'ico' ) : return _ico ( radius , subdivisions ) elif ( method == 'cube' ) : return _cube ( rows , cols , depth , radius ) else : raise Exception ( "Invalid method. Accepts: 'latitude', 'ico', 'cube'" )
create a sphere parameters rows : int number of rows .