Wheelie6.world
Go to the documentation of this file.
1 
2 [CONSTANTS]
3 
4 % length of the bar connecting two consecutive triangles
5 l_in:=8
6 l_out:=5.596459
7 
8 % length of the bar connecting odd triangles spared by one triangle
9 l_nc:=13.189931
10 
11 % radius of the cylinders representing the bars
12 rc:=0.05
13 % radius of the spheres used to decor the extremes of the bars
14 rs:=0.1
15 
16 [LINKS]
17 
18 % Six triangles
19 t1: body "bodies/triangle.off" yellow
20 
21 t2: body "bodies/triangle.off" yellow
22 
23 t3: body "bodies/triangle.off" yellow
24 
25 t4: body "bodies/triangle.off" yellow
26 
27 t5: body "bodies/triangle.off" yellow
28 
29 t6: body "bodies/triangle.off" yellow
30 
31 % Two bars between adjacent triangles
32 b_1_2_out: cylinder rc (0,0,0) (l_out,0,0) black
33  sphere rs (0, 0,0) red
34  sphere rs (l_out,0,0) red
35 
36 b_1_2_in: cylinder rc (0,0,0) (l_in,0,0) black
37  sphere rs (0, 0,0) red
38  sphere rs (l_in,0,0) red
39 
40 b_2_3_out: cylinder rc (0,0,0) (l_out,0,0) black
41  sphere rs (0, 0,0) red
42  sphere rs (l_out,0,0) red
43 
44 b_2_3_in: cylinder rc (0,0,0) (l_in,0,0) black
45  sphere rs (0, 0,0) red
46  sphere rs (l_in,0,0) red
47 
48 b_3_4_out: cylinder rc (0,0,0) (l_out,0,0) black
49  sphere rs (0, 0,0) red
50  sphere rs (l_out,0,0) red
51 
52 b_3_4_in: cylinder rc (0,0,0) (l_in,0,0) black
53  sphere rs (0, 0,0) red
54  sphere rs (l_in,0,0) red
55 
56 b_4_5_out: cylinder rc (0,0,0) (l_out,0,0) black
57  sphere rs (0, 0,0) red
58  sphere rs (l_out,0,0) red
59 
60 b_4_5_in: cylinder rc (0,0,0) (l_in,0,0) black
61  sphere rs (0, 0,0) red
62  sphere rs (l_in,0,0) red
63 
64 b_5_6_out: cylinder rc (0,0,0) (l_out,0,0) black
65  sphere rs (0, 0,0) red
66  sphere rs (l_out,0,0) red
67 
68 b_5_6_in: cylinder rc (0,0,0) (l_in,0,0) black
69  sphere rs (0, 0,0) red
70  sphere rs (l_in,0,0) red
71 
72 b_6_1_out: cylinder rc (0,0,0) (l_out,0,0) black
73  sphere rs (0, 0,0) red
74  sphere rs (l_out,0,0) red
75 
76 b_6_1_in: cylinder rc (0,0,0) (l_in,0,0) black
77  sphere rs (0, 0,0) red
78  sphere rs (l_in,0,0) red
79 
80 % These bars do not include spheres since they would overlap with
81 % the spheres of other bars.
82 b_1_3: cylinder rc (0,0,0) (l_nc,0,0) black
83 b_3_5: cylinder rc (0,0,0) (l_nc,0,0) black
84 b_5_1: cylinder rc (0,0,0) (l_nc,0,0) black
85 
86 [JOINTS]
87 
88 % Two bars between adjacent triangles
89 revolute: t1 1+(0,1,0)
90  b_1_2_out 0+(0,1,0)
91 revolute: b_1_2_out 1+(0,1,0)
92  t2 0+(0,1,0)
93 
94 revolute: t1 2+(0,1,0)
95  b_1_2_in 0+(0,1,0)
96 revolute: b_1_2_in 1+(0,1,0)
97  t2 2+(0,1,0)
98 
99 revolute: t2 1+(0,1,0)
100  b_2_3_out 0+(0,1,0)
101 revolute: b_2_3_out 1+(0,1,0)
102  t3 0+(0,1,0)
103 
104 revolute: t2 2+(0,1,0)
105  b_2_3_in 0+(0,1,0)
106 revolute: b_2_3_in 1+(0,1,0)
107  t3 2+(0,1,0)
108 
109 revolute: t3 1+(0,1,0)
110  b_3_4_out 0+(0,1,0)
111 revolute: b_3_4_out 1+(0,1,0)
112  t4 0+(0,1,0)
113 
114 revolute: t3 2+(0,1,0)
115  b_3_4_in 0+(0,1,0)
116 revolute: b_3_4_in 1+(0,1,0)
117  t4 2+(0,1,0)
118 
119 revolute: t4 1+(0,1,0)
120  b_4_5_out 0+(0,1,0)
121 revolute: b_4_5_out 1+(0,1,0)
122  t5 0+(0,1,0)
123 
124 revolute: t4 2+(0,1,0)
125  b_4_5_in 0+(0,1,0)
126 revolute: b_4_5_in 1+(0,1,0)
127  t5 2+(0,1,0)
128 
129 revolute: t5 1+(0,1,0)
130  b_5_6_out 0+(0,1,0)
131 revolute: b_5_6_out 1+(0,1,0)
132  t6 0+(0,1,0)
133 
134 revolute: t5 2+(0,1,0)
135  b_5_6_in 0+(0,1,0)
136 revolute: b_5_6_in 1+(0,1,0)
137  t6 2+(0,1,0)
138 
139 revolute: t6 1+(0,1,0)
140  b_6_1_out 0+(0,1,0)
141 revolute: b_6_1_out 1+(0,1,0)
142  t1 0+(0,1,0)
143 
144 revolute: t6 2+(0,1,0)
145  b_6_1_in 0+(0,1,0)
146 revolute: b_6_1_in 1+(0,1,0)
147  t1 2+(0,1,0)
148 
149 % The bars between non-adjacent triangles
150 revolute: t1 1+(0,1,0)
151  b_1_3 0+(0,1,0)
152 revolute: b_1_3 1+(0,1,0)
153  t3 0+(0,1,0)
154 
155 revolute: t3 1+(0,1,0)
156  b_3_5 0+(0,1,0)
157 revolute: b_3_5 1+(0,1,0)
158  t5 0+(0,1,0)
159 
160 revolute: t5 1+(0,1,0)
161  b_5_1 0+(0,1,0)
162 revolute: b_5_1 1+(0,1,0)
163  t1 0+(0,1,0)
164