# # A Project consists of Parts. # A Part consists of instructions in a Language. # A Part can be sent to a Device. # A Device has a Language. # A Device uses a Tool. # A Tool is designed for one or more Materials. # Some Tools may have parameters. # Some Languages can be converted to other Languages via the Translate method. # class Material: pass class Tool: def __init__(self): pass def __conform__(self, protocol): if protocol is sqlite3.PrepareProtocol: return "%f;%f" class Device: pass class Project: pass class Part: pass class Language: def Translate(To, Code): pass