shapelib/core.py
def tube(points, diam, wallwidth=0.05, begin='closed', end='flat'):
    """
    create a tube.

    A tube is a set of two parallel lines, where the edges are either
    closed (curved), open, or flat
    """
    l = linestr(*points)
    return linestr_to_tube(l, diam=diam, wallwidth=wallwidth, begin=begin, end=end)

    create a tube.

    A tube is a set of two parallel lines, where the edges are either
    closed (curved), open, or flat
    
create a tube.
A tube is a set of two parallel lines, where the edges are either
closed (curved), open, or flat
create a tube . A tube is a set of two parallel lines where the edges are either closed ( curved ) open or flat
def tube(points, diam, wallwidth=0.05, begin='closed', end='flat'):
    l = linestr(*points)
    return linestr_to_tube(l, diam=diam, wallwidth=wallwidth, begin=begin, end=end)
def tube ( points , diam , wallwidth = 0.05 , begin = 'closed' , end = 'flat' ) : l = linestr ( * points ) return linestr_to_tube ( l , diam = diam , wallwidth = wallwidth , begin = begin , end = end )
create a tube.
create a tube .
"""
    create a tube.

    A tube is a set of two parallel lines, where the edges are either
    closed (curved), open, or flat
    """
points
diam
wallwidth
begin
end