Go to the documentation of this file.
5 % Link 1 is a N-C group fixing the loop
17 l1x2:=(l1d5^2-l1d6^2+l1x1^2)/(2*l1x1)
18 l1y2:=sqrt(l1d5^2-l1x2^2)
21 l1x3:=(l1d1^2-l1d2^2+l1x1^2)/(2*l1x1)
22 l1y3:=(l1d2^2-l1d3^2-(l1x3-l1x1)^2+(l1x3-l1x2)^2+l1y2^2)/(2*l1y2)
23 l1z3:=sqrt(l1d1^2-l1x3^2-l1y3^2)
34 l2x2:=(l2d5^2-l2d6^2+l2x1^2)/(2*l2x1)
35 l2y2:=sqrt(l2d5^2-l2x2^2)
47 l3x2:=(l3d5^2-l3d6^2+l3x1^2)/(2*l3x1)
48 l3y2:=sqrt(l3d5^2-l3x2^2)
63 l4x2:=(l4d5^2-l4d6^2+l4x1^2)/(2*l4x1)
64 l4y2:=sqrt(l4d5^2-l4x2^2)
67 l4x3:=(l4d1^2-l4d2^2+l4x1^2)/(2*l4x1)
68 l4y3:=(l4d2^2-l4d3^2-(l4x3-l4x1)^2+(l4x3-l4x2)^2+l4y2^2)/(2*l4y2)
69 l4z3:=sqrt(l4d1^2-l4x3^2-l4y3^2)
80 l5x2:=(l5d5^2-l5d6^2+l5x1^2)/(2*l5x1)
81 l5y2:=sqrt(l5d5^2-l5x2^2)
93 l6x2:=(l6d5^2-l6d6^2+l6x1^2)/(2*l6x1)
94 l6y2:=sqrt(l6d5^2-l6x2^2)
98 % Radious of the spheres representing atoms (0.25% Van der Waals radii)
104 % Radii of the cylinders representing bonds
110 % Colors for the atoms (Carbon/Nitrogen/Sulfur)
126 C1 : sphere rN (0,0,0) color (Nr,Ng,Nb)
127 sphere rC (l1x2,l1y2,l1z2) color (Cr,Cg,Cb)
128 cylinder rCN (0,0,0) (l1x1/2,l1y1/2,l1z1/2) color (Nr,Ng,Nb) decoration
129 cylinder rCC (l1x2,l1y2,l1z2) (l1x2+(l1x3-l1x2)/2,l1y2+(l1y3-l1y2)/2,l1z2+(l1z3-l1z2)/2) color (Cr,Cg,Cb) decoration
131 C2 : sphere rC (0,0,0) color (Cr,Cg,Cb)
132 cylinder rCC (0,0,0) (l2x1/2,l2y1/2,l2z1/2) color (Cr,Cg,Cb) decoration
133 cylinder rCC (0,0,0) (l2x2/2,l2y2/2,l2z2/2) color (Cr,Cg,Cb) decoration
135 C3 : sphere rC (0,0,0) color (Cr,Cg,Cb)
136 cylinder rCC (0,0,0) (l3x1/2,l3y1/2,l3z1/2) color (Cr,Cg,Cb) decoration
137 cylinder rCC (0,0,0) (l3x2/2,l3y2/2,l3z2/2) color (Cr,Cg,Cb) decoration
139 C4 : sphere rS (0,0,0) color (Sr,Sg,Sb)
140 sphere rS (l4x2,l4y2,l4z2) color (Sr,Sg,Sb)
141 cylinder rCS (0,0,0) (l4x1/2,l4y1/2,l4z1/2) color (Sr,Sg,Sb) decoration
142 cylinder rSS (0,0,0) (l4x2,l4y2,l4z2) color (Sr,Sg,Sb) decoration
143 cylinder rCS (l4x2,l4y2,l4z2) (l4x2+(l4x3-l4x2)/2,l4y2+(l4y3-l4y2)/2,l4z2+(l4z3-l4z2)/2) color (Sr,Sg,Sb) decoration
145 C5 : sphere rC (0,0,0) color (Cr,Cg,Cb)
146 cylinder rCC (0,0,0) (l5x1/2,l5y1/2,l5z1/2) color (Cr,Cg,Cb) decoration
147 cylinder rCC (0,0,0) (l5x2/2,l5y2/2,l5z2/2) color (Cr,Cg,Cb) decoration
149 C6 : sphere rC (0,0,0) color (Cr,Cg,Cb)
150 cylinder rCC (0,0,0) (l6x1/2,l6y1/2,l6z1/2) color (Cr,Cg,Cb) decoration
151 cylinder rCC (0,0,0) (l6x2/2,l6y2/2,l6z2/2) color (Cr,Cg,Cb) decoration
155 revolute: C1 (l1x1,l1y1,l1z1) (0,0,0)
156 C2 (0,0,0) (l2x2,l2y2,l2z2)
158 revolute: C2 (l2x1,l2y1,l2z1) (0,0,0)
159 C3 (0,0,0) (l3x2,l3y2,l3z2)
161 revolute: C3 (l3x1,l3y1,l3z1) (0,0,0)
162 C4 (l4x2,l4y2,l4z2) (l4x3,l4y3,l4z3)
164 revolute: C4 (l4x1,l4y1,l4z1) (0,0,0)
165 C5 (0,0,0) (l5x2,l5y2,l5z2)
167 revolute: C5 (l5x1,l5y1,l5z1) (0,0,0)
168 C6 (0,0,0) (l6x2,l6y2,l6z2)
170 revolute: C6 (l6x1,l6y1,l6z1) (0,0,0)
171 C1 (l1x2,l1y2,l1z2) (l1x3,l1y3,l1z3)
|
Follow us!