def polygon(pnts, wire=False): if wire: return pyservoce.polysegment(points(pnts), True) else: return pyservoce.polygon(points(pnts))
def polysegment(lst, closed=False): return pyservoce.polysegment(points(lst), closed)