Exemplo n.º 1
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_PRESENTATION_STEP, 'Presentation')
     self.params = coPresentationStepParams()
     # walk throgh all keys (assuming own key is last in list)
     for key in range(self.key):
         obj = globalKeyHandler().getObject(key)
         if obj:
             if objIsRelevant(obj):
                 self.params.status[key] = CopyParams(obj.params)
Exemplo n.º 2
0
    def __init__(self):
        coKeydObject.__init__(self, TYPE_TRACKING_MGR, 'Tracking Manager')
        globalKeyHandler().globalTrackingMgrKey = self.key
        self.params = coTrackingMgrParams()
        self.name = self.params.name

        self.__readButtonConfig()
        self.__setupTimeout()
        self.sendParamsToCover()
Exemplo n.º 3
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_PRESENTATION_STEP, 'Presentation')
     self.params = coPresentationStepParams()
     # walk throgh all keys (assuming own key is last in list)
     for key in range(self.key):
         obj = globalKeyHandler().getObject(key)
         if obj:
             if objIsRelevant(obj):
                 self.params.status[key] = CopyParams(obj.params)
Exemplo n.º 4
0
    def __init__(self):
        #only for saving (has to be before coKeydObject.recreate because the KeyHandler will be deleted)
        self.__keyHandler = globalKeyHandler(None, True)

        coKeydObject.__init__(self, TYPE_PROJECT, 'Project')

        self.params = coProjectMgrParams()
        self.name = self.params.name

        # new projects already have latest coprj file format -> overwrite default coprjVersion=0
        self.params.coprjVersion = coprjVersion.version
        self.params.originalCoprjVersion = coprjVersion.version
Exemplo n.º 5
0
    def __init__(self):
        #only for saving (has to be before coKeydObject.recreate because the KeyHandler will be deleted)
        self.__keyHandler = globalKeyHandler(None, True)

        coKeydObject.__init__(self, TYPE_PROJECT, 'Project')

        self.params = coProjectMgrParams()
        self.name = self.params.name

        # new projects already have latest coprj file format -> overwrite default coprjVersion=0
        self.params.coprjVersion = coprjVersion.version
        self.params.originalCoprjVersion = coprjVersion.version
Exemplo n.º 6
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_CASE, 'case')
     self.params = coCaseMgrParams()
     self.group2d = None
Exemplo n.º 7
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_COLOR_TABLE, 'ColorTable')
     self.params = coColorTableParams()
     self.__initColorMapsFromConfig()
Exemplo n.º 8
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_GENERIC_OBJECT_MGR, 'GenericObjectMgr')
     globalKeyHandler().globalGenericObjectMgrKey = self.key
     self.params = coGenericObjectMgrParams()
Exemplo n.º 9
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_3D_PART, '3D')
     self.params = co3DPartMgrParams()
     self.name = self.params.name
     self.redFactor = False
Exemplo n.º 10
0
 def __init__(self):
     _infoer.function = str(self.__init__)
     coKeydObject.__init__(self, TYPE_2D_COMPOSED_PART, '2D')
     self.params = co2DComposedPartMgrParams()
     self.importModule = None
Exemplo n.º 11
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_CAD_PRODUCT, 'TYPE_CAD_PRODUCT')
     self.params = coCADMgrParams()
     self.receivedParts = False
     self.partList = []
Exemplo n.º 12
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_COLOR_TABLE, 'ColorTable')
     self.params = coColorTableParams()
     self.__initColorMapsFromConfig()
Exemplo n.º 13
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_JOURNAL_STEP, 'JournalStep')
     self.params = coJournalStepParams()
Exemplo n.º 14
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_GENERIC_OBJECT, 'coGenericObject')
     self.params = coGenericObjectParams()
Exemplo n.º 15
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_GENERIC_OBJECT, 'coGenericObject')
     self.params = coGenericObjectParams()
Exemplo n.º 16
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_GENERIC_OBJECT_MGR,
                           'GenericObjectMgr')
     globalKeyHandler().globalGenericObjectMgrKey = self.key
     self.params = coGenericObjectMgrParams()
Exemplo n.º 17
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_PRESENTATION, 'Presentation')
     self.params = coPresentationMgrParams()
     self.name = self.params.name
Exemplo n.º 18
0
 def __init__(self, typeNr, name='VisItem'):
     coKeydObject.__init__(self, typeNr, name)
     self.__init()
     self.importModule = None
Exemplo n.º 19
0
 def __init__(self, typeNr, dimension):
     coKeydObject.__init__(self, typeNr, 'group')
     self.params = coGroupMgrParams()
     self.name = self.params.name
     self.dimension = dimension
Exemplo n.º 20
0
 def __init__(self, typeNr, dimension):
     coKeydObject.__init__(self, typeNr, 'group')
     self.params = coGroupMgrParams()
     self.name = self.params.name
     self.dimension = dimension
Exemplo n.º 21
0
 def __init__(self):
     _infoer.function = str(self.__init__)
     coKeydObject.__init__(self, TYPE_2D_CUTGEOMETRY_PART, '2D')
     self.params = co2DCutGeometryPartMgrParams()
     self.importModule = None
Exemplo n.º 22
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_COLOR_MGR, 'ColorMgr')
     self.params = coColorMgrParams()
Exemplo n.º 23
0
 def __init__(self):
     _infoer.function = str(self.__init__)
     coKeydObject.__init__(self, TYPE_2D_CUTGEOMETRY_PART, '2D')
     self.params = co2DCutGeometryPartMgrParams()
     self.importModule = None
Exemplo n.º 24
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_PRESENTATION, 'Presentation')
     self.params = coPresentationMgrParams()
     self.name = self.params.name
Exemplo n.º 25
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_JOURNAL, 'Journal')
     globalKeyHandler().globalJournalMgrKey = self.key
     self.params = coJournalMgrParams()
     self.name = self.params.name
Exemplo n.º 26
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_CAD_PART, 'CAD_PART')
     self.params = coCADPartMgrParams()
     self.importModule = None
Exemplo n.º 27
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_CAD_PART, 'CAD_PART')
     self.params = coCADPartMgrParams()
     self.importModule = None
Exemplo n.º 28
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_3D_PART, '3D')
     self.params = co3DPartMgrParams()
     self.name = self.params.name
     self.redFactor = False
Exemplo n.º 29
0
 def __init__(self, typeNr, name='VisItem' ):
     coKeydObject.__init__(self, typeNr, name)
     self.__init()
     self.importModule = None
Exemplo n.º 30
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_JOURNAL_STEP, 'JournalStep')
     self.params = coJournalStepParams()
Exemplo n.º 31
0
 def __init__(self):
     _infoer.function = str(self.__init__)
     coKeydObject.__init__(self, TYPE_2D_COMPOSED_PART, '2D')
     self.params = co2DComposedPartMgrParams()
     self.importModule = None
Exemplo n.º 32
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_JOURNAL, 'Journal')
     globalKeyHandler().globalJournalMgrKey = self.key
     self.params = coJournalMgrParams()
     self.name = self.params.name
Exemplo n.º 33
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_CAD_PRODUCT, 'TYPE_CAD_PRODUCT')
     self.params = coCADMgrParams()
     self.receivedParts = False
     self.partList = []
Exemplo n.º 34
0
 def __init__(self):
     coKeydObject.__init__(self, TYPE_COLOR_MGR, 'ColorMgr')
     self.params = coColorMgrParams()