jpcad/Sketch.py
2011-03-25 15:42:12 -04:00

12 lines
246 B
Python

class Sketch(object):
def __init__(self):
self.shapes = []
self.constraints = []
def __iter__(self):
return self.shapes.__iter__()
def __contains__(self, item):
return self.shapes.__contains__(item)