00001
00002 [CONSTANTS]
00003
00004 % length of the bar connecting two consecutive triangles
00005 l_in:=8
00006 l_out:=5.596459
00007
00008 % length of the bar connecting odd triangles spared by one triangle
00009 l_nc:=13.189931
00010
00011 % radius of the cylinders representing the bars
00012 rc:=0.05
00013 % radius of the spheres used to decor the extremes of the bars
00014 rs:=0.1
00015
00016 [LINKS]
00017
00018 % Six triangles
00019 t1: body "bodies/triangle.off" yellow
00020
00021 t2: body "bodies/triangle.off" yellow
00022
00023 t3: body "bodies/triangle.off" yellow
00024
00025 t4: body "bodies/triangle.off" yellow
00026
00027 t5: body "bodies/triangle.off" yellow
00028
00029 t6: body "bodies/triangle.off" yellow
00030
00031 % Two bars between adjacent triangles
00032 b_1_2_out: cylinder rc (0,0,0) (l_out,0,0) black
00033 sphere rs (0, 0,0) red
00034 sphere rs (l_out,0,0) red
00035
00036 b_1_2_in: cylinder rc (0,0,0) (l_in,0,0) black
00037 sphere rs (0, 0,0) red
00038 sphere rs (l_in,0,0) red
00039
00040 b_2_3_out: cylinder rc (0,0,0) (l_out,0,0) black
00041 sphere rs (0, 0,0) red
00042 sphere rs (l_out,0,0) red
00043
00044 b_2_3_in: cylinder rc (0,0,0) (l_in,0,0) black
00045 sphere rs (0, 0,0) red
00046 sphere rs (l_in,0,0) red
00047
00048 b_3_4_out: cylinder rc (0,0,0) (l_out,0,0) black
00049 sphere rs (0, 0,0) red
00050 sphere rs (l_out,0,0) red
00051
00052 b_3_4_in: cylinder rc (0,0,0) (l_in,0,0) black
00053 sphere rs (0, 0,0) red
00054 sphere rs (l_in,0,0) red
00055
00056 b_4_5_out: cylinder rc (0,0,0) (l_out,0,0) black
00057 sphere rs (0, 0,0) red
00058 sphere rs (l_out,0,0) red
00059
00060 b_4_5_in: cylinder rc (0,0,0) (l_in,0,0) black
00061 sphere rs (0, 0,0) red
00062 sphere rs (l_in,0,0) red
00063
00064 b_5_6_out: cylinder rc (0,0,0) (l_out,0,0) black
00065 sphere rs (0, 0,0) red
00066 sphere rs (l_out,0,0) red
00067
00068 b_5_6_in: cylinder rc (0,0,0) (l_in,0,0) black
00069 sphere rs (0, 0,0) red
00070 sphere rs (l_in,0,0) red
00071
00072 b_6_1_out: cylinder rc (0,0,0) (l_out,0,0) black
00073 sphere rs (0, 0,0) red
00074 sphere rs (l_out,0,0) red
00075
00076 b_6_1_in: cylinder rc (0,0,0) (l_in,0,0) black
00077 sphere rs (0, 0,0) red
00078 sphere rs (l_in,0,0) red
00079
00080 % These bars do not include spheres since they would overlap with
00081 % the spheres of other bars.
00082 b_1_3: cylinder rc (0,0,0) (l_nc,0,0) black
00083 b_3_5: cylinder rc (0,0,0) (l_nc,0,0) black
00084 b_5_1: cylinder rc (0,0,0) (l_nc,0,0) black
00085
00086 [JOINTS]
00087
00088 % Two bars between adjacent triangles
00089 revolute: t1 1+(0,1,0)
00090 b_1_2_out 0+(0,1,0)
00091 revolute: b_1_2_out 1+(0,1,0)
00092 t2 0+(0,1,0)
00093
00094 revolute: t1 2+(0,1,0)
00095 b_1_2_in 0+(0,1,0)
00096 revolute: b_1_2_in 1+(0,1,0)
00097 t2 2+(0,1,0)
00098
00099 revolute: t2 1+(0,1,0)
00100 b_2_3_out 0+(0,1,0)
00101 revolute: b_2_3_out 1+(0,1,0)
00102 t3 0+(0,1,0)
00103
00104 revolute: t2 2+(0,1,0)
00105 b_2_3_in 0+(0,1,0)
00106 revolute: b_2_3_in 1+(0,1,0)
00107 t3 2+(0,1,0)
00108
00109 revolute: t3 1+(0,1,0)
00110 b_3_4_out 0+(0,1,0)
00111 revolute: b_3_4_out 1+(0,1,0)
00112 t4 0+(0,1,0)
00113
00114 revolute: t3 2+(0,1,0)
00115 b_3_4_in 0+(0,1,0)
00116 revolute: b_3_4_in 1+(0,1,0)
00117 t4 2+(0,1,0)
00118
00119 revolute: t4 1+(0,1,0)
00120 b_4_5_out 0+(0,1,0)
00121 revolute: b_4_5_out 1+(0,1,0)
00122 t5 0+(0,1,0)
00123
00124 revolute: t4 2+(0,1,0)
00125 b_4_5_in 0+(0,1,0)
00126 revolute: b_4_5_in 1+(0,1,0)
00127 t5 2+(0,1,0)
00128
00129 revolute: t5 1+(0,1,0)
00130 b_5_6_out 0+(0,1,0)
00131 revolute: b_5_6_out 1+(0,1,0)
00132 t6 0+(0,1,0)
00133
00134 revolute: t5 2+(0,1,0)
00135 b_5_6_in 0+(0,1,0)
00136 revolute: b_5_6_in 1+(0,1,0)
00137 t6 2+(0,1,0)
00138
00139 revolute: t6 1+(0,1,0)
00140 b_6_1_out 0+(0,1,0)
00141 revolute: b_6_1_out 1+(0,1,0)
00142 t1 0+(0,1,0)
00143
00144 revolute: t6 2+(0,1,0)
00145 b_6_1_in 0+(0,1,0)
00146 revolute: b_6_1_in 1+(0,1,0)
00147 t1 2+(0,1,0)
00148
00149 % The bars between non-adjacent triangles
00150 revolute: t1 1+(0,1,0)
00151 b_1_3 0+(0,1,0)
00152 revolute: b_1_3 1+(0,1,0)
00153 t3 0+(0,1,0)
00154
00155 revolute: t3 1+(0,1,0)
00156 b_3_5 0+(0,1,0)
00157 revolute: b_3_5 1+(0,1,0)
00158 t5 0+(0,1,0)
00159
00160 revolute: t5 1+(0,1,0)
00161 b_5_1 0+(0,1,0)
00162 revolute: b_5_1 1+(0,1,0)
00163 t1 0+(0,1,0)
00164