draw_cylinders

compas_ghpython.utilities.draw_cylinders(cylinders, cap=False)[source]

Draw cylinders.

Parameters

cylinders (list of dict) – The cylinder definitions.

Other Parameters

cap (bool, optional) – Default is False.

Returns

list of Rhino.Geometry.Cylinder

Notes

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