prism.tens
Go to the documentation of this file.
1 
2 [CONSTANTS]
3 
4  % length, stiffness, and force of the struts (stiffness is negative for struts)
5  ls := sqrt(2)
6  ss := -0.303965613370022
7  min_ls := 0.7*ls
8  max_ls := 1.3*ls
9 
10  % nominal length, maximal length, stiffness, and rest of the cables in the base and in the platform
11  lc1 := 0.896575472168053
12  sc1 := 0.175494628703572
13  fc1 := lc1*sc1
14  min_fc1 := 0
15  max_fc1 := 3*fc1
16  max_cl1 := 2*lc1
17 
18  % nominal length, maximal length, stiffness and rest of the cables connecting the base and the platform
19  lc2 := 1.035276180410085
20  max_cl2 := 3*lc2
21  sc2 := 0.303965613370022
22 
23  % min cable length
24  min_cl := 0.01
25 
26 [STRUCTURE]
27 
28  prismatic s1 : n1 n2
29  length [min_ls,max_ls]
30  stiffness ss
31 
32  prismatic s2 : n3 n4
33  length [min_ls,max_ls]
34  stiffness ss
35 
36  prismatic s3 : n5 n6
37  length [min_ls,max_ls]
38  stiffness ss
39 
40  spring c1: n2 n4
41  length [min_cl,max_cl1]
42  stiffness sc1
43 
44  spring c2: n4 n6
45  length [min_cl,max_cl1]
46  stiffness sc1
47 
48  spring c3: n2 n6
49  length [min_cl,max_cl1]
50  stiffness sc1
51 
52  spring c4: n1 n6
53  length [min_cl,max_cl2]
54  stiffness sc2
55 
56  spring c5: n2 n3
57  length [min_cl,max_cl2]
58  stiffness sc2
59 
60  spring c6: n4 n5
61  length [min_cl,max_cl2]
62  stiffness sc2
63 
64 [FIXED POINTS]
65  % Fix the position of the bottom nodes
66  n1=(0,0,0)
67  n3=(lc1,0,0)
68  n5=(lc1*cos(pi/3),lc1*sin(pi/3),0)
69 
70 [FORCES]
71  /* remove the bottom nodes from force equilibrium equations */
72  no null force: n1,n3,n5
73 
74 [OBSTACLES]
75 
76  plane: box (-1,-1,-0.05)+(3,3,0.025) green
77  anchor1: sphere 0.025 (0,0,-0.025) red
78  anchor2: sphere 0.025 (lc1,0,-0.025) red
79  anchor3: sphere 0.025 (lc1*cos(pi/3),lc1*sin(pi/3),-0.025) red
80  obs1: box (0.75,0.25,0.5)+(0.25,0.15,0.25) red
81 
82 [COLLISIONS]
83 
84  do not check: all
85 
86  % check the possible collision of 'obs1' with any
87  % part of the structure
88  % Comment this line to skip collision detection
89  check: obs1
90 
160