Exemple #1
0
def restoreRemainder():
    from SimpleSession.versions.v65 import (
        restoreFontInfo,
        restoreModelClip,
        restoreOpenModelsAttrs,
        restoreOpenStates,
        restoreSelections,
        restoreSilhouettes,
        restoreWindowSize,
    )

    curSelIds = []
    savedSels = []
    openModelsAttrs = {"cofrMethod": 4}
    windowSize = (888, 678)
    xformMap = {
        0: (
            (
                (-0.035831583629827, 0.99807456861732, -0.050628579813384),
                89.214908418703,
            ),
            (3.0382954392039, -0.039825362408825, -2.9354095863633),
            True,
        )
    }
    fontInfo = {"face": ("Sans Serif", "Normal", 16)}
    clipPlaneInfo = {}
    silhouettes = {0: True, 270: True}

    replyobj.status("Restoring window...", blankAfter=0, secondary=True)
    restoreWindowSize(windowSize)
    replyobj.status("Restoring open states...", blankAfter=0, secondary=True)
    restoreOpenStates(xformMap)
    replyobj.status("Restoring font info...", blankAfter=0, secondary=True)
    restoreFontInfo(fontInfo)
    replyobj.status("Restoring selections...", blankAfter=0, secondary=True)
    restoreSelections(curSelIds, savedSels)
    replyobj.status("Restoring openModel attributes...",
                    blankAfter=0,
                    secondary=True)
    restoreOpenModelsAttrs(openModelsAttrs)
    replyobj.status("Restoring model clipping...",
                    blankAfter=0,
                    secondary=True)
    restoreModelClip(clipPlaneInfo)
    replyobj.status("Restoring per-model silhouettes...",
                    blankAfter=0,
                    secondary=True)
    restoreSilhouettes(silhouettes)

    replyobj.status("Restoring remaining extension info...",
                    blankAfter=0,
                    secondary=True)
Exemple #2
0
def restoreRemainder():
    from SimpleSession.versions.v65 import (
        restoreWindowSize,
        restoreOpenStates,
        restoreSelections,
        restoreFontInfo,
        restoreOpenModelsAttrs,
        restoreModelClip,
        restoreSilhouettes,
    )

    curSelIds = []
    savedSels = []
    openModelsAttrs = {"cofrMethod": 4}
    windowSize = (888, 678)
    xformMap = {
        0: (
            ((-0.11624158307307, -0.87318323267119, 0.47332751509558),
             18.779158484753),
            (0.50892550362133, -0.03438019354708, 0.061560056363412),
            True,
        )
    }
    fontInfo = {"face": ("Sans Serif", "Normal", 16)}
    clipPlaneInfo = {}
    silhouettes = {0: True, 264: True, 265: True}

    replyobj.status("Restoring window...", blankAfter=0, secondary=True)
    restoreWindowSize(windowSize)
    replyobj.status("Restoring open states...", blankAfter=0, secondary=True)
    restoreOpenStates(xformMap)
    replyobj.status("Restoring font info...", blankAfter=0, secondary=True)
    restoreFontInfo(fontInfo)
    replyobj.status("Restoring selections...", blankAfter=0, secondary=True)
    restoreSelections(curSelIds, savedSels)
    replyobj.status("Restoring openModel attributes...",
                    blankAfter=0,
                    secondary=True)
    restoreOpenModelsAttrs(openModelsAttrs)
    replyobj.status("Restoring model clipping...",
                    blankAfter=0,
                    secondary=True)
    restoreModelClip(clipPlaneInfo)
    replyobj.status("Restoring per-model silhouettes...",
                    blankAfter=0,
                    secondary=True)
    restoreSilhouettes(silhouettes)

    replyobj.status("Restoring remaining extension info...",
                    blankAfter=0,
                    secondary=True)
Exemple #3
0
def restoreRemainder():
    from SimpleSession.versions.v65 import restoreWindowSize, \
         restoreOpenStates, restoreSelections, restoreFontInfo, \
         restoreOpenModelsAttrs, restoreModelClip, restoreSilhouettes

    curSelIds = []
    savedSels = []
    openModelsAttrs = {'cofrMethod': 0}
    from chimera import Point
    openModelsAttrs['cofr'] = Point(-2.32628, -0.573985, 3.59536)
    windowSize = (1864, 872)
    xformMap = {
        0: (((0.24085045920787, -0.88643853394015, -0.39524395231983),
             31.611106929862), (-5.2556544062118, 0.24110915283208,
                                5.6843595710697), True),
        1: (((-0.21724896247622, -0.52207222470775, 0.82476874364376),
             155.76893615651), (-1.2842808932621, 1.6062919677941,
                                4.0957949649428), True),
        2: (((0.28162879842346, -0.039178497638975, 0.95872324746056),
             66.883398971617), (-0.868129924858, -1.6236021110072,
                                -3.4048091153303), True)
    }
    fontInfo = {'face': ('Sans Serif', 'Normal', 16)}
    clipPlaneInfo = {}
    silhouettes = {0: True, 1: True, 2: True, 41: True}

    replyobj.status("Restoring window...", blankAfter=0, secondary=True)
    restoreWindowSize(windowSize)
    replyobj.status("Restoring open states...", blankAfter=0, secondary=True)
    restoreOpenStates(xformMap)
    replyobj.status("Restoring font info...", blankAfter=0, secondary=True)
    restoreFontInfo(fontInfo)
    replyobj.status("Restoring selections...", blankAfter=0, secondary=True)
    restoreSelections(curSelIds, savedSels)
    replyobj.status("Restoring openModel attributes...",
                    blankAfter=0,
                    secondary=True)
    restoreOpenModelsAttrs(openModelsAttrs)
    replyobj.status("Restoring model clipping...",
                    blankAfter=0,
                    secondary=True)
    restoreModelClip(clipPlaneInfo)
    replyobj.status("Restoring per-model silhouettes...",
                    blankAfter=0,
                    secondary=True)
    restoreSilhouettes(silhouettes)

    replyobj.status("Restoring remaining extension info...",
                    blankAfter=0,
                    secondary=True)
Exemple #4
0
def restoreRemainder():
    from SimpleSession.versions.v65 import restoreWindowSize, \
         restoreOpenStates, restoreSelections, restoreFontInfo, \
         restoreOpenModelsAttrs, restoreModelClip, restoreSilhouettes

    curSelIds = []
    savedSels = []
    openModelsAttrs = {'cofrMethod': 4}
    windowSize = (1007, 831)
    xformMap = {
        0: (((-0.46560320491151, 0.83113298065088, -0.30402569636548),
             71.810897199969), (-8.0073385672252, -4.7404999850896,
                                6.9815513769962), True),
        1: (((-0.53079441682714, 0.74454127528215, -0.40486488667995),
             64.051503316534), (0.65338768073829, -0.29300568496615,
                                7.6865179071593), True)
    }
    fontInfo = {'face': ('Sans Serif', 'Normal', 16)}
    clipPlaneInfo = {}
    silhouettes = {0: True, 1: True, 260: True}

    replyobj.status("Restoring window...", blankAfter=0, secondary=True)
    restoreWindowSize(windowSize)
    replyobj.status("Restoring open states...", blankAfter=0, secondary=True)
    restoreOpenStates(xformMap)
    replyobj.status("Restoring font info...", blankAfter=0, secondary=True)
    restoreFontInfo(fontInfo)
    replyobj.status("Restoring selections...", blankAfter=0, secondary=True)
    restoreSelections(curSelIds, savedSels)
    replyobj.status("Restoring openModel attributes...",
                    blankAfter=0,
                    secondary=True)
    restoreOpenModelsAttrs(openModelsAttrs)
    replyobj.status("Restoring model clipping...",
                    blankAfter=0,
                    secondary=True)
    restoreModelClip(clipPlaneInfo)
    replyobj.status("Restoring per-model silhouettes...",
                    blankAfter=0,
                    secondary=True)
    restoreSilhouettes(silhouettes)

    replyobj.status("Restoring remaining extension info...",
                    blankAfter=0,
                    secondary=True)
def restoreRemainder():
    from SimpleSession.versions.v65 import restoreWindowSize, \
         restoreOpenStates, restoreSelections, restoreFontInfo, \
         restoreOpenModelsAttrs, restoreModelClip, restoreSilhouettes

    curSelIds = []
    savedSels = []
    openModelsAttrs = {'cofrMethod': 4}
    windowSize = (1414, 1201)
    xformMap = {
        0: (((0.16664287571865, -0.98495102912909, -0.045843453074275),
             175.93880605514), (-0.20712954455289, -0.19178520767831,
                                12.94311677131), True),
        1: (((0.16700821376824, -0.9848900174521, -0.045824775582005),
             175.93451559455), (27.15853775123, -14.516613398096,
                                42.221352170629), True)
    }
    fontInfo = {'face': ('Sans Serif', 'Normal', 16)}
    clipPlaneInfo = {}
    silhouettes = {0: True, 1: True, 530: True}

    replyobj.status("Restoring window...", blankAfter=0, secondary=True)
    restoreWindowSize(windowSize)
    replyobj.status("Restoring open states...", blankAfter=0, secondary=True)
    restoreOpenStates(xformMap)
    replyobj.status("Restoring font info...", blankAfter=0, secondary=True)
    restoreFontInfo(fontInfo)
    replyobj.status("Restoring selections...", blankAfter=0, secondary=True)
    restoreSelections(curSelIds, savedSels)
    replyobj.status("Restoring openModel attributes...",
                    blankAfter=0,
                    secondary=True)
    restoreOpenModelsAttrs(openModelsAttrs)
    replyobj.status("Restoring model clipping...",
                    blankAfter=0,
                    secondary=True)
    restoreModelClip(clipPlaneInfo)
    replyobj.status("Restoring per-model silhouettes...",
                    blankAfter=0,
                    secondary=True)
    restoreSilhouettes(silhouettes)

    replyobj.status("Restoring remaining extension info...",
                    blankAfter=0,
                    secondary=True)
def restoreRemainder():
    from SimpleSession.versions.v65 import restoreWindowSize, \
         restoreOpenStates, restoreSelections, restoreFontInfo, \
         restoreOpenModelsAttrs, restoreModelClip, restoreSilhouettes

    curSelIds = []
    savedSels = []
    openModelsAttrs = {'cofrMethod': 4}
    windowSize = (1414, 1201)
    xformMap = {
        0: (((0.73839102906353, 0.11257174740301, 0.66491073828382),
             0.037643491021789), (21.150615242816, 20.643226026659,
                                  33.062776639553), True),
        1: (((0, 0, 1), 0), (0, 0, 0), True)
    }
    fontInfo = {'face': ('Sans Serif', 'Normal', 16)}
    clipPlaneInfo = {}
    silhouettes = {0: True, 1: True, 618: True}

    replyobj.status("Restoring window...", blankAfter=0, secondary=True)
    restoreWindowSize(windowSize)
    replyobj.status("Restoring open states...", blankAfter=0, secondary=True)
    restoreOpenStates(xformMap)
    replyobj.status("Restoring font info...", blankAfter=0, secondary=True)
    restoreFontInfo(fontInfo)
    replyobj.status("Restoring selections...", blankAfter=0, secondary=True)
    restoreSelections(curSelIds, savedSels)
    replyobj.status("Restoring openModel attributes...",
                    blankAfter=0,
                    secondary=True)
    restoreOpenModelsAttrs(openModelsAttrs)
    replyobj.status("Restoring model clipping...",
                    blankAfter=0,
                    secondary=True)
    restoreModelClip(clipPlaneInfo)
    replyobj.status("Restoring per-model silhouettes...",
                    blankAfter=0,
                    secondary=True)
    restoreSilhouettes(silhouettes)

    replyobj.status("Restoring remaining extension info...",
                    blankAfter=0,
                    secondary=True)
def restoreRemainder():
    from SimpleSession.versions.v65 import restoreWindowSize, \
         restoreOpenStates, restoreSelections, restoreFontInfo, \
         restoreOpenModelsAttrs, restoreModelClip, restoreSilhouettes

    curSelIds = []
    savedSels = []
    openModelsAttrs = {'cofrMethod': 4}
    windowSize = (1007, 831)
    xformMap = {
        0: (((-0.40316560742266, 0.88341604946458, -0.23881703569871),
             65.779607196638), (-6.9111333244389, -1.0220903251563,
                                7.8002263788571), True)
    }
    fontInfo = {'face': ('Sans Serif', 'Normal', 16)}
    clipPlaneInfo = {}
    silhouettes = {0: True, 130: True}

    replyobj.status("Restoring window...", blankAfter=0, secondary=True)
    restoreWindowSize(windowSize)
    replyobj.status("Restoring open states...", blankAfter=0, secondary=True)
    restoreOpenStates(xformMap)
    replyobj.status("Restoring font info...", blankAfter=0, secondary=True)
    restoreFontInfo(fontInfo)
    replyobj.status("Restoring selections...", blankAfter=0, secondary=True)
    restoreSelections(curSelIds, savedSels)
    replyobj.status("Restoring openModel attributes...",
                    blankAfter=0,
                    secondary=True)
    restoreOpenModelsAttrs(openModelsAttrs)
    replyobj.status("Restoring model clipping...",
                    blankAfter=0,
                    secondary=True)
    restoreModelClip(clipPlaneInfo)
    replyobj.status("Restoring per-model silhouettes...",
                    blankAfter=0,
                    secondary=True)
    restoreSilhouettes(silhouettes)

    replyobj.status("Restoring remaining extension info...",
                    blankAfter=0,
                    secondary=True)
Exemple #8
0
def restoreRemainder():
	from SimpleSession.versions.v65 import restoreWindowSize, \
	     restoreOpenStates, restoreSelections, restoreFontInfo, \
	     restoreOpenModelsAttrs, restoreModelClip, restoreSilhouettes

	curSelIds =  []
	savedSels = []
	openModelsAttrs = { 'cofrMethod': 2 }
	windowSize = (1024, 781)
	xformMap = {0: (((-0.34821455627968, 0.82726846257295, 0.44087811652103), 9.9995089373332), (0.0076537672682732, 0.0083331466146478, -0.0095913043915013), False), 1: (((-0.99040907112338, 0.13815836179107, 0.0014624991412663), 109.62935189875), (8.9189222591104, -0.045770457294621, -0.032931556893357), False), 2: (((-0.20080631594196, -0.92498261478313, 0.32262049815036), 18.985788096111), (17.497129733092, -0.68455407611151, -0.47980035902674), False), 3: (((0.99205523056863, 0.020289399059421, -0.12415619109504), 170.88474103051), (-0.1169711633136, -8.6869766220186, 0.11207397706245), True), 4: (((0.23529125830917, 0.94204993508282, 0.23912328112031), 96.859237242746), (8.9195514371968, -9.2219927891895, -0.28512231169757), False), 5: (((0.73008849334292, 0.68289739957367, 0.024938595465521), 170.41609346508), (18.067194686271, -9.1650094893277, -1.4626137937459), False)}
	fontInfo = {'face': (u'Sans Serif', 'Bold', 12)}
	clipPlaneInfo = {}
	silhouettes = {0: True, 1: True, 2: True, 3: True, 4: True, 5: True, 294: True, 289: True, 323: True, 322: True, 290: True, 291: True, 292: True, 293: True}

	replyobj.status("Restoring window...", blankAfter=0,
		secondary=True)
	restoreWindowSize(windowSize)
	replyobj.status("Restoring open states...", blankAfter=0,
		secondary=True)
	restoreOpenStates(xformMap)
	replyobj.status("Restoring font info...", blankAfter=0,
		secondary=True)
	restoreFontInfo(fontInfo)
	replyobj.status("Restoring selections...", blankAfter=0,
		secondary=True)
	restoreSelections(curSelIds, savedSels)
	replyobj.status("Restoring openModel attributes...", blankAfter=0,
		secondary=True)
	restoreOpenModelsAttrs(openModelsAttrs)
	replyobj.status("Restoring model clipping...", blankAfter=0,
		secondary=True)
	restoreModelClip(clipPlaneInfo)
	replyobj.status("Restoring per-model silhouettes...", blankAfter=0,
		secondary=True)
	restoreSilhouettes(silhouettes)

	replyobj.status("Restoring remaining extension info...", blankAfter=0,
		secondary=True)
def restoreRemainder():
	from SimpleSession.versions.v65 import restoreWindowSize, \
	     restoreOpenStates, restoreSelections, restoreFontInfo, \
	     restoreOpenModelsAttrs, restoreModelClip, restoreSilhouettes

	curSelIds =  []
	savedSels = []
	openModelsAttrs = { 'cofrMethod': 4 }
	windowSize = (793, 666)
	xformMap = {0: (((-0.52041645859533, 0.67699980720708, -0.52042095525129), 111.80131286623), (-2.3007505694797, -9.9163081182259e-05, 2.5297859831222), True), 1: (((-0.91376829449117, 0.28724307500647, 0.28726106565895), 95.15769061869), (0.33650598678976, -2.0926138449201, 2.4337332158848), True)}
	fontInfo = {'face': ('Sans Serif', 'Normal', 16)}
	clipPlaneInfo = {}
	silhouettes = {0: True, 1: True, 478: True, 479: True}

	replyobj.status("Restoring window...", blankAfter=0,
		secondary=True)
	restoreWindowSize(windowSize)
	replyobj.status("Restoring open states...", blankAfter=0,
		secondary=True)
	restoreOpenStates(xformMap)
	replyobj.status("Restoring font info...", blankAfter=0,
		secondary=True)
	restoreFontInfo(fontInfo)
	replyobj.status("Restoring selections...", blankAfter=0,
		secondary=True)
	restoreSelections(curSelIds, savedSels)
	replyobj.status("Restoring openModel attributes...", blankAfter=0,
		secondary=True)
	restoreOpenModelsAttrs(openModelsAttrs)
	replyobj.status("Restoring model clipping...", blankAfter=0,
		secondary=True)
	restoreModelClip(clipPlaneInfo)
	replyobj.status("Restoring per-model silhouettes...", blankAfter=0,
		secondary=True)
	restoreSilhouettes(silhouettes)

	replyobj.status("Restoring remaining extension info...", blankAfter=0,
		secondary=True)
Exemple #10
0
def restoreRemainder():
    from SimpleSession.versions.v65 import restoreWindowSize, \
         restoreOpenStates, restoreSelections, restoreFontInfo, \
         restoreOpenModelsAttrs, restoreModelClip, restoreSilhouettes

    curSelIds = []
    savedSels = []
    openModelsAttrs = {'cofrMethod': 4}
    windowSize = (904, 945)
    xformMap = {
        0: (((-0.18614921762158, 0.25844186963174, 0.94792207949816),
             114.30009998269), (72.982139339236, -23.280282315404,
                                21.107007696256), True),
        1: (((-0.18614921762158, 0.25844186963174, 0.94792207949816),
             114.30009998269), (72.982139339236, -23.280282315404,
                                21.107007696256), True),
        2: (((-0.18614921762158, 0.25844186963174, 0.94792207949816),
             114.30009998269), (72.982139339236, -23.280282315404,
                                21.107007696256), True),
        3: (((-0.18614921762158, 0.25844186963174, 0.94792207949816),
             114.30009998269), (72.982139339236, -23.280282315404,
                                21.107007696256), True),
        4: (((-0.18614921762158, 0.25844186963174, 0.94792207949816),
             114.30009998269), (72.982139339236, -23.280282315404,
                                21.107007696256), True),
        5: (((-0.18614921762158, 0.25844186963174, 0.94792207949816),
             114.30009998269), (72.982139339236, -23.280282315404,
                                21.107007696256), True)
    }
    fontInfo = {'face': ('Fixed', 'Bold', 30)}
    clipPlaneInfo = {}
    silhouettes = {
        0: True,
        1: True,
        2: True,
        3: True,
        4: True,
        5: True,
        374: True
    }

    replyobj.status("Restoring window...", blankAfter=0, secondary=True)
    restoreWindowSize(windowSize)
    replyobj.status("Restoring open states...", blankAfter=0, secondary=True)
    restoreOpenStates(xformMap)
    replyobj.status("Restoring font info...", blankAfter=0, secondary=True)
    restoreFontInfo(fontInfo)
    replyobj.status("Restoring selections...", blankAfter=0, secondary=True)
    restoreSelections(curSelIds, savedSels)
    replyobj.status("Restoring openModel attributes...",
                    blankAfter=0,
                    secondary=True)
    restoreOpenModelsAttrs(openModelsAttrs)
    replyobj.status("Restoring model clipping...",
                    blankAfter=0,
                    secondary=True)
    restoreModelClip(clipPlaneInfo)
    replyobj.status("Restoring per-model silhouettes...",
                    blankAfter=0,
                    secondary=True)
    restoreSilhouettes(silhouettes)

    replyobj.status("Restoring remaining extension info...",
                    blankAfter=0,
                    secondary=True)
Exemple #11
0
def restoreRemainder():
    from SimpleSession.versions.v65 import restoreWindowSize, \
         restoreOpenStates, restoreSelections, restoreFontInfo, \
         restoreOpenModelsAttrs, restoreModelClip, restoreSilhouettes

    curSelIds = []
    savedSels = []
    openModelsAttrs = {'cofrMethod': 0}
    from chimera import Point
    openModelsAttrs['cofr'] = Point(54.1036, 9.4266, 4.26939)
    windowSize = (904, 945)
    xformMap = {
        0: (((-0.30580948052178, 0.30245992253846, 0.90277270499336),
             116.52999621315), (75.916893346571, -22.475613343026,
                                33.625921716357), True),
        1: (((-0.30580948052178, 0.30245992253846, 0.90277270499336),
             116.52999621315), (75.916893346571, -22.475613343026,
                                33.625921716357), True),
        2: (((-0.30580948052178, 0.30245992253846, 0.90277270499336),
             116.52999621315), (75.916893346571, -22.475613343026,
                                33.625921716357), True),
        3: (((-0.30580948052178, 0.30245992253846, 0.90277270499336),
             116.52999621315), (75.916893346571, -22.475613343026,
                                33.625921716357), True),
        4: (((-0.30580948052178, 0.30245992253846, 0.90277270499336),
             116.52999621315), (75.916893346571, -22.475613343026,
                                33.625921716357), True),
        5: (((-0.30580948052178, 0.30245992253846, 0.90277270499336),
             116.52999621315), (75.916893346571, -22.475613343026,
                                33.625921716357), True)
    }
    fontInfo = {'face': (u'Fixed', u'Bold', 24)}
    clipPlaneInfo = {}
    silhouettes = {
        0: True,
        1: True,
        2: True,
        3: True,
        4: True,
        5: True,
        374: True
    }

    replyobj.status("Restoring window...", blankAfter=0, secondary=True)
    restoreWindowSize(windowSize)
    replyobj.status("Restoring open states...", blankAfter=0, secondary=True)
    restoreOpenStates(xformMap)
    replyobj.status("Restoring font info...", blankAfter=0, secondary=True)
    restoreFontInfo(fontInfo)
    replyobj.status("Restoring selections...", blankAfter=0, secondary=True)
    restoreSelections(curSelIds, savedSels)
    replyobj.status("Restoring openModel attributes...",
                    blankAfter=0,
                    secondary=True)
    restoreOpenModelsAttrs(openModelsAttrs)
    replyobj.status("Restoring model clipping...",
                    blankAfter=0,
                    secondary=True)
    restoreModelClip(clipPlaneInfo)
    replyobj.status("Restoring per-model silhouettes...",
                    blankAfter=0,
                    secondary=True)
    restoreSilhouettes(silhouettes)

    replyobj.status("Restoring remaining extension info...",
                    blankAfter=0,
                    secondary=True)