draw_pipes

compas_ghpython.utilities.draw_pipes(pipes, cap=2, fit=1.0)[source]

Draw pipes.

Parameters

pipes (list of dict) – The pipe definitions.

Other Parameters
  • cap ({0, 1, 2}, optional)

  • fit (float, optional)

Returns

list of Rhino.Geometry.Brep

Notes

Schema({
    'points': lambda x: all(len(y) == 3 for y in x),
    'radius': And(Or(int, float), lambda x: x > 0)
})