Ejemplo n.º 1
0
     aquamarine, azure, beige, bisque, black, blanchedalmond, \
     blue, blueviolet, brown, burlywood, cadetblue, \
     chartreuse, chocolate, coral, cornflowerblue, cornsilk, \
     crimson, cyan, darkblue, darkcyan, darkgoldenrod, \
     orange, purple, deeppink, lightcoral, \
     blue, cyan, mediumslateblue, steelblue, darkcyan, \
     limegreen, darkorchid, tomato, khaki, gold, magenta, green


#define the viewer type dejavu,c4d,blender
ViewerType='c4d'


MSca = 1.0
# Surface:
rSurf1 = Recipe()

## cyl test 1
cyl1Ingr = MultiCylindersIngr(MSca*.001, color=coral, pdb='1CYL',
                             name='SingleCylinder', radii=[[23]],
                              positions=[[[-35,0,0]]], positions2=[[[45,0,0]]],
                              packingPriority=1,
                              principalVector=(1,0,0)
                              )

rSurf1.addIngredient(cyl1Ingr)

cylCoord1 = [ (-35,0,0), (45,0,0),  (45,0,0),    (85, 40, 0),]
cylCoord2 = [ (45,0,0),  (85,40,0), (105, -40,0), (135, 40, 30)]
cylRadii = [25, 20, 16, 16]
Ejemplo n.º 2
0
wrkDir = AutoFill.__path__[0]
from  Pmv import hostappInterface
plgDir = hostappInterface.__path__[0]

from DejaVu.colors import red, aliceblue, antiquewhite, aqua, \
     aquamarine, azure, beige, bisque, black, blanchedalmond, \
     blue, blueviolet, brown, burlywood, cadetblue, \
     chartreuse, chocolate, coral, cornflowerblue, cornsilk, \
     crimson, cyan, darkblue, darkcyan, darkgoldenrod, \
     orange, purple, deeppink, lightcoral, \
     blue, cyan, mediumslateblue, steelblue, darkcyan, \
     limegreen, darkorchid, tomato, khaki, gold, magenta, green

MSca = 18.0
# Surface:
rSurf1 = Recipe()

# outside
ingrOut = MultiSphereIngr( MSca*.001, color=gold, name='out outside',
                           sphereFile=wrkDir+'/recipes/anchor.sph',
                           packingPriority=1,
                           jitterMax=(0.2,1,1),
                           #perturbAxisAmplitude=.9,
                           principalVector=(1,0,0))
rSurf1.addIngredient(ingrOut)


#inside
ingrIn = MultiSphereIngr( MSca*.001, color=chartreuse, name='in  inside',
                           sphereFile=wrkDir+'/recipes/anchor.sph',
                           packingPriority=1,
Ejemplo n.º 3
0
from DejaVu.colors import red, aliceblue, antiquewhite, aqua, \
     aquamarine, azure, beige, bisque, black, blanchedalmond, \
     blue, blueviolet, brown, burlywood, cadetblue, \
     chartreuse, chocolate, coral, cornflowerblue, cornsilk, \
     crimson, cyan, darkblue, darkcyan, darkgoldenrod, \
     orange, purple, deeppink, lightcoral, \
     blue, cyan, mediumslateblue, steelblue, darkcyan, \
     limegreen, darkorchid, tomato, khaki, gold, magenta, green


#define the viewer type dejavu,c4d,blender
ViewerType='c4d'

MSca = 1.0
# Surface:
rSurf1 = Recipe()
ingr1qo1 = MultiSphereIngr( MSca*.0001/3., color=limegreen, pdb='1qo1',
                             name='ATP SYNTHASE',
                             sphereFile=wrkDir+'/recipes/membrane/1qo1.sph',
                             meshFile=wrkDir+'/recipes/membrane/1qo1',
                             packingPriority=1,
                             jitterMax=(1,1,0.2),
                             principalVector=(0,0,-1))#,
                             #packingMode='close')
#Surf1.addIngredient(ingr1qo1)

## cyl test 1
cyl1Ingr = MultiCylindersIngr(MSca*0.1, color=coral, pdb='1CYL',
                             name='SingleCylinder', radii=[[8.]],
                              positions=[[[0,0,0]]], positions2=[[[20,0,0]]],
                              packingPriority=1,
Ejemplo n.º 4
0
from DejaVu.colors import red, aliceblue, antiquewhite, aqua, \
     aquamarine, azure, beige, bisque, black, blanchedalmond, \
     blue, blueviolet, brown, burlywood, cadetblue, \
     chartreuse, chocolate, coral, cornflowerblue, cornsilk, \
     crimson, cyan, darkblue, darkcyan, darkgoldenrod, \
     orange, purple, deeppink, lightcoral, \
     blue, cyan, mediumslateblue, steelblue, darkcyan, \
     limegreen, darkorchid, tomato, khaki, gold, magenta, green


#define the viewer type dejavu,c4d,blender
ViewerType='c4d'

MSca = 1.0
## Surface:
rSurf1 = Recipe()
## cyl test 1
cyl1Ingr = MultiCylindersIngr(2, color=coral, pdb='1CYL',
                             name='SingleCylinder', radii=[[23]],
                              positions=[[[-35,0,0]]], positions2=[[[45,0,0]]],
                              packingPriority=1,
                              principalVector=(1,0,0)
                              )

rSurf1.addIngredient(cyl1Ingr)

cylCoord1 = [ (-35,0,0), (45,0,0),  (45,0,0),    (85, 40, 0),]
cylCoord2 = [ (45,0,0),  (85,40,0), (105, -40,0), (135, 40, 30)]
cylRadii = [25, 20, 16, 16]

cyl4Ingr = MultiCylindersIngr(3, color=aquamarine, pdb='1CYL',
Ejemplo n.º 5
0
from DejaVu.colors import red, aliceblue, antiquewhite, aqua, \
     aquamarine, azure, beige, bisque, black, blanchedalmond, \
     blue, blueviolet, brown, burlywood, cadetblue, \
     chartreuse, chocolate, coral, cornflowerblue, cornsilk, \
     crimson, cyan, darkblue, darkcyan, darkgoldenrod, \
     orange, purple, deeppink, lightcoral, \
     blue, cyan, mediumslateblue, steelblue, darkcyan, \
     limegreen, darkorchid, tomato, khaki, gold, magenta, green


#define the viewer type dejavu,c4d,blender
ViewerType='c4d'

MSca = 1.0
## Surface:
rSurf1 = Recipe()
## cyl test 1
cyl1Ingr = MultiCylindersIngr(2, color=coral, pdb='1CYL',
                             name='SingleCylinder', radii=[[23]],
                              positions=[[[-35,0,0]]], positions2=[[[45,0,0]]],
                              packingPriority=1,
                              principalVector=(1,0,0)
                              )

rSurf1.addIngredient(cyl1Ingr)

cylCoord1 = [ (-35,0,0), (45,0,0),  (45,0,0),    (85, 40, 0),]
cylCoord2 = [ (45,0,0),  (85,40,0), (105, -40,0), (135, 40, 30)]
cylRadii = [25, 20, 16, 16]

cyl4Ingr = MultiCylindersIngr(3, color=aquamarine, pdb='1CYL',
Ejemplo n.º 6
0
#DEJAVU COLORS
from DejaVu.colors import red, aliceblue, antiquewhite, aqua, \
     aquamarine, azure, beige, bisque, black, blanchedalmond, \
     blue, blueviolet, brown, burlywood, cadetblue, \
     chartreuse, chocolate, coral, cornflowerblue, cornsilk, \
     crimson, cyan, darkblue, darkcyan, darkgoldenrod, \
     orange, purple, deeppink, lightcoral, \
     blue, cyan, mediumslateblue, steelblue, darkcyan, \
     limegreen, darkorchid, tomato, khaki, gold, magenta, green

#define the viewer type dejavu,c4d,blender
ViewerType = 'c4d'

MSca = 1.0
# Surface:
rSurf1 = Recipe()

## cyl test 1
cyl1Ingr = MultiCylindersIngr(MSca * .001,
                              color=coral,
                              pdb='1CYL',
                              name='SingleCylinder',
                              radii=[[23]],
                              positions=[[[-35, 0, 0]]],
                              positions2=[[[45, 0, 0]]],
                              packingPriority=1,
                              principalVector=(1, 0, 0))

rSurf1.addIngredient(cyl1Ingr)

cylCoord1 = [
Ejemplo n.º 7
0
wrkDir = AutoFill.__path__[0]
from  Pmv import hostappInterface
plgDir = hostappInterface.__path__[0]

from DejaVu.colors import red, aliceblue, antiquewhite, aqua, \
     aquamarine, azure, beige, bisque, black, blanchedalmond, \
     blue, blueviolet, brown, burlywood, cadetblue, \
     chartreuse, chocolate, coral, cornflowerblue, cornsilk, \
     crimson, cyan, darkblue, darkcyan, darkgoldenrod, \
     orange, purple, deeppink, lightcoral, \
     blue, cyan, mediumslateblue, steelblue, darkcyan, \
     limegreen, darkorchid, tomato, khaki, gold, magenta, green

MSca = 18.0
# Surface:
rSurf1 = Recipe()

# outside
ingrOut = MultiSphereIngr( MSca*.001, color=gold, name='out outside',
                           sphereFile=wrkDir+'/recipes/anchor.sph',
                           packingPriority=1,
                           jitterMax=(0.2,1,1),
                           #perturbAxisAmplitude=.9,
                           principalVector=(1,0,0))
rSurf1.addIngredient(ingrOut)


#inside
ingrIn = MultiSphereIngr( MSca*.001, color=chartreuse, name='in  inside',
                           sphereFile=wrkDir+'/recipes/anchor.sph',
                           packingPriority=1,