File: pmcube_3d.pd

package info (click to toggle)
pd-puremapping 20160130-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 812 kB
  • sloc: makefile: 234
file content (56 lines) | stat: -rw-r--r-- 1,677 bytes parent folder | download | duplicates (2)
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
#N canvas 880 335 871 573 10;
#X obj 49 58 inlet;
#X obj 79 291 loadbang;
#X obj 40 524 outlet;
#X obj 79 317 pack \$1 \$2;
#X obj 436 59 inlet;
#X msg 436 106 setK lnk \$1;
#X obj 529 60 inlet;
#X msg 529 106 setD lnk \$1;
#X msg 267 296 bang \, get massesPos out \, get massesForces out;
#X obj 149 525 outlet;
#X obj 40 472 route massesPosId massesForcesId;
#X obj 159 286 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X msg 202 257 forceX out \$1 \, forceY out \$2 \, forceZ out \$3;
#X msg 80 343 reset \, mass border 0 1 -1 -1 -1 \, mass border 0 1
-1 -1 1 \, mass border 0 1 -1 1 -1 \, mass border 0 1 -1 1 1 \, mass
border 0 1 1 -1 -1 \, mass border 0 1 1 -1 1 \, mass border 0 1 1 1
-1 \, mass border 0 1 1 1 1 \, mass out 1 1 0 0 0 \, link lnk border
out \$1 \$2 \, mass grab 0 1 0 0 0 \, link lgrab out grab 0 0;
#X msg 56 151 posX grab \$1;
#X msg 170 231 setK lgrab \$1;
#X msg 95 175 posY grab \$1;
#X obj 56 94 route grab grab_on force bang;
#X obj 56 127 unpack f f f;
#X msg 136 198 posZ grab \$1;
#X obj 40 450 pmpd3d;
#X obj 40 496 route 8;
#X obj 149 497 route 8;
#X connect 0 0 17 0;
#X connect 1 0 3 0;
#X connect 3 0 13 0;
#X connect 4 0 5 0;
#X connect 5 0 20 0;
#X connect 6 0 7 0;
#X connect 7 0 20 0;
#X connect 8 0 20 0;
#X connect 10 0 21 0;
#X connect 10 1 22 0;
#X connect 11 0 3 0;
#X connect 12 0 20 0;
#X connect 13 0 20 0;
#X connect 14 0 20 0;
#X connect 15 0 20 0;
#X connect 16 0 20 0;
#X connect 17 0 18 0;
#X connect 17 1 15 0;
#X connect 17 2 12 0;
#X connect 17 3 8 0;
#X connect 18 0 14 0;
#X connect 18 1 16 0;
#X connect 18 2 19 0;
#X connect 19 0 20 0;
#X connect 20 0 10 0;
#X connect 21 0 2 0;
#X connect 22 0 9 0;