-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlink3D-help.pd
57 lines (57 loc) · 2.23 KB
/
link3D-help.pd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#N canvas 118 233 636 714 10;
#X text 260 13 link between 2 masses;
#X text 136 593 1 : force to apply to mass 1 (float);
#X text 165 564 2 : force to apply to mass 2 (float);
#X text 226 68 1 : name;
#X msg 105 125 setL 0;
#X msg 105 154 setK 0;
#X msg 105 184 setD 0;
#X msg 104 214 setD2 0;
#X msg 104 270 bang;
#X msg 106 300 reset;
#X msg 105 326 resetF;
#X msg 105 350 resetL;
#X msg 104 374 setLmin 0;
#X text 227 185 4 : Damping of the link deformation;
#X text 227 214 5 : Damping of the masses speed;
#X msg 104 424 setLmax 10000;
#X text 251 84 you can use it in pd to send messages / bang / etc to the lia. this is for simplifying connection.;
#X text 227 510 position of mass 2;
#X obj 36 538 link3D;
#X obj 67 565 unpack s f f f;
#X obj 36 593 unpack s f f f;
#X msg 104 475 setM 1;
#X text 227 122 2 : Length;
#X text 226 153 3 : Rigidity;
#X text 250 134 changes Length of the link;
#X text 249 166 changes rigidity;
#X text 230 238 changes position of mass 1;
#X text 229 266 computes and outputs forces \, according to the last masses positions;
#X text 226 297 resets position of masses and sets speed of the link to zero;
#X text 226 324 resets damping and inertial force of the link.;
#X text 228 371 sets the minimum size of the link;
#X text 227 351 sets the length of the link to its current length;
#X text 228 383 if the size of the link is < Lmin then the force of the link will be null;
#X text 229 424 sets the maximum size of the link;
#X text 228 437 if the size of the link is > Lmax then the force of the link will be null;
#X text 227 472 change muscle force : a muscle can change the link size (link size = muscle * length);
#X text 117 650 this object is a 3D version of link. more example can be find in the link help;
#X text 230 37 lia3D : get position of masses \, output force.;
#X msg 58 239 position3D 0 0 0;
#X msg 67 511 position3D 0 0 0;
#X text 159 607 forces depend of the physicals properties of the link;
#X connect 4 0 18 0;
#X connect 5 0 18 0;
#X connect 6 0 18 0;
#X connect 7 0 18 0;
#X connect 8 0 18 0;
#X connect 9 0 18 0;
#X connect 10 0 18 0;
#X connect 11 0 18 0;
#X connect 12 0 18 0;
#X connect 15 0 18 0;
#X connect 18 0 20 0;
#X connect 18 1 19 0;
#X connect 21 0 18 0;
#X connect 38 0 18 0;
#X connect 39 0 18 1;