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