Exemplo n.º 1
0
class FromPsCheck:
    def __init__(self, fromPs):
        self.fromPs = fromPs
        self.importDrawingCheck = ImportDrawingCheck(ImportDrawing(self.fromPs.testInfo))

    def psCurrentImageCheck(self, nPanels):
        self.importDrawingCheck.importPanelsCheck('psd', nPanels, [], False)

    # def psMasterImageCheck(self):
    #     self.importDrawingCheck.importPanelsCheck('psd', 1, [], False)

    def psReplaceImageCheck(self):
        self.importDrawingCheck.importPanelsCheck('psd', 1, [], False, replace=1)

    def psEachFrameCheck(self, nFrames):
        self.importDrawingCheck.importPanelsCheck('psd', nFrames, [], False)

    def psEachLayerCheck(self, nLayers):
        self.importDrawingCheck.importPanelsCheck('psd', nLayers, [], False)

    def psEachLayerCompCheck(self, nLayerComps):
        self.importDrawingCheck.importPanelsCheck('psd', nLayerComps, [], False)
Exemplo n.º 2
0
 def __init__(self, fromPs):
     self.fromPs = fromPs
     self.importDrawingCheck = ImportDrawingCheck(ImportDrawing(self.fromPs.testInfo))