draw_spheres

compas_ghpython.utilities.draw_spheres(spheres)[source]

Draw spheres.

Parameters

spheres (list of dict) – The sphere definitions.

Returns

list[Rhino.Geometry.Sphere]

Notes

Schema({
    'pos': lambda x: len(x) == 3,
    'radius': And(Or(int, float), lambda x: x > 0)
})