aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pmpd-help.pd19
-rw-r--r--pmpd2d-help.pd13
-rw-r--r--pmpd3d-help.pd14
3 files changed, 36 insertions, 10 deletions
diff --git a/pmpd-help.pd b/pmpd-help.pd
index 1fbf0f3..d0357a3 100644
--- a/pmpd-help.pd
+++ b/pmpd-help.pd
@@ -197,7 +197,7 @@ on outlet No 1;
#X msg 616 171 linksLengthXT \$1 (\$2);
#X msg 616 278 linksPosSpeedXT \$1 (\$2);
#X restore 12 519 pd links_attributes ___;
-#N canvas 888 196 1230 682 attributes__________ 0;
+#N canvas 61 22 1230 682 attributes__________ 1;
#X obj 11 95 cnv 15 100 35 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 5 75 cnv 15 590 15 empty empty empty 20 12 0 14 -158509 -66577
@@ -294,8 +294,16 @@ name \, \$2 (optional): Masses Id);
#X text 339 645 [massesPosName mas x2(;
#X text 337 581 [massesPosId 1 x1(;
#X text 337 596 [massesPosId 2 x2(;
+#X obj 607 572 cnv 15 150 95 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X obj 601 552 cnv 15 590 15 empty empty empty 20 12 0 14 -158509 -66577
+0;
+#X msg 612 600 closestMass \$1;
+#X text 767 600 output the closest mass;
+#X text 766 614 \$1 : position;
+#X text 604 552 others :;
#X restore 12 499 pd attributes__________;
-#N canvas 841 74 1139 731 dynamic 0;
+#N canvas 141 69 1139 731 dynamic 0;
#X obj 5 3 cnv 15 550 15 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 10 85 cnv 15 130 580 empty empty empty 20 12 0 14 -233017 -66577
@@ -370,11 +378,10 @@ internal parameters of links and masses.;
#X text 184 548 \$1 : Id (symbol) or No;
#X text 184 566 \$2 : Value;
#X text 181 531 add pos of a mass(es);
-#X msg 26 593 grabMass \$1 \$2 \$3;
#X text 183 592 grab a mass \, and move it;
-#X text 185 614 \$1 : mass number;
-#X text 185 630 \$2 : position;
-#X text 185 646 \$3 : grab or not (0 or 1);
+#X text 185 610 \$1 : position;
+#X text 185 626 \$2 : grab or not (0 or 1);
+#X msg 26 593 grabMass \$1 \$2;
#X restore 12 478 pd dynamic settings ___;
#N canvas 818 245 561 671 creation____________ 0;
#X obj 11 95 cnv 15 100 35 empty empty empty 20 12 0 14 -233017 -66577
diff --git a/pmpd2d-help.pd b/pmpd2d-help.pd
index 5d9a945..5723965 100644
--- a/pmpd2d-help.pd
+++ b/pmpd2d-help.pd
@@ -19,7 +19,7 @@
0;
#X obj 5 655 cnv 15 550 30 empty empty empty 20 12 0 14 -233017 -66577
0;
-#N canvas -1204 4 901 640 More_Info 0;
+#N canvas 0 22 901 640 More_Info 0;
#X text 96 12 pmpd : mass - spring - damper model;
#X text 27 155 Be careful : if masses are deleted \, lists messages
won't work;
@@ -588,7 +588,7 @@ following a vector.;
#X text 497 351 Table links :;
#X connect 29 0 31 0;
#X restore 12 457 pd creation____________;
-#N canvas 360 56 1236 814 attributes__________ 0;
+#N canvas 0 22 1224 756 attributes__________ 0;
#X obj 11 95 cnv 15 100 35 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 5 75 cnv 15 590 15 empty empty empty 20 12 0 14 -158509 -66577
@@ -729,6 +729,15 @@ a table (\$1);
a table;
#X text 804 322 Output all norm of forces vector (sqrt(x*x+y*y)) in
a table;
+#X obj 620 817 cnv 15 150 95 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X obj 614 797 cnv 15 590 15 empty empty empty 20 12 0 14 -158509 -66577
+0;
+#X text 780 845 output the closest mass;
+#X text 617 797 others :;
+#X msg 625 845 closestMass \$1 \$2;
+#X text 779 859 \$1 : x -position;
+#X text 779 874 \$2 : y -position;
#X restore 12 499 pd attributes__________;
#N canvas 100 72 1078 872 dynamic 0;
#X obj 5 3 cnv 15 550 15 empty empty empty 20 12 0 14 -233017 -66577
diff --git a/pmpd3d-help.pd b/pmpd3d-help.pd
index a6ccfdf..bd69f04 100644
--- a/pmpd3d-help.pd
+++ b/pmpd3d-help.pd
@@ -337,7 +337,7 @@ used this argument as the value applayed to all masses (or link);
#X text 179 824 Change environement damping offset;
#X restore 12 478 pd dynamic settings ___;
#X text 188 478 To set the model parameters after creation.;
-#N canvas 30 26 1241 841 masses_attributes 0;
+#N canvas 0 22 1224 756 masses_attributes 0;
#X obj 11 115 cnv 15 100 35 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 5 95 cnv 15 590 15 empty empty empty 20 12 0 14 -158509 -66577
@@ -488,8 +488,18 @@ z0(;
#X text 15 30 The attributes messages ask the object to output some
of his internal parameters. They can be output by lists for positions
and forces of masses \, or directly send value to a table.;
+#X obj 621 827 cnv 15 150 95 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X obj 615 807 cnv 15 590 15 empty empty empty 20 12 0 14 -158509 -66577
+0;
+#X text 781 855 output the closest mass;
+#X text 618 807 others :;
+#X text 780 869 \$1 : x -position;
+#X text 780 884 \$2 : y -position;
+#X msg 626 855 closestMass \$1 \$2 \$3;
+#X text 780 899 \$3 : z -position;
#X restore 12 499 pd masses_attributes __;
-#N canvas 446 66 1236 814 links_attributes 0;
+#N canvas 44 22 1236 814 links_attributes 0;
#X obj 5 3 cnv 15 590 15 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 10 108 cnv 15 150 110 empty empty empty 20 12 0 14 -233017 -66577