blob: aa1d8990bad4358732a6ec8c03f039c2a1f5fbad (
plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
#N canvas 0 0 743 844 10;
#X obj 17 9 cnv 15 610 305 empty empty CREATION 20 12 0 14 -262131
-66577 0;
#X msg 34 38 reset;
#X text 204 69 Add a mass;
#X text 290 70 \$1 : Id (symbol);
#X text 289 90 \$2 : fixed or mobile (0/1);
#X text 289 108 \$3 : mass;
#X text 289 146 \$1 : Id (symbol);
#X text 201 146 Add a link;
#X text 288 166 \$2 : creation No of mass1;
#X text 288 184 \$3 : creation No of mass2;
#X text 287 202 \$4 : rigidity;
#X text 206 39 Delete all masses and links;
#X text 287 220 \$5 : viscosity;
#X text 287 237 \$6 : damping;
#X obj 17 319 cnv 15 610 60 empty empty COMPUTATION 20 12 0 14 -261689
-66577 0;
#X msg 37 348 bang;
#X text 190 348 Compute new masses positions;
#X obj 16 383 cnv 15 610 220 empty empty DYNAMIC_SETTING 20 12 0 14
-262131 -66577 0;
#X msg 124 405 setD \$1 \$2;
#X text 309 423 \$1 : Id (symbol);
#X text 309 441 \$2 : New value;
#X msg 42 405 setK \$1 \$2;
#X text 305 477 \$1 : Id (symbol);
#X text 305 495 \$2 : New value;
#X text 353 532 \$1 : Id (symbol);
#X text 353 550 \$2 : New value;
#X msg 42 457 posX \$1 \$2;
#X text 305 459 Set position of mass(es);
#X text 352 515 Add force on mass(es);
#X msg 40 516 forceX \$1 \$2;
#X msg 210 405 setD2 \$1 \$2;
#X text 309 405 Set rigidity \, viscosity or damping of link(s);
#X obj 15 612 cnv 15 610 198 empty empty GET_ATTRIBUTES 20 12 0 14
-261689 -66577 0;
#X msg 101 639 massePosL;
#X msg 101 667 masseForcesL;
#X text 202 639 output all masses positions in a list on outlet No
1;
#X text 201 668 output all masses forces in a list on outlet No 1;
#X msg 100 705 get \$1 \$2;
#X text 203 706 Get specific attribute;
#X text 203 731 \$1 : Attribute type ( massesPos / massesSpeeds / massesForces
/ linksPos );
#X text 203 768 \$2 : Id (symbol or creations numbers);
#X msg 31 146 link \$1 \$2 \$3 \$4 \$5 \$6;
#X msg 30 253 deleteMass \$1;
#X text 195 255 Delete a mass and associated links;
#X text 285 272 \$1 : Creation No of mass;
#X msg 29 289 deleteLink \$1;
#X text 194 291 Delete a link;
#X text 295 291 \$1 : Creation No of link;
#X msg 98 788 infosL;
#X text 201 788 Get infos on all masses and links on outlet No 2;
#X text 302 588 \$1 : Value;
#X msg 135 515 forceY \$1 \$2;
#X msg 123 457 posY \$1 \$2;
#X msg 39 568 Xmin \$1 \, Xmax \$1 \, Ymin \$1 \, Ymax \$1;
#X text 302 571 Set minimimum and maximum of masses positions;
#X msg 34 69 mass \$1 \$2 \$3 \$4 \$5 \$6;
#X text 289 126 \$4 \, \$5 \, \$6 : position;
#X msg 123 457 posY \$1 \$2;
#X msg 204 457 posZ \$1 \$2;
#X msg 229 515 forceZ \$1 \$2;
#X obj -12 816 msd3D;
#X msg 39 586 Zmin \$1 \, Zmax \$1;
#X connect 1 0 60 0;
#X connect 15 0 60 0;
#X connect 21 0 60 0;
#X connect 26 0 60 0;
#X connect 29 0 60 0;
#X connect 33 0 60 0;
#X connect 34 0 60 0;
#X connect 37 0 60 0;
#X connect 41 0 60 0;
#X connect 42 0 60 0;
#X connect 45 0 60 0;
#X connect 48 0 60 0;
#X connect 53 0 60 0;
#X connect 55 0 60 0;
|