Exemplo n.º 1
0
 def get_sphere(self, **kwargs):
     """
     Returns a sphere with the passed **kwargs
     as properties.
     Parameters
     ----------
     **kwargs
         Some valid kwargs are:
             Any param of a Sphere or ParametricSurface.
     
     Returns
     -------
     Sphere
         The sphere object.
     """
     config = merge_dicts_recursively(self.sphere_config, kwargs)
     return Sphere(**config)
Exemplo n.º 2
0
 def get_sphere(self, **kwargs):
     config = merge_dicts_recursively(self.sphere_config, kwargs)
     return Sphere(**config)
Exemplo n.º 3
0
 def get_sphere(self, **kwargs):
     config = merge_config([kwargs, self.sphere_config])
     return Sphere(**config)